Commit Graph

1388 Commits

Author SHA1 Message Date
Dessalines
0d4679a37b Making websocket create community do register rate limit. 2020-04-20 14:55:37 -04:00
asonix
05b961a90a Remove unused methods 2020-04-20 13:09:10 -05:00
asonix
d11af012fc post -> register 2020-04-20 13:05:07 -05:00
asonix
d058db95e5 Use get_ip in ratelimit middleware 2020-04-20 13:02:25 -05:00
asonix
4df2031ae0 Give ratelimit fields explicit names 2020-04-20 12:51:42 -05:00
asonix
904ebf34a5 Guard CreateCommunity, represent impossible error with Infallible 2020-04-20 12:31:22 -05:00
asonix
db4454b52b Add websockets into the api scope 2020-04-20 10:25:47 -05:00
asonix
217efdd706 Allow rustfmt on api config 2020-04-19 23:47:20 -05:00
asonix
4712ae4eb0 appease clippy 2020-04-19 23:43:30 -05:00
asonix
ac43b86b60 Change RateLimit to act as a middleware 2020-04-19 22:59:07 -05:00
Dessalines
f300c67a4d Adding websocket notification system.
- HTTP and APUB clients can now send live updating messages to websocket
  clients
- Rate limiting now affects both HTTP and websockets
- Rate limiting / Websocket logic is now moved into the API Perform
  functions.
- TODO This broke getting current online users, but that will have to
  wait for the perform trait to be made async.
- Fixes #446
2020-04-19 18:08:25 -04:00
Dessalines
be6a7876b4 Version v0.6.50 2020-04-14 19:38:20 -04:00
Dessalines
a32935fbe6 Merge remote-tracking branch 'weblate/master' 2020-04-14 19:38:18 -04:00
Dessalines
641e4c5d96 Merge branch 'admin_settings' into dev 2020-04-14 15:45:49 -04:00
Dessalines
16005a0c05 Updating front end packages. 2020-04-14 12:34:52 -04:00
Dessalines
6d5518cbd4 Merge branch 'dev' into admin_settings 2020-04-14 10:54:04 -04:00
Dessalines
b9aef5891f Fixing test deploy. 2020-04-14 10:07:40 -04:00
Kitaiti Makoto
abbce23b18 Translated using Weblate (Japanese)
Currently translated at 85.6% (203 of 237 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/ja/
2020-04-14 00:53:45 +00:00
Sylvia Ji
6bbd238d25 Translated using Weblate (Chinese (Simplified))
Currently translated at 69.1% (164 of 237 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/zh_Hans/
2020-04-14 00:53:45 +00:00
Dessalines
567a9aa131 Adding another sponsor. 2020-04-13 12:42:16 -04:00
Dessalines
8192f69584 Version v0.6.49 2020-04-12 14:57:37 -04:00
Dessalines
676690097f Use twemoji style for emoji picker. 2020-04-12 14:55:52 -04:00
Dessalines
a26bff6921 Version v0.6.48 2020-04-12 14:08:02 -04:00
Dessalines
0b8369be23 Updating federation docker volumes ignores. 2020-04-12 14:07:22 -04:00
Dessalines
5afaab7083 Merge remote-tracking branch 'weblate/master' 2020-04-12 13:09:03 -04:00
Dessalines
aa5db37bda Add open collective (#637)
* Add Emoji Picker for comments and post body.

- Fixes #634

* Make sure typing dropdown uses twemojis.

* Adding opencollective links. Fixes #636
2020-04-12 12:54:49 -04:00
Dessalines
fd76c5d9ec Merge branch 'emoji_picker' 2020-04-12 12:51:30 -04:00
Dessalines
d6d040f5da Add Emoji squashed commit. 2020-04-12 12:47:48 -04:00
Dessalines
2096bacd34 Make sure typing dropdown uses twemojis. 2020-04-12 11:45:44 -04:00
Dessalines
e9535cd01d Add Emoji Picker for comments and post body.
- Fixes #634
2020-04-11 23:22:46 -04:00
Dessalines
c92201a674 Removing redundant to_owned 2020-04-11 14:10:33 -04:00
Dessalines
61815bce2e Adding live reloading of config.hjson changes through UI.
- https://stackoverflow.com/questions/61159698/update-re-initialize-a-var-defined-in-lazy-static/61161271#61161271
- https://stackoverflow.com/questions/29654927/how-do-i-assign-a-string-to-a-mutable-static-variable/47181804#47181804
2020-04-11 14:06:04 -04:00
Dessalines
bb287cbd07 Adding an admin settings page.
- Fixes #620
- Adding a UserListing component. Fixes #627
2020-04-10 16:55:57 -04:00
nick t
450a53d552 Translated using Weblate (Georgian)
Currently translated at 84.3% (200 of 237 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/ka/
2020-04-10 14:40:20 +00:00
Nika Tskhakaia
7edfccee49 Translated using Weblate (Georgian)
Currently translated at 67.5% (160 of 237 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/ka/

Translated using Weblate (Georgian)

Currently translated at 62.8% (149 of 237 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/ka/
2020-04-10 14:40:20 +00:00
Dessalines
ed264aba3c Updating code url references to https://github.com/LemmyNet/lemmy 2020-04-09 16:11:11 -04:00
Dessalines
221e35ec38 Try to fix post creation bug. 2020-04-05 10:11:16 -04:00
Dessalines
cb49a7e790 Version v0.6.45 2020-04-03 14:44:30 -04:00
Dessalines
6e5729c660 Fixing deploy script. 2020-04-03 14:44:10 -04:00
Dessalines
522299ea9e Adding docs for DB Backup / Restore. Fixes #619 2020-04-03 14:37:44 -04:00
Dessalines
0ca385deaf Adding a text body preview and icon for posts with a body. Fixes #617 2020-04-03 13:46:25 -04:00
dessalines
a497a568db Translated using Weblate (French)
Currently translated at 94.0% (223 of 237 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/fr/

Translated using Weblate (Spanish)

Currently translated at 100.0% (237 of 237 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/es/
2020-04-03 14:14:05 +00:00
Nika Tskhakaia
d1cda51e80 Translated using Weblate (Georgian)
Currently translated at 29.9% (71 of 237 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/ka/
2020-04-03 14:14:05 +00:00
Dessalines
9ea104b165 Merge remote-tracking branch 'weblate/master' 2020-04-01 13:29:08 -04:00
Dessalines
1e0f5cfcea Add georgian language for weblate. 2020-04-01 13:22:44 -04:00
Dessalines
ef564b0a93 Merge branch 'dev' 2020-04-01 12:18:21 -04:00
Dessalines
0b467cfeed Browser notification as plain markdown. Fixes #618 2020-04-01 11:31:24 -04:00
olivia maia
0f8be8d6db Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (237 of 237 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/pt_BR/
2020-04-01 13:15:16 +00:00
Adam Adamsky
d7b730d8e0 Translated using Weblate (Polish)
Currently translated at 100.0% (237 of 237 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/pl/
2020-04-01 13:15:15 +00:00
dessalines
fb21f9c22f Merge pull request 'Improve installation docs' (#29) from nutomic/lemmy:improve-docs into master 2020-03-31 21:18:28 +00:00