Commit Graph

40 Commits

Author SHA1 Message Date
rubic0n
a623252c59 Convert to boolean in C code
casecmp?(str) is 1.5x faster than casecmp(str).zero?
It's 1 less method call in Ruby, and the C code can convert
to boolean, rather than returning a number and determining
if it's zero.
2021-02-17 23:25:10 -06:00
Fosco Marotto
8d3d7efe34 Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop 2021-02-16 16:04:25 -05:00
Fosco Marotto
88d8bd2816 Merge remote-tracking branch 'origin/load_rails_6_0_defaults' into develop 2021-02-16 15:10:01 -05:00
admin
5d9750fa25 forgot to push these changes 2021-02-16 13:35:19 -05:00
rubic0n
6221581cf0 Create script to generate dummy data, for perf investigation 2021-02-13 23:20:43 -06:00
rubic0n
2b9144d50c Fix "NameError: uninitialized constant Exceptions"
Zeitwerk operates on files in the autoload paths. Since the
entire "app" directory is autoloaded, all files inside need to
play by Zeitwerk's rules. Zeitwerk expects that a file named
"exceptions.rb" would define a constant named "Exceptions".

The exceptions file doesn't follow Zeitwerk's conventions.
The easiest way to solve this is to move the execptions out of
app/lib and into lib, where `require_relative` doesn't have
Zeitwerk taken into account.
2021-01-31 17:39:13 -06:00
admin
87138932a0 Merge branch 'gab_provision' of https://code.gab.com/gab/social/gab-social into develop 2021-01-27 16:16:48 -05:00
admin
132c46ac9a Session and user caching 2021-01-26 23:33:22 +00:00
rubic0n
4f4f248fa1 postgresql_makara adapter is Postgres, not MySQL 2021-01-22 22:53:38 -06:00
Fosco Marotto
e44e83a857 Redis fixes 2021-01-16 14:46:48 -05:00
admin
da98d61c2c Update feeds_cli.rb redis 2021-01-16 18:42:03 +00:00
admin
2e8b7125d9 Update force_regenerate_feeds.rake 2021-01-16 18:39:31 +00:00
mgabdev
409bb05adb Added update_account_stats function to accounts_cli
• Added:
- update_account_stats function to accounts_cli
2021-01-13 13:27:00 -05:00
mgabdev
8d092d427f Updated accounts_cli
• Updated:
- accounts_cli
2021-01-10 17:46:57 -05:00
mgabdev
ca8337b937 Updated accounts_cli
• Updated:
- accounts_cli
2021-01-10 17:17:20 -05:00
Fosco Marotto
f873a1f925 Revert "[sidekiq] disable bootstraptimelineworker"
This reverts commit 50f010652e9573bbf48d2cbef36d1d9fc8072191.
2021-01-09 18:23:49 -05:00
Fosco Marotto
50f010652e [sidekiq] disable bootstraptimelineworker 2021-01-09 18:21:41 -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
532bac229a Updated domains_cli deleteallremote command
• Updated:
- domains_cli deleteallremote command
2020-12-10 15:44:55 -05:00
mgabdev
20d4fc09af Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into feature/removing_ruby_junk 2020-11-25 16:43:09 -06:00
mgabdev
a9387c5167 Updated domains cli remoteallremote command batching
• Updated:
- domains cli remoteallremote command batching
2020-11-25 16:26:53 -06:00
mgabdev
8a041c1e2c Updated domains cli remoteallremote command logging
• Updated:
- domains cli remoteallremote command logging
2020-11-25 16:19:26 -06:00
mgabdev
61402a29a2 Updated domains cli remoteallremote command
• Updated:
- domains cli remoteallremote command
2020-11-25 16:14:23 -06:00
mgabdev
99e5711c8b Added new cli commands in emoji, domains for removing remote content
• Added:
- new cli commands in emoji, domains for removing remote content
2020-11-25 16:03:29 -06:00
mgabdev
b4e370d3d3 Commiting 2020-11-25 15:22:37 -06:00
mgabdev
fb612f60c8 Commiting 2020-11-15 12:48:32 -06:00
mgabdev
faf1295348 update emoji path 2020-05-12 13:05:17 -04:00
mgabdev
8e349c368c Progress 2020-05-01 01:50:27 -04:00
admin
92e53953ce Update gif_transcoder.rb 2020-01-16 22:57:34 +00:00
Rob Colbert
90ad01d133 gabctl accounts delete|suspend separated
`gabctl accounts suspend` does not remove user (can be undone).
`gabctl accounts delete` does remove user (cannot be undone).
2019-07-23 19:38:15 -04:00
2458773093
bf2d54201b group member count optimization 2019-07-22 03:46:00 +03:00
robcolbert
864195980e generates RSA key pairs for migrated accounts 2019-07-04 16:25:06 -04:00
robcolbert
b8a2baf9ac convert all emails to lowercase 2019-07-04 02:21:52 -04:00
robcolbert
1ec2327652 move 2019-07-03 20:20:14 -04:00
robcolbert
fc7b11d388 rake task to patch in media attachments from Gab.com 2019-07-03 20:10:55 -04:00
robcolbert
1ffa173c45 task to re-generate Home feed for every user 2019-07-03 19:35:22 -04:00
robcolbert
757e543279 remove logging 2019-07-03 19:31:10 -04:00
robcolbert
1f0cd07aa5 rake task to update user stats/counts 2019-07-03 19:27:50 -04:00
robcolbert
1ef1a3881d change all GitHub links to Gab's GitLab at code.gab.com 2019-07-03 13:26:13 -04:00
robcolbert
bd0b5afc92 Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00