Commit Graph

64 Commits

Author SHA1 Message Date
Kay Faraday 6b5b03156d Revert "Remove unused Rake tasks"
This reverts commit ff9d130135.
2024-08-14 15:39:14 -07:00
Andreas Nedbal f6e26f1751 Remove superfluous rubocop:disable comments 2023-10-15 10:42:58 +02:00
Georg Gadinger 9a5ce13cfd re-add removed remove_stale rake task 2023-01-27 16:16:34 +01:00
Karina Kwiatek f81ec0ba91 Ignore block length on `justask` namespace 2023-01-02 11:44:11 +01:00
Karina Kwiatek ff9d130135 Remove unused Rake tasks 2023-01-02 11:44:11 +01:00
Karina Kwiatek 756ce39eea Clean up Rakefile 2023-01-02 11:33:30 +01:00
Andreas Nedbal a8c61023ee Remove Guard and Brakeman 2022-10-31 22:45:45 +01:00
Georg Gadinger 4f1260bc04 remove fix_* tasks as we ensured we won't need them anymore a long time ago 2022-07-09 12:55:40 +02:00
Karina Kwiatek 31e9d7ac80 Remove unneeded Rake tasks 2022-07-09 12:55:40 +02:00
Karina Kwiatek d20e07ee19 Remove relationship counters in `users` table 2022-01-23 16:48:53 +01:00
Georg Gadinger 60a8e3ac7d create timestamp function + sequences on test schema loads too
This fixes a strange issue when running RSpec with changed migrations.

Basically: `ActiveRecord::Migration.maintain_test_schema!` drops the
database and wants to apply the schema from the `schema.rb` again, but
that fails at creating the `answers` table since it can't find the
postgres function `gen_timestamp_id`.

Internally it just calls `bin/rails db:test:load_schema`, so I just
hook it in the same way I do it for `db:schema:load` (used by
`db:setup` ...)
2022-01-11 23:29:30 +01:00
Karina Kwiatek 00d9688299 Add Rake task for removing stale users 2022-01-07 21:31:01 +01:00
Karina Kwiatek ae83353b21 Update ban logic in Rakefile 2022-01-02 19:50:44 +01:00
Georg Gadinger cc753c0882 Rakefile: add mute_rules to timestamped ids 2022-01-02 16:56:54 +01:00
Georg Gadinger efec568d43 Use timestamp-based IDs
This change introduces timestamp-based (Snowflake/Cornflake/Waspflake)
identifier.
2020-07-04 20:46:50 +02:00
Karina Kwiatek f3081a936c Remove export task 2020-04-25 22:24:23 +01:00
Karina Kwiatek f42cc6aed9 Remove all other references to removed roles 2020-04-25 21:20:02 +01:00
Karina Kwiatek 9d933c933e Remove unused (removed) roles from Your Data / Export 2020-04-25 21:14:26 +01:00
Georg Gadinger 946bb3ae9d Use Rolify for admin and moderator roles 2020-04-19 22:35:58 +02:00
Yuki c834b7d4dd Brakeman + Guard 2015-09-01 19:00:05 +05:30
Yuki 71caf3cce5 Several changes to theming, solving a bunch of bugs 2015-08-27 05:30:26 +05:30
Georg G bff9088bfa string != symbol always evaluates to true 2015-05-09 17:01:19 +02:00
Georg G 0ee324c8f5 fixed SyntaxError# 2015-05-09 16:55:56 +02:00
Yuki 20ebb6dbad rake command to migrate to AWS 2015-05-09 19:48:34 +05:30
Georg G. 9b39491d88 Merge pull request #18 from skiprope/temp-bans
Support for ban reasons and ban times.
2015-05-05 16:54:23 +02:00
Yuki 5b3b3684c9 Update justask:fix_reports 2015-04-30 05:21:01 +05:30
Yuki f09725a45f :answer -> :comment 2015-04-28 17:28:14 +05:30
Yuki 0574f8252b Extra butter 2015-04-28 14:23:06 +05:30
Yuki 19732378a2 Holy shit I'm stupid 2015-04-28 14:20:56 +05:30
Yuki 1233e108e4 Further fix retrospring/bugs#41 2015-04-28 14:16:02 +05:30
Yuki 5764c36b32 DateTime.now -> DateTime.current 2015-04-23 06:48:17 +05:30
Yuki 99965adb7b Let's not be silly. 2015-04-23 06:29:20 +05:30
Yuki be04d3528c Support for ban reasons and ban times. Fixes Retrospring/bugs#26 and Retrospring/bugs#25 2015-04-23 06:26:29 +05:30
Georg G 066b3607f9 fixed NameError 2015-04-21 14:32:53 +02:00
Georg G 1495f67cb1 fixed typos 2015-04-21 14:30:05 +02:00
Yuki ecffd07344 Support for post subscriptions 2015-04-21 06:42:11 +05:30
Georg G e671990a36 added contributor rake task 2015-04-19 22:24:48 +02:00
nilsding 242bc96556 update Rakefile 2015-03-27 18:06:30 +01:00
nilsding 4035ae4c7f added export rake task 2015-03-27 16:51:04 +01:00
nilsding 0d639fd6ec added blogger badge 2015-01-25 20:30:09 +01:00
nilsding 1bb369aa7d implemented basic functionality of YE OLDE BANHAMMER! 2015-01-12 22:44:13 +01:00
nilsding d97763eda0 Revert "Le Funny Emoji Meme Face x--DD"
This reverts commit 5118ba9761.
2015-01-08 22:34:50 +01:00
nilsding 5118ba9761 Le Funny Emoji Meme Face x--DD 2015-01-08 22:28:56 +01:00
Andreas N 8ff2be24f2 fixed rake task wording 2015-01-04 23:09:30 +01:00
Andreas N f358b36b3b added supporter task to rakefile 2015-01-03 00:25:33 +01:00
nilsding 90fe42e643 Merge remote-tracking branch 'origin/master' into moderation
Conflicts:
	app/models/user.rb
2014-12-28 19:29:01 +01:00
nilsding 5a5338baa0 added some moar things to purge/attempt to fix! 2014-12-28 13:06:15 +01:00
nilsding f5feab59e0 as 2014-12-28 00:02:01 +01:00
nilsding 02cb318142 8) 2014-12-27 03:49:54 +01:00
nilsding 9e918fa3dc added moderator to users 2014-12-26 13:34:01 +01:00