Commit Graph

143 Commits (7fe4558beebdf839c10cd543120023a836cc74c6)

Author SHA1 Message Date
Felix Ableitner 250dcc26be For community_name API parameters, only search locally (fixes #1271) 4 years ago
eiknat a68cff51b1 add doc 4 years ago
Dessalines 76193d37da Merge remote-tracking branch 'yerba/main' into main 4 years ago
nutomic b7d2dac9bf Fix federation of community removal/deletion, added docs (#125)
Adding a federation test for community deletes / removes.

Add missing docs for community deletion/removal (fixes #1250)

Fix federation of community deletion/removal (fixes #1253)

Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/125
4 years ago
Felix Ableitner 45dced3fcb Change domain of yerbamate.dev to yerbamate.ml 4 years ago
Dessalines 0ea4095238 Changing docs formattin, running format. 4 years ago
Kenneth Koski 09498d8bb3
Update configuration documentation 4 years ago
Dessalines 1fd5486def Fixing missing community doc. 4 years ago
Jonathan de Jong d3b07c8131
Update about_features.md
...in accordance with the readme.
4 years ago
Felix Ableitner 9e24eda752 In comment create/update, include parent creator in cc (ref #698) 4 years ago
Dessalines 6337762ec7
Adding image endpoints to docs. Fixes #1226 (#1232) 4 years ago
Iron Oxidizer ac79496036 Removed docker root prefix, add pictrs dir 4 years ago
Felix Ableitner 06a6bab2c1 Swap name and preferredUsername apub fields 4 years ago
Dessalines 24484ed801
Adding references to lemmy types from docs. (#1203)
* Adding references to lemmy types from docs.

* Updating TOC.

* Updating docs.
4 years ago
Felix Ableitner 39cbe5f31f Add method verify_activity_domains_valid() (ref #1196) 4 years ago
Nutomic 56d361eeff
Update activitypub outline (#1183)
* Update activitypub outline

* Various adjustments of apub outline
4 years ago
Dessalines f00cfa005e Adding submodule update --remote 4 years ago
Nutomic 9dc6294065
Explain how federation works for admins, various doc updates (#1176) 4 years ago
Nutomic dc18ec533e
Merge pull request #1174 from LemmyNet/add_community_name_search
Adding optional community_name field to search. Fixes #1057
4 years ago
Nutomic 07ddeef568
Merge pull request #1170 from LemmyNet/improve_admin_docs
Improving administration page docs. Fixes #1160
4 years ago
Dessalines c348e788e4 Adding optional community_name field to search. Fixes #1057 4 years ago
Dessalines 9b69c446e2 Remove kubernetes. #842 4 years ago
Dessalines 4d0365bca3 Replace gitlab with codeberg. Fixes #1171 4 years ago
Dessalines 990987b174 Improving administration page docs. Fixes #1160 4 years ago
Nutomic e596ea6e3a
Add documentation for federation overview (fixes #774) (#1165) 4 years ago
Dessalines 4de80dc29d Merge remote-tracking branch 'yerba/main' into main 4 years ago
nutomic e8ea0664ef Fix nginx config for local federation setup (#104)
Fix depends_on

Add note about different port for backend in federation docs

Fix nginx config for local federation setup

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/104
4 years ago
Dessalines 698fb20c12
Fixing ansible install. (#1150)
* Fixing ansible install.

* Fixing LEMMY_EXTERNAL_HOST docs.
4 years ago
Felix Ableitner 12af0f462f Update federation docs 4 years ago
Dessalines 5c6258390c
Isomorphic docker (#1124)
* Adding a way to GetComments for a community given its name only.

* Adding getcomments to api docs.

* A first pass at locally working isomorphic integration.

* Testing out cargo-husky.

* Testing a fail hook.

* Revert "Testing a fail hook."

This reverts commit 0941cf1736.

* Moving server to top level, now that UI is gone.

* Running cargo fmt using old way.

* Adding nginx, fixing up docker-compose files, fixing docs.

* Trying to re-add API tests.

* Fixing prod dockerfile.

* Redoing nightly fmt

* Trying to fix private message api test.

* Adding CommunityJoin, PostJoin instead of joins from GetComments, etc.

- Fixes #1122

* Fixing fmt.

* Fixing up docs.

* Removing translations.

* Adding apps / clients to readme.

* Fixing main image.

* Using new lemmy-isomorphic-ui with better javascript disabled.

* Try to fix image uploads in federation test

* Revert "Try to fix image uploads in federation test"

This reverts commit a2ddf2a90b.

* Fix post url federation

* Adding some more tests, some still broken.

* Don't need gitattributes anymore.

* Update local federation test setup

* Fixing tests.

* Fixing travis build.

* Fixing travis build, again.

* Changing lemmy-isomorphic-ui to lemmy-ui

* Error in travis build again.

Co-authored-by: Felix Ableitner <me@nutomic.com>
4 years ago
Marcin Wojnarowski c239b9af83
Api docs corrections (#1131)
* corrected endpoint names/methods

* small typo fix
4 years ago
Felix Ableitner 147972273a Simplify docker federation setup 4 years ago
Dessalines c323ab5275
Added option to remove banned user data (posts, comments, communities) (#1093)
- Works for both a site-ban, and a community ban.
- Fixes #557
4 years ago
Felix Ableitner 0cc49e6ca9 Merge branch 'main' into federation-authorisation 4 years ago
Felix Ableitner 313f315896 Various adjustments after review 4 years ago
Dessalines 464ea862b1
Preferred usernames, banners and icons. (#1055)
* Re-organizing federation tests. #746 #1040

* Adding federation support for user bios. Fixes #992

* Adding icons, banners, and preferred usernames.

- Added optional community icons, and community banners.
- Added user banners.
- Added Site icon and banner, with custom favicon.
- Set up preferred usernames. Fixes #1017
- Added an additional post sort: Active
  - Hot rank now uses the published time.
  - Active uses the most recent comment time, and is default.
- DB Migration was required to add all these fields to the views.
- Added transfercommunity helper function.
- Removed title column from communities page.
- Abstracted an image-upload-form.tsx, and a banner-icon-header.tsx
- Fixes #899

* Some navbar fixes.

* Fixing css

* Some fixes.

- Showing correct user icon and banner after save without page reload.
- Abstracting diesel update overwrite.
- Adding some docs.

* Adding @ when a user doesn't have a preferred username.
4 years ago
Dessalines 7938e8f5c8 Some front end fixes. 4 years ago
Dessalines e31f74c3ad
Add domain name change instructions to docs. (#1044)
* Add domain name change instructions to docs.

* Changing docker execs to docker-compose execs
4 years ago
Dessalines 49bd28e2d4
Adding visual captchas for register and login. (#1027)
* Adding visual captchas for register and login.

* Adding audio wav file for Captcha using espeak.

* Lots of captcha fixes.

- Removed login captchas.
- Added settings to disable captchas, and change difficulty.
- Captchas can only be checked / used once, front end gives a new one on
  failure.
- Added front end button for regenerating captcha.
- Added a disabled / pause button audio playing.

* Some more fixes.
4 years ago
Dessalines d1342afe93
Remove extra jwt claims (for user settings) (#1025)
* Remove extra jwt claims (for user settings)

- The JWT token only contains the issuer, and your user id now.
- Now only a page refresh is necessary to pick up your settings on all
  clients, including theme, language, etc.
- GetSiteResponse now gives you your user and settings if logged in.
- Fixes #773

* Remove extra comment line, I tested nsfw

* Adding a todo to add a User_::readSafe()
4 years ago
Dessalines 01cc8654e2
Fixing config_file env to use defaults instead (since its required). (#970)
* Fixing config_file env to use defaults instead (since its required). Fixes #764

* Changing the read / write to the custom config file one

* Adding a config note.
4 years ago
Dessalines 59da2976ab Some more API cleanup.
- Extracted methods for is_mod_or_admin, and is_admin.
- Removed admins from GetPostResponse and GetCommunityResponse.
- Some cleanup.
4 years ago
Dessalines b6a6d52a92 Merge branch 'main' into api_edit_separation 4 years ago
Dessalines 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.
4 years ago
Dessalines 4b6a762a56 Added an is_mod_or_admin function to Community 4 years ago
Dessalines 55ce7b1339
Adding version to GetSite. Fixes #1001 (#1002)
* Adding version to GetSite. Fixes #1001

* Removing version.ts file
4 years ago
Dessalines 2eac037408 Adding post delete, remove, lock, and sticky. 4 years ago
Dessalines fd96dfdb5e Added comment delete, remove, read. 4 years ago
Coma Grayce cd0f1a8eb2
Ooops. 4 years ago
Coma Grayce 6fbfb69ee4
Add sub and sup Markdown tags. 4 years ago