68 Commits

Author SHA1 Message Date
rexy712
8e9be41dd9 Add atomic_shared.hpp for possible future use 2019-12-21 08:36:20 -08:00
rexy712
3041895a97 More appropriately separate client and session. Also simplifies some of the session implementation 2019-12-21 08:35:52 -08:00
rexy712
0051760884 string file work 2019-12-21 06:44:23 -08:00
rexy712
913a9f6430 Redid fat_strings.cpp to be harder to mess up the json formatting 2019-12-08 11:08:19 -08:00
rexy712
7f4ffbf2ed Overhaul string_cat_expr -> string_intermediary conversion. No longer need to convert fat_strings.cpp to c style string allocation 2019-12-08 08:10:33 -08:00
rexy712
3c0c9b89be Fixed string expression ctor 2019-10-29 03:09:06 -07:00
rexy712
2f17fe1c1a Fix infinite recursion 2019-10-28 13:06:23 -07:00
rexy712
89741e3575 Fix gcc 9 warnings 2019-10-28 12:59:48 -07:00
rexy712
145a77c3a6 Fix some issues with rvalue refs in string expressions 2019-10-28 12:40:44 -07:00
rexy712
61743f00d1 Start work on centralizing strings 2019-10-27 12:54:52 -07:00
rexy712
76df53d003 Add forget to roomcxn 2019-10-27 09:02:09 -07:00
rexy712
dfff8fca0a Add password changing functionality 2019-10-22 15:16:02 -07:00
rexy712
e7c1dd010d Changed matrix::client, matrix::session, and matrix::syncer member functions to return netreturn values 2019-10-21 16:31:02 -07:00
rexy712
c2f4380aee Added netreturn class template for error handling of networked functions. Implemented invite, ban, unban, and kick 2019-10-19 08:55:05 -07:00
rexy712
bb6c39a109 Add ability to set/get presence 2019-10-18 14:13:28 -07:00
rexy712
fa75e8f0d7 Add ability to download files from the homeserver 2019-10-17 15:18:03 -07:00
rexy712
fc1885f9fe Fix clang build errors and warnings 2019-10-02 08:46:58 -07:00
rexy712
262dca00ef Renamed uploaded file structs 2019-09-18 18:10:27 -07:00
rexy712
60b380f14e Implemented raii::binary to a usable level and polished the raii::string family a bit better. 2019-09-18 14:29:57 -07:00
rexy712
57ed5d979f Added basic layout of raii::binary 2019-09-17 17:29:50 -07:00
rexy712
c1b387d3e7 Reworked file uploads to include server-generated thumbnails 2019-09-15 13:13:30 -07:00
rexy712
46d3652fa3 Build working with mingw. Removed ffmpeg and freeimage since homeservers can now generate thumbnails for us. 2019-09-13 19:14:15 -07:00
rexy712
eb567f86c1 Updated license disclaimer. 2019-09-02 12:03:48 -07:00
rexy712
47c2c590d3 Add ability to query previous messages from matrix::roomcxn 2019-09-02 11:31:45 -07:00
rexy712
cc0206ce2c Builds shared library now. 2019-09-01 20:14:02 -07:00
rexy712
577af3c040 Changed syncing to return a sync::response object to make for easier parsing with a to-be-standard api 2019-09-01 18:47:45 -07:00
rexy712
6feadbcdf8 ... Fixed it 2019-07-29 15:15:09 -07:00
rexy712
788600a883 Moved local getters to base class, making them accessible from all the subclasses 2019-07-28 12:08:37 -07:00
rexy712
e72658e5b9 Added a bit of API documentation 2019-07-28 09:54:49 -07:00
rexy712
5bd108c8fb added upgrade function to room 2019-07-27 12:34:31 -07:00
rexy712
28019763da Room member listing (needs cleanup) 2019-07-27 12:10:33 -07:00
rexy712
e7bdcf2540 Add url regeneration to roomcxn 2019-07-27 10:10:32 -07:00
rexy712
ae5d41df7a Added manual control to matrix::session. raii is recommended, but manual login is a good backup if it fails 2019-07-19 12:19:34 -07:00
rexy712
572c9c1f69 Changed mat_url_list to client_url_list 2019-07-19 11:47:44 -07:00
rexy712
06dfcec82c Separated room level functionality into its own class 2019-07-18 17:21:26 -07:00
rexy712
3bf609af18 Access to http codes added 2019-07-18 12:39:25 -07:00
rexy712
6634f30c28 Changed api to allow user to create clients and syncers at will. 2019-07-17 16:56:07 -07:00
rexy712
2f8bb781a1 Removed frontend stuff from backend 2019-07-17 15:08:20 -07:00
rexy712
ce5788d8a2 Auto init libav (for older ffmpeg versions) 2019-07-16 15:14:26 -07:00
Rexy712
b49175884a Updated license notices and moved matrix.hpp to where it belongs 2019-07-16 14:50:16 -07:00
Rexy712
7816c54230 Restructured the matrix codebase and fixed a few segfault issues in the raii strings 2019-07-16 14:14:45 -07:00
Rexy712
02a43ba1b9 added raw callback, cleanup up other callbacks a bit 2019-07-15 11:20:25 -07:00
Rexy712
74c8948139 Changed name to client and changed test program to not include reddit 2019-07-15 10:02:24 -07:00
Rexy712
0f56d2cbfa Fixed access token issue 2019-05-30 16:32:15 -07:00
rexy712
0e7a92eb94 added membership event handling 2019-04-06 06:50:17 -07:00
rexy712
da028e03fd message deletion, getters for displayname and profile picture 2019-03-30 19:30:01 -07:00
rexy712
8808608ffd typing events 2019-03-30 10:09:46 -07:00
rexy712
5e1408be50 added some to-be-implemented functionality urls 2019-03-30 08:34:33 -07:00
rexy712
58c01bb182 added message age to message handling and changed invite rejection 2019-03-30 04:25:40 -07:00
rexy712
ed2af27652 Better organized matrix urls 2019-03-29 17:23:29 -07:00