1
0
mirror of https://github.com/dani/patrix.git synced 2024-06-26 17:43:30 +02:00
Commit Graph

35 Commits

Author SHA1 Message Date
Daniel Berteaud
e86c3e98d3 Support sending several files 2017-09-13 17:37:50 +02:00
Daniel Berteaud
340efc0a0a Handle file path using ~ 2017-09-13 17:02:54 +02:00
Daniel Berteaud
7ee62e253d Handle relative file path 2017-09-13 16:56:21 +02:00
Daniel Berteaud
ffac9f3632 Add aliases for actions
--foo is now equivalent of --action=foo
2017-09-13 15:17:29 +02:00
Daniel Berteaud
565208b6cd Fix get-access-token and logout logic 2017-09-11 11:16:50 +02:00
Daniel Berteaud
ae9c8a7f12 Don't invalidate the access_token when requesting one 2017-09-11 10:47:52 +02:00
Daniel Berteaud
1adadbeb6c Add possibility to delete room aliases 2017-09-10 16:59:32 +02:00
Daniel Berteaud
f0a49c9dc4 Fix debug statement 2017-09-10 16:43:57 +02:00
Daniel Berteaud
0a7b73403f Handle power levels configuration in room-modify 2017-09-10 16:39:00 +02:00
Daniel Berteaud
7676ec7510 Add a room alias to id resolver 2017-09-10 11:26:26 +02:00
Daniel Berteaud
6562df7ebc Add comment 2017-09-10 10:41:26 +02:00
Daniel Berteaud
f5892003ff Prompt for the password if not given as arg, nor in the conf file 2017-09-10 10:32:53 +02:00
Daniel Berteaud
bd94a96e1e Add some debug statements in modify_room 2017-09-10 10:19:05 +02:00
Daniel Berteaud
4785d79710 Support changing join_rules 2017-09-10 10:14:23 +02:00
Daniel Berteaud
7a6899489e Don't die if we try to invite a user which has already been invited 2017-09-10 10:02:26 +02:00
Daniel Berteaud
a6b917b34f Make the send_request method more flexible
And use it everywhere
2017-09-10 09:51:25 +02:00
Daniel Berteaud
37f50043eb Code cleanup 2017-09-10 09:38:17 +02:00
Daniel Berteaud
87710c5290 Factorize common json request handling 2017-09-09 17:37:01 +02:00
Daniel Berteaud
4632749605 Move debug to its own function 2017-09-09 17:09:48 +02:00
Daniel Berteaud
299fd790fe Remove preset and visibility options 2017-09-09 16:42:46 +02:00
Daniel Berteaud
0e6001877c Add modify-room action 2017-09-09 16:42:11 +02:00
Daniel Berteaud
fb73e16732 Add --federation (and --no-federation) option when creating a room 2017-09-09 11:16:44 +02:00
Daniel Berteaud
a7c82d2cc2 Add visibility and preset options for create-room 2017-09-07 18:13:38 +02:00
Daniel Berteaud
fe719366ec Spacing issue 2017-09-07 17:56:31 +02:00
Daniel Berteaud
d5aa598638 Just output the room ID when creating a room 2017-09-07 17:56:09 +02:00
Daniel Berteaud
dd85f18c18 Add possibility to create a room 2017-09-07 17:54:12 +02:00
Daniel Berteaud
8d7de947f7 Various little fixes 2017-09-07 15:49:38 +02:00
Daniel Berteaud
b361379468 Code cleanup and comments 2017-09-07 13:49:58 +02:00
Daniel Berteaud
03a854f576 Fix joining room by alias
And replace --notice with --action=send-notice
2017-09-07 13:25:49 +02:00
Daniel Berteaud
517771707b Call login just once, if needed 2017-09-07 12:50:43 +02:00
Daniel Berteaud
ede4d1822b Add support for sending files 2017-09-07 12:46:40 +02:00
Daniel Berteaud
982ef36330 Correctly handle logout when using login&password 2017-09-06 18:04:23 +02:00
Daniel Berteaud
612af1e89a Add get-room-list action 2017-09-06 16:20:45 +02:00
Daniel Berteaud
642cc97e81 Remove Data::Dumper as it's not used 2017-09-06 15:34:42 +02:00
Daniel Berteaud
675cd11a68 First commit 2017-09-06 15:32:06 +02:00