Commit Graph

9 Commits

Author SHA1 Message Date
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
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
fb612f60c8 Commiting 2020-11-15 12:48:32 -06: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