Commit Graph

65 Commits

Author SHA1 Message Date
Developer
2a8ca2cd56 Added new spam_flag to Accounts, replacing is_flagged_as_spam
• Added:
- new spam_flag to Accounts, replacing is_flagged_as_spam
- null/0: no spam, 1: spam, 2: safe from spam

• Updated:
- Comment, Status to reflect changes

• Todo:
- Fully remove is_flagged_as_spam
- Update SortingQueryBuilder
2021-02-18 23:46:53 -05:00
Developer
00e6d799e8 Fixed AddIsFlaggedAsSpamToAccounts migration down removal value 2021-02-18 23:21:09 +00:00
admin
5d9750fa25 forgot to push these changes 2021-02-16 13:35:19 -05:00
admin
e942d3d97c removed rsa keypair from account table, it was a federation relic 2021-02-15 21:49:50 -05:00
Free Speech Forever
473c48b2aa Replace Makara with an initial Rails 6 role based splitting method. 2021-02-09 19:38:10 +00:00
rubic0n
28beb28a78 Upgrade to Rails 6
- Added listen gem because rails app:update failed without it
- Removes nsa gem because it requires activesupport < 6
  Oddly, there's a newer version per GitHub that's not on RubyGems
  that raises the requirement to < 7. But, we need a new release
  before we can use that.
- Upgrade rails-i18n to v6, for Rails 6 compatibility
- Remove redis-rails since it requires Rails < 6, but we can just use
  the regular Rails :redis_cache_store that was introduced in 5.2.
- Run `rails app:update`
  - Had to weed through the `config/environments` changes to pick up
    newly added settings, while not losing settings that were
    intentionally configured
  - This generated config/initializers/new_framework_defaults_6_0.rb.
    The goal is to uncomment all of the settings in that file. Once
    they're all uncommented, delete the file and edit
    config/application.rb's load_defaults to be 6.0.
  - force_ssl controller method is deprecated in favor of a Rails
    config setting.
  - bin/setup was generated by Rails
  - Verbose query logging in development is really helpful. It shows
    you what line of code caused a query to execute.
  - Calling establish_connection after worker boot isn't necessary
    with ActiveRecord anymore. ActiveRecord handles it gracefully.
  - Rails generated a migration to add a foreign key for ActiveStorage.
    Gab currently doesn't use ActiveStorage, and instead uses Paperclip
    (since ActiveStorage didn't exist when Mastadon started). So, this
    change isn't relevant to Gab.
- Added ` || ''` in the profiles controller, because I was unable
  to save a change to a newly created profile. (This probably
  explains the 500 error I received on prod Gab recently.)
2021-01-23 09:01:31 -06:00
rubic0n
590dfc97e1 Run pending migrations 2021-01-22 22:53:38 -06:00
Fosco Marotto
775439f194 [index] Add index on polls id and lock_version 2021-01-17 21:26:56 -05:00
Fosco Marotto
bde7172ba4 [index] Add 2 indexes on accounts table 2021-01-17 12:51:15 -05:00
Fosco Marotto
e29925e534 [index] index on users.remember_token 2021-01-17 11:13:39 -05:00
Fosco Marotto
c1213f4137 [index] add index on reports.action_taken 2021-01-08 12:36:49 -05:00
mgabdev
2fcc99cccf merge resolving 2021-01-05 11:35:23 -05:00
Fosco Marotto
7a58d0fa58 [index] Add index on status_stats.created_at 2021-01-03 15:02:40 -05:00
Fosco Marotto
ecb5c6554c [index] add index on status_revisions.status_id 2021-01-02 23:12:32 -05:00
admin
fb0b654e11 Update 20201203213108_add_unread_count_to_chat_conversation_accounts_not_null.rb 2020-12-22 20:07:30 +00:00
mgabdev
6fbea0a59e Progress on little important things
removing .mov for now until we can figure out solution with videojs, added model to track username changes, got chat creation flow down, progress on bookmark collections, albums, filtering blocks/mutes from group, explore, collection timelines
2020-12-22 01:36:38 -05:00
mgabdev
2bbb5be505 Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into feature/removing_ruby_junk 2020-12-21 18:38:35 -05:00
mgabdev
47cd60f851 Progress
added composer query string functionality for url, text. fixed issue with no user in base_controller, cleaned up video component, albums starting
2020-12-17 23:46:37 -05:00
mgabdev
5a37a7090e Progress
accounts approved, video player testing, bookmark collections
2020-12-17 01:34:00 -05:00
mgabdev
8f94ffad9c Progress 2020-12-16 02:39:07 -05:00
mgabdev
75d52c841e Progress 2020-12-15 19:31:30 -05:00
Fosco Marotto
f0d4e89279 [migration] make this index creation conditional 2020-12-12 16:46:53 -08:00
mgabdev
586935f07f Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into feature/removing_ruby_junk 2020-12-09 00:00:35 -05:00
mgabdev
c18991f174 Added LinkBlock functionality in admin
• Added:
- LinkBlock functionality in admin
2020-12-08 23:19:10 -05:00
mgabdev
137a36b810 Progress with DMs
Progress with DMs
2020-12-03 17:13:11 -05:00
mgabdev
9a43c51085 Progress on dms, code cleanup
Progress on dms, code cleanup
2020-12-02 23:22:51 -05:00
mgabdev
fb612f60c8 Commiting 2020-11-15 12:48:32 -06:00
mgabdev
6e17b7c17b Updated GroupCategory functionality with Groups
• Updated:
- GroupCategory functionality with Groups
2020-09-10 17:12:43 -05:00
mgabdev
cc224d7659 Added password field to Group model
• Added:
- password field to Group model
2020-09-02 17:56:16 -05:00
mgabdev
4a8cd0b585 Updates to groups sorting
• Updates to groups sorting
2020-08-08 13:08:48 -05:00
mgabdev
421ca77587 Added new migrations
• Added:
- new migrations
2020-08-06 23:19:34 -05:00
mgabdev
0c2b6fb112 Added migration for CreateGroupPinnedStatuses
• Added:
- migration for CreateGroupPinnedStatuses
2020-08-06 00:24:12 -05:00
mgabdev
bc54a281e6 Added migration for adding has_quote to statuses
• Added:
- migration for adding has_quote to statuses
2020-08-05 23:15:38 -05:00
mgabdev
f3ff407ba0 Added migration for adding slug, is_private, is_visible, tags, category to group
• Added:
- migration for adding slug, is_private, is_visible, tags, category to group
2020-08-05 23:01:37 -05:00
mgabdev
da62ddbbc8 Added migrations for CreatingGroupCategories
• Added:
- migrations for CreatingGroupCategories
2020-08-05 23:01:15 -05:00
mgabdev
09489ec03e Removed add_index from AddExpiresAtToStatus
• Removed:
- add_index from AddExpiresAtToStatus
2020-07-24 21:44:37 -05:00
mgabdev
86c1b3c75d Added expires_at to Status
• Added:
- expires_at key to Status
2020-07-24 18:49:00 -05:00
mgabdev
13af58da7a Added bookmarks
• Added:
- bookmarks for GabPRO members only
- migration for creation of StatusBookmarks
- all necessary routes, controllers
- redux for adding, removing, fetching and displaying bookmarks
- bookmark icon
- doorkeeper scopes
- backend and frontend support

Bookmarks behave like likes/favorites, except they aren't shared with other users and do not have an associated counter.

dfea7368c9
2020-07-24 18:48:31 -05:00
mgabdev
405ace09da Added migration for creating Shortcuts
• Added:
- migration for creating Shortcuts
2020-07-21 22:17:20 -05:00
mgabdev
504c08ecf7 Updated db/schema.rb
• Updated:
- db/schema.rb
2020-07-14 00:21:20 -05:00
admin
5b22f7eda7 Update db/migrate/20200710130615_add_pro_users_feed_materialized_view.rb 2020-07-10 13:45:25 +00:00
admin
02c71b8af9 Update 20200710130615_add_pro_users_feed_materialized_view.rb 2020-07-10 13:38:10 +00:00
admin1
d5293c2e1d added pro_users_feed_matview 2020-07-10 09:33:13 -04:00
mgabdev
5c36a30b69 Added new migrations for adding indexes
• Added:
- new migrations for adding indexes
2020-07-07 17:25:47 -05:00
mgabdev
42644a136b fix conflict 2020-05-12 21:46:04 -04:00
mgabdev
bb0182c1e1 pull 2020-05-11 23:34:18 -04:00
mgabdev
055b5a430f progress 2020-05-03 01:22:49 -04:00
mgabdev
dbe5461df2 Non-follows allowed in lists 2020-04-30 12:34:13 -04:00
mgabdev
fed036be08 Progress 2020-04-22 01:00:11 -04:00
Alex Gleason
4052329ca4
Add unique_email field 2020-03-10 17:44:32 -05:00