Commit graph

71 commits

Author SHA1 Message Date
db86c9cefe Adding user and comment_view migrations. (comment_view still broken) 2020-07-06 21:00:17 -04:00
25a924b729 Adding community_agg_view and post_agg_views Credit: eiknat. 2020-07-06 11:24:10 -04:00
6cb66dc941 Some more DB optimizings
- Changing the fast_id pkeys to just ids on the fast tables.
- Removing the private_message_fast, since the view contains no aggregates.
- Comment and post voting now no longer pull from the views, they update the counts directly.
2020-07-06 10:10:11 -04:00
768328ae83 Removing some unecessary indexes. 2020-07-05 14:08:15 -04:00
a8aeee58e5 Some more DB additions.
- Adding a hot_rank desc, published desc index to post_aggregates_fast.
- Removed WITH CTE queries in favor of direct selects (since CTEs cant
  use indexes)
2020-07-05 13:45:28 -04:00
377f76a018 Fixing the comment delete trigger 2020-07-05 00:18:18 -04:00
5a88a6ecdc Fixing accidental addadmin bug from asonix async merge. 2020-07-04 23:38:45 -04:00
2eaafae892 DB Rework working, still need more testing. 2020-07-04 22:51:05 -04:00
eae1b96155 Before merging master to test out bans. 2020-07-04 19:14:29 -04:00
9c30c65c07 One pass at materialized views, only about 30% faster, not good. 2020-07-04 13:20:06 -04:00
80bca8610e Revert "Remove mat views, no fast tables or caching added yet."
This reverts commit 97e088dcbf.
2020-06-29 21:00:28 -04:00
97e088dcbf Remove mat views, no fast tables or caching added yet. 2020-06-29 20:02:38 -04:00
86dc50f9f0 Some fixes to federation.
- Advanced code migrations now disable then re-enable triggers.
  Brings run time down to < 15 seconds, no need to thread them.
- Changing ap_ids and actor_ids in migrations to a fake url,
  so it doesn't break XsdAnyUri in activitystreams.
2020-06-26 21:12:41 -04:00
15f1920b25 Federated private messages. 2020-05-05 22:06:24 -04:00
697c62fb64 Change local unique username constraints. 2020-04-21 09:21:29 -04:00
26ad37a8c0 Updating views to add apub actor_id and local columns. 2020-04-14 15:12:19 -04:00
56947e7710 Removing community name unique constraint. Removing useless fedi_name column from user_table. 2020-04-07 10:54:15 -04:00
85ea1046f0 Adding post and comment ap_id columns. 2020-04-03 20:04:57 -04:00
9197b39ed6 Federation DB Changes.
- Creating an activity table.
- Adding some federation-related columns to the user_ and community
  tables.
- Generating the actor_id and keys in code, updating the tables.
2020-04-03 00:12:05 -04:00
ac280782b2 Iframely and pictshare backend mostly done. 2020-03-07 18:31:13 -05:00
4b0227c45e Change post sorting hot rank to use newest comment time. Fixes #517 2020-02-08 11:16:58 -05:00
ecd10482a6 Add new comments views to main and community pages. Fixes #480 2020-02-07 23:05:15 -05:00
65a6e7731c Increasing post title length limit to 200. Fixes #515 2020-02-06 13:10:43 -05:00
8035976e40 Adding username and email case insensitivity uniqueness. Fixes #341 2020-02-01 20:11:12 -05:00
4778f198e1 Adding a materialized view for reply_view. Fixes #466 2020-01-28 23:53:19 -05:00
253bc3e0af Adding private messaging, and matrix user ids.
- Fixes #244
2020-01-22 16:38:16 -05:00
8f32b84b5a A first pass at using materialized views. 2020-01-13 20:02:02 -05:00
253f4aa6a1 Back to just indexes. 2020-01-11 17:30:44 -05:00
5f31900375 Trying some DB indexes. 2020-01-10 23:09:38 -05:00
5b42dc3393 Adding show_avatar user setting, and option to send notifications to inbox.
- Fixes #254
- Fixes #394
2020-01-02 16:55:54 -05:00
f5a13717ea Adding change password and email address from user settings.
- Fixes #384
- Fixes #385
2020-01-01 15:46:14 -05:00
a4428528e3 Adding user avatars / icons. Requires pictshare.
- Fixes #188
2019-12-29 15:39:48 -05:00
fca8e6a0a9 Adding some site oriented settings.
- Adding option to close registration. Fixes #350
- Adding option to disable showing NSFW buttons. Fixes #364
- Adding option to disable downvotes. Fixes #239
2019-12-11 12:21:47 -08:00
f0808a1116 Adding custom language setting.
- Fixes #319
2019-12-09 00:24:53 -08:00
9f35b33dc7 Halfway done with email, not fully working yet. 2019-10-29 20:35:39 -07:00
90ce1f1a3f Adding default sort / filter into user settings.
- Fixes #295
2019-10-20 21:21:54 -07:00
02dd9ac32a Adding username mentions / tagging from comments.
- Fixes #293
2019-10-19 17:46:29 -07:00
c0821fcaa5 Adding 8 different themes.
- Fixes #276
2019-10-15 12:21:27 -07:00
3f6b2be2cc Adding stickied posts.
- Fixes #245
2019-09-08 23:14:13 -07:00
565fc0abdb Adding ability to do mod action on post creator
- Fixes #248
- Show banned on user comment and user overview. Fixes #264
2019-09-05 17:18:48 -07:00
b50ae1dafc Showing community count on main sidebar
- Fixes #232
2019-08-28 21:28:06 -07:00
d7ab85ab70 Squashed commit of the following:
commit ecd6c5a2f4
Author: Dessalines <happydooby@gmail.com>
Date:   Tue Aug 13 19:49:38 2019 -0700

    Adding some docs

commit 3babd09aff
Author: Dessalines <happydooby@gmail.com>
Date:   Tue Aug 13 19:28:46 2019 -0700

    Adding save user settings

commit 6e8da9cc9e
Merge: 3246d5d c148eef
Author: Dessalines <happydooby@gmail.com>
Date:   Tue Aug 13 17:26:25 2019 -0700

    Merge branch 'dev' into nsfw

commit b3d4a5c4ce
Author: Dessalines <happydooby@gmail.com>
Date:   Sun Aug 11 20:55:09 2019 -0700

    nsfw mostly done, except for settings page.
2019-08-13 19:52:43 -07:00
8c85f0cb62 Removing the placeholder admin user.
- Fixes #165
2019-06-01 15:32:06 -07:00
2e487214ff Reworking some UI. Adding proper trending communities with hot rank.
- Breaking out subscribed and all into radios. Fixes #142
2019-05-01 22:26:31 -07:00
f57004d7fa Adding proper deletes for Post, Community, and Comments.
- Fixes #132
- Fixes #108
2019-04-29 12:14:54 -07:00
016920aeb7 Community moderation fixes.
- Don't show banned communities on main post list. Fixes #95
- Add back in community moderation and editing. Fixes #92
2019-04-21 13:52:55 -07:00
93957c781e Fixing ranking algorithm. 2019-04-21 10:15:40 -07:00
a05f53dae9 Adding negative score fix
- Fixes #84.
- Fixing unit tests.
2019-04-20 16:47:23 -07:00
682413613e Mostly working, before merge 2019-04-20 11:17:00 -07:00
9afadfb9c4 Saving replies, the actual fixes will be in the merge to dev. 2019-04-19 21:06:25 -07:00