Commit Graph

29 Commits

Author SHA1 Message Date
Fosco Marotto
7a2594e105 Add writing role for some moderation classes, update verification method. 2021-02-11 18:34:04 -05:00
Fosco Marotto
4bb2f1b745 Verification requests should use the writing role 2021-02-11 01:18:36 -05: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
mgabdev
7bc93ff98f Removed all occurances of "theme" from backend, settings
• Removed:
- all occurances of "theme" from backend, settings

Theme is set in WebSettings through client. And set in <Display />.
2021-01-15 14:35:50 -05:00
Fosco Marotto
0269c7e107 [cache] Update cache control header 2021-01-14 17:22:41 -05:00
mgabdev
8aeae9c45d Updated routes for admins dashboard
• Updated:
- routes for admins dashboard (expenses, group categories, promotions, trending hashtags) that were in the /settings path but are now in the /admin path
- /filters to be in /settings/filters

• Removed:
- authorize_follow route
2021-01-13 18:06:45 -05:00
Fosco Marotto
46ca48b1a8 [cache] Change the base cache control to private 2021-01-12 16:42:58 -05:00
Fosco Marotto
22ec66d07f [fixes] Based on APM findings 2021-01-11 23:56:42 -05:00
mgabdev
06de0c88f3 Progress 2020-12-22 12:49:40 -05: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
ee91809e8d Progress
Albums almost done, group, chat moderation, photo, video page updates
2020-12-21 13:25:05 -05:00
mgabdev
75d52c841e Progress 2020-12-15 19:31:30 -05:00
mgabdev
2f798ca1bd Added toggle option for Application superapp in admin settings
• Added:
- toggle option for Application superapp in admin settings
2020-12-04 12:28:32 -05:00
mgabdev
fb612f60c8 Commiting 2020-11-15 12:48:32 -06:00
mgabdev
acc956777e Updated applications, development admin settings to be staff only
• Updated:
- applications, development admin settings to be staff only
2020-10-28 23:09:53 -05:00
mgabdev
7dd1e0cd0b Added group_categories creation page in admin panel
• Added:
- group_categories creation page in admin panel
2020-08-05 23:03:14 -05:00
mgabdev
985e1458d5 Removed unused/old/pre-refactor settings
•Removed:
- unused/old/pre-refactor settings
2020-06-07 14:01:54 -04:00
mgabdev
50dad82aae Pulled
6e9e8d89fa
2020-04-30 12:33:41 -04:00
mgabdev
e485e2f955 Progress 2020-04-03 19:18:26 -04:00
mgabdev
0532890c0e Removed featured tags
We don't use
2020-03-27 18:05:16 -04:00
mgabdev
05d4c921a8 Added expenses to sidebar in app 2020-01-21 16:07:58 -05:00
mgabdev
67821442da Added settings page for deleting scheduled statuses 2019-09-18 20:33:03 -04:00
2458773093
d853beebb7 admin for promotions 2019-09-04 01:29:46 +03:00
2458773093
3214ad5d50 regeneration and database feed generation updates for group posts in feeds 2019-08-20 02:54:26 +03:00
2458773093
c832fb6cbc New option to notificaion preferences for emails from gab.com for announcements and other information 2019-08-01 01:16:22 +03:00
2458773093
ff03e6a55f home feed group toggle 2019-07-22 04:50:09 +03:00
robcolbert
d4bc274d11 add check to make sure a change is submitted for display name 2019-07-08 06:16:14 -04:00
mgabdev
4354c6ec99 Removed ability to change display name if account is verified
if account is verified, display name input in settings is not visible
if attempting to change the display name by other means, an error is return and you are redirected
2019-07-04 02:01:50 -04:00
robcolbert
bd0b5afc92 Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00