Commit graph

3761 commits

Author SHA1 Message Date
227f397d5e
Merge pull request #997 from LemmyNet/api_edit_separation
Api edit separation.
2020-07-22 22:33:39 +02:00
59da2976ab Some more API cleanup.
- Extracted methods for is_mod_or_admin, and is_admin.
- Removed admins from GetPostResponse and GetCommunityResponse.
- Some cleanup.
2020-07-22 14:20:08 -04:00
b6a6d52a92 Merge branch 'main' into api_edit_separation 2020-07-22 13:47:52 -04:00
db0d213710 Version v0.7.26 2020-07-22 09:56:15 -04:00
5d0e7663b8 Merge remote-tracking branch 'weblate/main' into main 2020-07-22 09:56:14 -04:00
3f00140f5d Use activitystreams from yerbamate.dev mirror (fixes #1012) 2020-07-22 00:07:09 +02:00
5e5063cbdd Adding some helper functions. 2020-07-21 13:52:57 -04:00
bbcb782b33 Remove proxy_cache from nginx config 2020-07-21 18:10:53 +02:00
f81a7ad9ab Adding form_id to comment creates and edits.
- This adds a form_id to CreateComment, EditComment, and CommentResponse
- This is so any front end clients can add a randomly generated string,
  and know which comment they submitted, is the one they're getting
  back.
- This gets rid of all the weird complicated logic in handleFinished(),
  and should stop the comment forms getting cleared once and for all.
2020-07-21 10:56:41 -04:00
4b6a762a56 Added an is_mod_or_admin function to Community 2020-07-21 10:15:17 -04:00
Dessalines
55ce7b1339
Adding version to GetSite. Fixes #1001 (#1002)
* Adding version to GetSite. Fixes #1001

* Removing version.ts file
2020-07-21 13:20:23 +00:00
Ady Nemo
cac4abbe1b Translated using Weblate (French)
Currently translated at 99.6% (254 of 255 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/fr/
2020-07-21 10:51:22 +00:00
Ruan Bahia
44897067ea Translated using Weblate (Portuguese (Brazil))
Currently translated at 98.8% (252 of 255 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/pt_BR/
2020-07-21 10:51:22 +00:00
riccardo
981efde3ff Translated using Weblate (Italian)
Currently translated at 100.0% (255 of 255 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/it/
2020-07-21 10:51:22 +00:00
Filip Bengtsson
30a2a6662f Translated using Weblate (Swedish)
Currently translated at 100.0% (255 of 255 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/sv/
2020-07-21 10:51:22 +00:00
f93f2fe03c Changing location of sub and superscript buttons. 2020-07-20 23:58:58 -04:00
662efbcb68 Merge branch 'main' of https://github.com/commagray/lemmy into commagray-main 2020-07-20 23:51:44 -04:00
2eac037408 Adding post delete, remove, lock, and sticky. 2020-07-20 23:46:36 -04:00
fd96dfdb5e Added comment delete, remove, read. 2020-07-20 21:37:44 -04:00
Coma Grayce
020cb77613
Add buttons. 2020-07-21 02:40:01 +03:00
Coma Grayce
cbed6547e2
Again, ooops. 2020-07-21 01:19:11 +03:00
Coma Grayce
cd0f1a8eb2
Ooops. 2020-07-21 01:08:59 +03:00
Coma Grayce
6fbfb69ee4
Add sub and sup Markdown tags. 2020-07-21 01:06:22 +03:00
ca7d2feedb Some GetUserDetails cleanup. 2020-07-20 15:32:15 -04:00
613b462662 Merge branch 'main' into api_edit_separation 2020-07-20 14:41:20 -04:00
ef35971dfb Merge branch 'main' of https://github.com/lemmynet/lemmy into main 2020-07-20 14:41:12 -04:00
9bc6698f58 Added community delete and remove. 2020-07-20 13:37:39 -04:00
d2f015d5d0
Merge pull request #994 from LemmyNet/community_user_actor_id_dupes
Community user actor id dupes
2020-07-20 17:37:46 +02:00
a67f46bec5 EditUserMention changed to MarkUserMentionAsRead. 2020-07-20 10:56:40 -04:00
jcfrancisco
1a421e96d7
📝 Add macOS-specific instructions for local development. (#996)
* 📝 Add macOS-specific instructions for local development.

* 📝 Remove extra 'git' package installation instruction
2020-07-20 10:03:15 -04:00
52810aa626 Merge branch 'main' of https://github.com/lemmynet/lemmy into main 2020-07-20 10:02:58 -04:00
0a28ffb9c4 Private message delete and read extracted. 2020-07-20 00:29:44 -04:00
dca38d10eb Merge branch 'community_user_actor_id_dupes' into api_edit_separation 2020-07-19 17:03:27 -04:00
8940ce7dbb Merge remote-tracking branch 'weblate/main' into main 2020-07-19 16:43:21 -04:00
2ff7acf207 Moving dupe checking to before new actor_id generation. 2020-07-19 13:32:50 -04:00
87202b4915 Fixing duplicate actor_id for community and user. Fixes #957 2020-07-19 13:12:42 -04:00
b03a2d7995 Ran cargo fmt. 2020-07-19 12:26:23 -04:00
f0a223f337 Choices.destroy isnt working properly. 2020-07-18 19:36:45 -04:00
Filip Bengtsson
d23a596c3d Translated using Weblate (Swedish)
Currently translated at 100.0% (255 of 255 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/sv/
2020-07-18 06:16:27 +00:00
3342a6a910 Version v0.7.25 2020-07-17 18:54:34 -04:00
598e23622e Merge remote-tracking branch 'weblate/main' into main 2020-07-17 18:54:33 -04:00
eiknat
03758a4f92
validate post URLs on the backend (#990)
* added serverside url validation

* api.post: use if let instead of is_some

also add "invalid_url" to en.json

Co-authored-by: John Doe <dhas8m@protonmail.com>
2020-07-17 18:46:59 -04:00
nutomic
77a2a5eb01 Update activitystreams library to latest version (#71)
Merge branch 'main' into more-upgrade-apub-3

Update activitystreams library to latest version

Remove remaining usages of old activitystreams library

Migrate community inbox and user inbox

Migrate private message

Migrate post

Migrate community activities

Migrate extensions to new activitystreams library

Co-authored-by: dessalines <dessalines@noreply.yerbamate.dev>
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/71
2020-07-17 21:11:07 +00:00
Filip Bengtsson
845482a623 Translated using Weblate (Swedish)
Currently translated at 100.0% (255 of 255 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/sv/
2020-07-17 20:31:57 +00:00
Ady Nemo
57db25e4a6 Translated using Weblate (French)
Currently translated at 99.2% (253 of 255 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/fr/
2020-07-17 20:31:57 +00:00
Tirifto
8f781c4757 Translated using Weblate (Esperanto)
Currently translated at 100.0% (255 of 255 strings)

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

Translated using Weblate (Esperanto)

Currently translated at 99.6% (254 of 255 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/eo/
2020-07-17 20:31:57 +00:00
09f892a7fa Adding to sponsors list. 2020-07-17 15:27:06 -04:00
Dessalines
3b6b2c274d
Better user page loading indicators. Fixes #986 (#989) 2020-07-17 15:25:59 -04:00
Dessalines
7fdd41697e
Un-expand image when receiving new post. Fixes #979 (#988) 2020-07-17 15:25:52 -04:00
aaa850c6c9 Better user page loading indicators. Fixes #986 2020-07-17 11:48:06 -04:00