114 Commits

Author SHA1 Message Date
rexy712
41b976bd6a Start removing raii components into separate library. Strings, binary, and filerd were first to go 2020-03-02 17:09:38 -08:00
rexy712
22cadb1695 Fix memory leak in raii::binary 2020-02-24 18:37:23 -08:00
rexy712
d2f88d439c Updated to new rjp api 2020-02-24 14:29:46 -08:00
rexy712
098642152e Fix clang warnings 2020-01-18 20:24:14 -08:00
rexy712
341cbc5c6d Add individual event access to roomcxn. Add m.notice helper function for bots 2020-01-18 20:01:49 -08:00
rexy712
cfe4d67bff Add binary reading and by-line reading to filerd 2020-01-18 20:00:32 -08:00
rexy712
8a4cae1ccf Change string management to improve appending performance 2020-01-18 19:59:04 -08:00
rexy712
a73c9940fe Removed unneeded sync_urls files 2020-01-05 08:35:57 -08:00
rexy712
be149a714b Fix clang errors and warnings 2020-01-05 00:17:49 -08:00
rexy712
b4f426b294 Add functionality to get other users' displaynames 2020-01-04 23:48:37 -08:00
rexy712
bb12fcab13 Add room_message_event and allow casting from room_state_event 2020-01-04 11:11:33 -08:00
rexy712
500c0eb6ee Add raw access to json structure from event 2020-01-03 21:24:56 -08:00
rexy712
4f5efa9ba9 Changed event structures to keep persistent handles to resources 2020-01-03 21:20:30 -08:00
rexy712
9cf6905ea3 Simplify url generation internally. Remove matrix::syncer; moved functionality to matrix::client 2020-01-03 15:43:05 -08:00
rexy712
232b669d44 Work on standard strings namespaces 2020-01-02 15:24:38 -08:00
rexy712
711a67d6aa Add namespace doc 2019-12-22 13:30:12 -08:00
rexy712
9b20f8368a Remove accidentally included file 2019-12-22 11:35:26 -08:00
rexy712
1975d740f7 Fix matrix-send build 2019-12-21 19:56:20 -08:00
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
aa06b2d540 Fix segfault in matrix::connection, fix typo in netreturn generation, update matrix-send utility 2019-11-26 13:04:09 -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
cf4485bab9 Update tester program so I don't have to keep remembering to remove my login credentials 2019-10-27 18:03:49 -07:00
rexy712
25bed730e8 Update TODO 2019-10-27 17:33:37 -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
a5ece2e08a Updated TODO 2019-10-19 08:55:27 -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
a729c4d2f3 Update readme and todo 2019-09-18 15:50:56 -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
4abfa99bfe Added stdin function to helper script 2019-09-02 14:39:55 -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