Commit Graph

516 Commits

Author SHA1 Message Date
miruka
e97773dc97 Sort rooms lexically 2019-07-04 18:53:10 -04:00
miruka
07438150db Optimize model upsert, ensure right type for roles 2019-07-04 18:41:08 -04:00
miruka
6b83d79f16 stripRoomName: don't return "" if name is just "#" 2019-07-04 17:11:00 -04:00
miruka
22dfd83d32 Rename avatar/nameHue funcs to avatar/nameColor 2019-07-04 16:56:34 -04:00
miruka
fde7f4aee6 Move models to their own files 2019-07-04 16:01:44 -04:00
miruka
990770dd38 Add dev CONFIG option for qmake file
Enables back all the missing warnings, notably JS syntax errors
2019-07-04 15:12:39 -04:00
miruka
c27480d395 timelines lastEventOf func, clickable subtitle <a> 2019-07-04 14:43:09 -04:00
miruka
63645b73a5 RoomDelegate subtitle, take only 1 arg for getUser 2019-07-04 00:28:13 -04:00
miruka
5fa2892fda Move various functions in QML code to new utils.js 2019-07-03 22:31:29 -04:00
miruka
8ac731149d Sending messages and local echo 2019-07-03 21:20:49 -04:00
miruka
1f73f634e8 Strip leading/trailing \n from html filter output 2019-07-03 18:36:03 -04:00
miruka
441c9d0c1d Have different background for events and messages 2019-07-02 23:48:36 -04:00
miruka
c8347647b9 Fix messages and non-messages getting combined 2019-07-02 23:32:39 -04:00
miruka
f0c5afe8c7 Rename RoomEventList components 2019-07-02 22:29:09 -04:00
miruka
9d5701da19 Add support for non-message room events 2019-07-02 22:24:21 -04:00
miruka
a6653179e5 nio.AsyncClient can now have event callbacks 2019-07-02 15:06:45 -04:00
miruka
5e7ce561b0 Sort accounts and room categories models 2019-07-02 14:13:45 -04:00
miruka
06c823aa67 Build system, messages support and more 2019-07-02 13:59:52 -04:00
miruka
933341b7e6 Implement avatar hue from name 2019-06-28 18:39:00 -04:00
miruka
a1b4d8900f New backend work
Models, account connection, fetching user profiles,
show connected accounts in sidebar
2019-06-28 18:12:45 -04:00
miruka
e5bdf6a497 Rename "system events" to "app events" 2019-06-27 02:36:31 -04:00
miruka
3344debbbf Start rewriting backend with pyotherside+asyncio 2019-06-27 02:31:03 -04:00
miruka
f530f51937 Add slight text shadow for HLabel 2019-05-17 17:47:36 -04:00
miruka
0b85252dd6 Remove "querying user" debug print 2019-05-17 17:18:01 -04:00
miruka
de9140cdb2 Reduce useless setTypingState calls on lost focus 2019-05-17 16:02:26 -04:00
miruka
2e5b846695 Fix RoomSidePane spacing on collapse 2019-05-17 15:46:49 -04:00
miruka
2bb08874d1 Reduce animation durations from 120 to 100ms 2019-05-17 15:46:43 -04:00
miruka
bbaa5ccf3b Animate RoomCategoryDelegate visibility 2019-05-17 15:39:00 -04:00
miruka
82edb4fc29 Fix HListView delegate height bug
Remove the populate transition animation, responsible for the glitch
where items overlap each others
2019-05-17 15:18:46 -04:00
miruka
5ab588f40c Prevent RoomEventDelegate startup position glitch 2019-05-17 14:24:03 -04:00
miruka
19c69b406a Fix room banners height 2019-05-16 15:57:09 -04:00
miruka
532e5a4375 Make RoomCategoryDelegate expand icons smaller 2019-05-16 15:53:17 -04:00
miruka
7f3ced682f Fix RoomHeader title width calculation 2019-05-16 15:50:14 -04:00
miruka
1c24edb166 Fix filter members field after switching room 2019-05-16 15:47:14 -04:00
miruka
5ab13e3e16 Improve SortProxyFilter, room members filtering
- Simplify SortProxyFilter
- Better custom filtering algorithm
- Rename "ascending" (default True) to "reverse" (default False)
- Add "Filter members" field to RoomSidePane MembersView
2019-05-16 15:39:44 -04:00
miruka
41fdd19d2c Fix messages avatar size 2019-05-15 17:01:58 -04:00
miruka
07d0515731 Sort/filter room members based on display name 2019-05-15 16:46:56 -04:00
miruka
226e9b0a85 Add missing attributes to SortFilterProxy __repr__ 2019-05-15 16:03:55 -04:00
miruka
68b6899de1 Add sortedMembers to Room ListItems 2019-05-15 15:59:43 -04:00
miruka
c67e1bfc79 Fix hiding members pane not giving space to chat 2019-05-15 02:25:40 -04:00
miruka
1a4ac0f432 Make Room.members a properly updating ListModel 2019-05-14 20:20:54 -04:00
miruka
606771735a ListModel.updateItem() ignore_roles → no_update 2019-05-14 19:44:40 -04:00
miruka
0b32bf2738 RoomEvent: eventId property, which is now mainKey 2019-05-14 19:39:31 -04:00
miruka
40a19bf570 ListModel: check for duplicate mainKey on insert
Also add updateAll() method
2019-05-14 19:32:52 -04:00
miruka
45c928ea17 Rename ListModel.update() to updateItem() 2019-05-14 19:06:59 -04:00
miruka
2a687f8eee Standardize animation durations 2019-05-14 15:15:10 -04:00
miruka
20f8e83a01 Fix RoomSidePane hide animation being too quick 2019-05-14 15:07:43 -04:00
miruka
a3e080c9a0 Fix local echoed messages having a wrong time 2019-05-14 15:03:12 -04:00
miruka
6af1c0e27c Fix history events overwriting real lastEventDate 2019-05-13 13:20:39 -04:00
miruka
2da7214af1 HListView component with animations 2019-05-13 13:15:03 -04:00