Tom Hughes
e78859aeaf
Merge remote-tracking branch 'upstream/pull/2028'
2019-05-19 17:14:19 +01:00
Tom Hughes
8e258d810c
Add some extra indexes for ACL lookups
2019-05-18 12:57:31 +01:00
Simon Poole
077834704e
Add links to the ToU and include them in signup
...
- this adds links to the ToU in the Welcome box and on the About page
- adds a timestamp column to the users table to record acceptance of the ToU
- require ToU to be accepted before signup can proceed
- rearrange and change text on signup page
2019-05-13 16:52:18 +02:00
Tom Hughes
b606acba0c
Use rails 4.2 defaults for older migrations
2019-04-24 11:14:05 +01:00
Andy Allan
801522c5c3
Set up Delayed Job as the backend for Active Job
...
This persists jobs into the database, and uses locking to ensure that
workers from multiple machines avoid treading on each other.
Jobs can be run by using `bundle exec rake jobs:work`
Fixes #2015
2018-10-31 15:31:32 +01:00
Tom Hughes
de29e9b3f5
Fix Style/NumericPredicate rubocop warnings
2018-09-22 17:34:58 +01:00
Tom Hughes
f227804093
Add some extra indexes on issues
2018-06-10 15:25:53 +01:00
Andy Allan
7dbf8d8336
Merge branch 'master' into moderation
2018-04-11 09:54:04 +08:00
Tom Hughes
1f2ac59d1d
Fix new rubocop warnings
2018-03-26 19:00:03 +01:00
Andy Allan
ee1a8637d3
Convert issue status to an enum
2018-03-21 12:05:08 +08:00
Andy Allan
5310c7000c
Remove cascading deletes, add another foreign key, and switch index around.
2018-03-14 16:15:39 +08:00
Andy Allan
3e5a4a14df
Ensure reports have an issue id and a user id
2018-03-14 15:36:46 +08:00
Tom Hughes
f1e9dcc66a
Add an indexed home_tile column to the user table
2018-03-04 09:59:23 +00:00
Andy Allan
424b6ef1cf
Merge branch 'master' into moderation
2018-02-28 15:46:25 +08:00
Andy Allan
80a241f798
Allow reporting of anonymous notes
2018-02-28 14:26:40 +08:00
Tom Hughes
a83030dab7
Fix new rubocop warnings
2018-01-22 18:55:45 +00:00
Andy Allan
63992d83bd
Store the report category.
2017-12-13 16:02:55 +00:00
Andy Allan
0df788d742
Rename 'issue_type' to 'assigned_role', set defaults in the model and test.
2017-12-06 17:15:11 +00:00
Andy Allan
1956ab5913
Use a simple user_id for tables with one owning user
...
This is the standard way of naming in rails, and it avoids having
to tell rails which models are actually required.
2017-11-29 16:23:13 +00:00
Andy Allan
1d24228a3b
Combine migrations into one
...
This makes it easier to review, rather than having a PR with migrations that
correct each other.
2017-11-29 16:13:32 +00:00
Andy Allan
2dd8f09395
Remove the reassign column from issue_comments
...
Reassigning is an effect of a controller action, not something that
should be stored in the database like this.
2017-11-29 16:05:12 +00:00
Andy Allan
68213e3812
Adjust for rails5 convention on migrations.
2017-11-29 16:03:27 +00:00
Andy Allan
effb1b7f41
Merge branch 'master' into moderation
2017-11-29 12:18:39 +00:00
Tom Hughes
29a780eb1a
Add rails version number to migrations
2017-10-17 18:49:55 +01:00
Tom Hughes
8dae890a76
Fix rubocop warnings
2017-10-05 19:18:38 +01:00
Andy Allan
33c43ab0af
Ensure that issue comments have associated issues and users.
2017-09-13 15:01:36 +01:00
Andy Allan
67a95ac7e9
Remove created_at / updated_at column definitions since these duplicate t.timestamps
2017-09-13 14:57:07 +01:00
Andy Allan
c00c515d9d
Ensure report details are not blank.
2017-09-06 18:17:54 +01:00
Andy Allan
948fd8c8fa
Use reports_count so that counter_cache works automatically.
2017-09-06 17:57:54 +01:00
Andy Allan
dbd88d893f
Merge branch 'master' into moderation
2017-07-12 10:16:11 +01:00
Tom Hughes
5b33f3f8e3
Fix rubocop warnings
2017-06-02 00:08:30 +01:00
Tom Hughes
15934b9b56
Index oauth_tokens and client_applications by user_id
2017-02-22 13:44:57 +00:00
Tom Hughes
c8671c137a
Update rubocop
2017-02-05 11:12:37 +00:00
Tom Hughes
c8f26592a7
Fix rubocop warnings
2016-12-02 22:01:40 +00:00
Mikel Maron
3726d561ea
last minor fixes
2016-10-11 20:42:10 -04:00
Mikel Maron
5cd00ddfd1
rubocop clean up
2016-10-11 15:44:37 -04:00
Mikel Maron
43ef60b6d5
break out author subscriptions to its own migration
2016-10-10 21:18:03 -04:00
Mikel Maron
a32076abd6
fix rubocop warnings
2016-10-07 06:32:05 -04:00
Mikel Maron
3c01d2e80d
more idiomatic models for diary entry subscriptions
2016-10-06 20:31:10 -04:00
Mikel Maron
443080d7b0
WIP diary comment subscriptions
2016-10-03 15:04:22 -04:00
Tom Hughes
d82f9d12ce
Fix new rubocop warnings
2016-09-15 19:21:00 +01:00
Matt Amos
82ac68a26e
Revert changes to old migration.
2016-08-22 18:48:48 +01:00
Matt Amos
757a1aaa85
Made rubocop happy by formatting and minor syntax tweaks.
2016-08-22 17:24:10 +01:00
Matt Amos
5cc0eba3f1
Reordered migrations to make them the latest.
2016-08-22 16:32:54 +01:00
Frederik Ramm
f3519e9781
fix build on wily; fix some moderation branch language constants
2016-08-22 16:19:14 +01:00
Shrey
69c1f6d186
Added sortable headers + search + reportable Notes
2016-08-22 16:18:15 +01:00
Shrey
b68b29b43c
Added support for reporting Changesets + Deleting issues from the CLI
2016-08-22 16:17:54 +01:00
Shrey
f72c34aaf8
Added Issue Type + Issue Reassigning + Last updated_by
2016-08-22 16:17:54 +01:00
Shrey
d5f02968f6
Fixed tests + Altered migration file + Added reporting strings + Added update method
2016-08-22 16:17:54 +01:00
Shrey
faf4c5aa7a
Fixed tests + Added new ones
2016-08-22 16:17:21 +01:00