Dessalines
727fa610d4
Merge pull request #1552 from LemmyNet/feature/1550-optional-config-values
...
Make some of the database config values optional (fixes #1550 )
2021-04-07 13:16:28 -04:00
Felix Ableitner
ccdf117c8f
Make some of the database config values optional ( fixes #1550 )
2021-04-06 14:57:37 +02:00
Dessalines
f33f763278
Moving ChangePassword to its own API action. Fixes #1471
2021-04-01 17:39:01 -04:00
Felix Ableitner
722cdb78ba
Split lemmy_apub crate into two parts apub and apub_receive
2021-03-30 22:29:16 +02:00
Dessalines
4da6e42fc1
Fix websocket location to /api/vX
2021-03-29 17:48:37 -04:00
Dessalines
4c8f2e976e
Merge remote-tracking branch 'yerba/split-api-crate' into test_merge_api_crates_reorg
2021-03-29 16:24:50 -04:00
Felix Ableitner
01fc1228d5
Fix API and clippy warnings
2021-03-29 20:55:08 +02:00
Felix Ableitner
249fcc5066
Split api crate into api_structs and api
2021-03-25 20:19:40 +01:00
Dessalines
c884510173
Creating default DB forms. Fixes #1511
2021-03-20 16:59:07 -04:00
Dessalines
1745b64ceb
Moving matrix_user_id to person table. #1438
2021-03-20 15:21:51 -04:00
Dessalines
9cb4dad4b4
A first pass.
2021-03-10 23:43:11 -05:00
Dessalines
ddf4a667b1
~80% done
2021-03-10 17:33:55 -05:00
Felix Ableitner
7f56281c26
Forbid usage of unwrap
2021-03-01 19:24:34 +01:00
Dessalines
462c4a2954
Rewrite settings implementation. Fixes #1270 ( #1433 )
...
* A first attempt at using deser-hjson. Fixes #1270
* Trying to fix tests, try 1
* Trying to fix tests, try 2
* A few fixes to deser_hjson
- Removing unwrap_or_defaults, using impl functions.
- Reorganized settings
* Make clippy happy
* hjson list strings must be quoted.
* Adding support for env vars.
* Moving to structs and defaults file.
* Moving settings default and struct.
2021-03-01 17:24:11 +00:00
Felix Ableitner
3bdd78f341
Rename lemmy_structs
to lemmy_api_structs
2021-03-01 14:08:41 +01:00
Felix Ableitner
3141ad31de
Remove categories ( fixes #1429 )
2021-02-25 13:22:37 +01:00
Felix Ableitner
999d9f4d6c
Move routes into separate crate to speed up compilation
2021-02-09 19:34:36 +01:00
Dessalines
14465b91b1
Fixing inbox url code migration. Fixes #1414
2021-02-05 12:06:32 -05:00
Dessalines
d5d99fa3b9
Moving docs to join.lemmy.ml . Fixes #1396 ( #1410 )
...
* Moving docs to join.lemmy.ml . Fixes #1396
* Removing submodule fetch from drone.
2021-02-05 12:30:49 +00:00
nutomic
1a4e35eb50
Store activitypub endpoints in database ( #162 )
...
Address review comments
Store Activitypub urls in database (fixes #808 )
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/162
Co-Authored-By: nutomic <nutomic@noreply.yerbamate.ml>
Co-Committed-By: nutomic <nutomic@noreply.yerbamate.ml>
2021-02-04 16:34:58 +00:00
Dessalines
51465bc0d7
Nodeinfo devs think halfyear is one word.
2021-01-29 14:24:10 -05:00
Dessalines
3f23e0e6b9
Adding camelCase to node-info users.
2021-01-29 13:48:59 -05:00
Dessalines
0fd0279543
Adding some recurring lemmy tasks. ( #1386 )
...
* Adding some recurring lemmy tasks.
- Add active users by day, week, month, and half year to site and
community. Fixes #1195
- Periodically re-index the aggregates tables that use hot_rank.
Fixes #1384
- Clear out old activities (> 6 months). Fixes #1133
* Some cleanup, recalculating actives every hour.
2021-01-29 11:38:27 -05:00
Nutomic
3d578f9df2
Use Url type for ap_id fields in database ( fixes #1364 ) ( #1371 )
2021-01-27 11:42:23 -05:00
Dessalines
1de8a4606a
A few API v2 changes based on nutomic's suggestions.
...
- Changed `edit_id` s to their type (comment_id)
- Moved websocket actions to their own file in structs and api.
- Got rid of UserViewDangerous, added UserSafeSettings.
- GetSite now returns UserSafeSettings for `my_user`.
- Got rid of `admin` field in `Register`.
2021-01-18 16:57:31 -05:00
Dessalines
4fdcb57753
Report only local counts in site_view.
...
- Move open_registrations under top level.
- Fixes #1340
2021-01-14 15:22:07 -05:00
Dessalines
1e0c32f7a3
Merge branch 'main' into move_views_to_diesel
2021-01-05 23:55:02 -05:00
Felix Ableitner
95e30f0e08
Split up lemmy_db_views, put lemmy_rate_limit into lemmy_utils
2020-12-22 00:34:54 +01:00
Felix Ableitner
d5efebbf47
Split lemmy_db into lemmy_db_queries, lemmy_db_aggregates and lemmy_db_views
2020-12-21 17:39:11 +01:00
Dessalines
1a0d1f64f0
Merge remote-tracking branch 'origin/split-db-workspace' into move_views_to_diesel_split
2020-12-21 09:28:20 -05:00
Felix Ableitner
5231666465
Move remaining structs from lemmy_db::source to lemmy_db_schema
2020-12-21 14:38:34 +01:00
Felix Ableitner
a7e231b35b
Move community to lemmy_db_schema
2020-12-21 13:28:12 +01:00
Dessalines
929f1d02b5
Fixing integration tests.
2020-12-20 22:27:27 -05:00
Dessalines
5af8257e19
Changing unit tests to api v2.
2020-12-20 16:16:57 -05:00
Felix Ableitner
f842bbff8d
Move user to lemmy_db_schema, create traits for impls
2020-12-18 19:38:32 +01:00
Felix Ableitner
114f3cbfb5
Move comment, post definitions into lemmy_db_schema
2020-12-18 18:27:25 +01:00
Felix Ableitner
089d812dc8
Split lemmy_db into separate workspaces
2020-12-18 17:17:44 +01:00
dessalines
44b72ccbd6
Merge pull request 'Create empty inbox collections for actors (ref #1322 )' ( #151 ) from actor-inbox into main
...
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/151
2020-12-17 14:51:23 +00:00
Felix Ableitner
4bf0ec94c8
Create empty inbox collections for actors (ref #1322 )
2020-12-17 14:22:51 +01:00
Dessalines
57c2f2ef1c
Getting rid of terrible boxedjoin types.
2020-12-16 13:59:43 -05:00
Dessalines
711db4c790
Removing old user_mention_view.
2020-12-16 11:09:21 -05:00
Felix Ableitner
cbd02f2a87
Use correct content-type headers for apub inbox (ref #1220 )
2020-12-16 16:30:44 +01:00
Dessalines
471abf7f29
Removing old comment_view.
2020-12-15 14:39:18 -05:00
Dessalines
f456f5da46
Re-organizing source tables into a different folder.
2020-12-13 12:04:42 -05:00
Dessalines
35bf50ab15
Removing old postview.
2020-12-11 10:27:33 -05:00
Dessalines
2400a078d7
Merge branch 'main' into move_views_to_diesel
2020-12-05 08:10:25 -06:00
Dessalines
b92e7eb781
Updating cargo deps, fixing image if_some deprecation.
2020-12-04 09:00:15 -05:00
Dessalines
ca7224c086
Starting on siteview.
2020-12-02 13:32:47 -06:00
Dessalines
45efa94ba4
Making sure image uploads have jwt cookie. Fixes #1291 ( #1299 )
2020-12-01 17:48:39 +00:00
Dessalines
ac330a3f7b
Adding a local RSS feed. Fixes #1279 ( #1280 )
...
* Adding a local RSS feed. Fixes #1279
* Shorten get_local_feed and get_all_feed functions
* Making the enum params the same.
Co-authored-by: Felix Ableitner <me@nutomic.com>
2020-11-26 17:26:31 +00:00