r888888888
3657cacd17
* post keeper is calculated synchronously
...
* add fallback mechanism in case archive service is not up
* pass along most recently added tags to any keeper calculation
2018-03-08 16:00:44 -08:00
BrokenEagle
d829ab3a00
Move all order logic to models
...
- Have a default order for each model
-- The overall default is ID DESC
- Allow for custom orderings
-- When comma-separated IDs are used
2018-01-29 11:42:53 -08:00
evazion
efeaad25ca
Move lib/danbooru, lib/danbooru_image_resizer to app/logical.
2017-12-18 12:07:52 -06:00
evazion
2a876991da
Accept search[created_at] and search[updated_at] params in all controllers.
2017-12-17 17:37:26 -06:00
evazion
0ca726802f
Fix #3430 : Accept the search[id] param in all controllers.
...
* Allow every controller to take the `search[id]` param.
* Parse the `search[id]` param the same way that the `id:<N>` metatag is
parsed. So `search[id]=1,2,3`, `search[id]=<42`, `search[id]=1..10`, for
example, are all accepted.
2017-12-17 17:36:52 -06:00
Albert Yi
5da62eff8d
Merge branch 'master' into fix-3278
2017-12-13 14:30:08 -08:00
evazion
ec6d553fa6
Move execute_sql / select_value_sql etc to ApplicationRecord.
2017-11-26 13:57:52 -06:00
evazion
45cecff1a6
Move with_timeout / without_timeout to ApplicationRecord.
2017-11-26 13:57:52 -06:00
evazion
5b89f56c2e
Move PostgresExtensions to ApplicationRecord.
2017-11-26 13:57:51 -06:00
evazion
07a4bdcb21
posts: display validation warnings in flash notice.
2017-11-25 17:03:32 -06:00
evazion
1a998cb3fb
Move API methods from initializer to ApplicationRecord.
2017-06-16 13:28:31 -05:00
evazion
c1834ab8dd
Inherit models from ApplicationRecord instead of ActiveRecord::Base.
2017-06-16 13:28:31 -05:00