8052aa37b3
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
2020-07-25 14:53:43 -04:00
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.
2020-07-22 20:17:41 -04: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
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
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
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
613b462662
Merge branch 'main' into api_edit_separation
2020-07-20 14:41:20 -04:00
9bc6698f58
Added community delete and remove.
2020-07-20 13:37:39 -04: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
0a28ffb9c4
Private message delete and read extracted.
2020-07-20 00:29:44 -04:00
Dessalines
78cb306c07
Don't allow community name editing. Fixes #964 ( #973 )
2020-07-15 09:53:52 -04:00
2f5e191b2d
Changing references from master to main. #820
2020-07-14 13:30:36 -04:00
Dessalines
e5d3e3a9c3
Adding a configurable config location through an env var. ( #960 )
...
* Adding a configurable config location through an env var.
- Its `LEMMY_CONFIG_LOCATION`
- Fixes #764
* Using a static for CONFIG_FILE again.
* Make clippy happy
2020-07-13 11:33:48 -04:00
Dessalines
7556f8615f
Adding a community_name option to GetPosts /post/list . Fixes #800 ( #942 )
2020-07-13 09:50:13 -04:00
181374d2cc
Fixing travis, adding a test.sh script.
2020-07-10 14:16:42 -04:00
nutomic
80aef61aed
Split code into cargo workspaces ( #67 )
...
More fixes
- fixed docker builds
- fixed mentions regex test
- fixed DATABASE_URL stuff
- change schema path in diesel.toml
Address review comments
- add jsonb column back into activity table
- remove authors field from cargo.toml
- adjust LEMMY_DATABASE_URL env var usage
- rename all occurences of LEMMY_DATABASE_URL to DATABASE_URL
Decouple utils and db
Split code into cargo workspaces
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/67
2020-07-10 18:15:41 +00:00
aaa536b454
Merge branch 'improve-council-rules'
2020-07-07 14:00:43 +02:00
6122fb9f73
Improve council rules
2020-07-07 13:54:01 +02:00
b9d16d7cd0
Fixing some typos.
2020-07-06 11:39:31 -04:00
Dessalines
8aa9cc11eb
Fixing federation testing docs. Fixes #878 ( #879 )
...
* Fixing federation testing docs. Fixes #878
* Removing extra clone.
2020-07-03 18:17:21 +00:00
be6e95e564
Merge remote-tracking branch 'yerba/master'
2020-06-29 13:24:29 -04:00
997e373bf9
Adding ansible comment line.
2020-06-29 09:55:23 -04:00
c1b3711090
Adding line for council admins.
2020-06-28 19:23:24 -04:00
e517de5480
Merge branch 'master' into federation
2020-06-27 10:54:08 -04:00
bd3051e058
Merge branch 'master' into improve-config
2020-06-27 10:09:16 -04:00
afe3b6b2fc
Add docs for testing ( fixes #841 )
2020-06-27 15:28:45 +02:00
0c89de8065
Fix previous comment, also fix link in docs
2020-06-26 19:16:41 +02:00
fruechtchen
a774e0a2a1
update lemmy council memberlist
2020-06-24 21:03:50 +02:00
dc94e58cbf
Merge branch 'master' into federation_merge_from_master_2
2020-06-23 21:11:38 -04:00
790b944031
Changing to new lemmynet repo location.
2020-06-23 13:47:02 -04:00
84ed1ecdfd
Fixing docker install instructions for pictshare. #831
2020-06-23 09:37:16 -04:00
325ed2ec3b
Rename "instance_whitelist" config option to "allowed_instances"
2020-06-16 12:49:51 +02:00
5a6f39dae4
Various build optimizations
2020-06-12 15:29:50 +02:00
de0fb631df
Improve documentation for local development
2020-06-11 15:04:20 +02:00
0f1a8ec928
Merge branch 'master' into federation
2020-06-09 14:01:26 +02:00
Lorenz Schmidt
a3a55dd195
Indicate unstable API in README and mdbook ( #781 )
2020-06-05 12:03:01 -04:00
7f58ea2725
Updating federation dev branch.
2020-05-24 13:25:29 -04:00
d2e38b1062
Updating docs to setup lemmy.hjson beforehand.
2020-05-15 10:21:37 -04:00
38cdfdf7e0
Changing federated community and user links and searching.
...
- Search: !community@instance, @user@instance
- Representation: community@instance, user@instance
2020-04-30 11:45:12 -04:00
2f47ea2228
Merge branch 'link_images' of https://github.com/nyu-ossd-s20/lemmy into nyu-ossd-s20-link_images
2020-04-27 18:20:58 -04:00
niniack
09d4bf1d7a
swap imgur links for github links
2020-04-27 16:22:56 -04:00
Nishant Aswani
674e221335
added main_screen and chat_screen ( #665 )
2020-04-26 10:01:21 -04:00
Nishant Aswani
d0fa235e84
Updated ranking algorithm graph in docs ( #654 )
...
* Regraphed ranking algorithm demo with seaborn plot
* use imgur mirror for ranking algo image
2020-04-22 15:38:51 -04:00
1e7c3841b2
Update federation dev instructions
2020-04-21 13:24:08 +02:00