Commit Graph

14 Commits

Author SHA1 Message Date
evazion
e8ab5cdc4c Fix pool version ordering.
Pool version IDs aren't in the right order; order by updated_at instead.
2018-02-08 16:53:02 -06: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
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
evazion
c1834ab8dd Inherit models from ApplicationRecord instead of ActiveRecord::Base. 2017-06-16 13:28:31 -05:00
r888888888
4a07848b6d add prefix for sqs message group id 2017-06-13 16:36:39 -07:00
r888888888
efe5e0e95e add message group id for post archives 2017-06-13 16:35:01 -07:00
evazion
02b3622f12 api: allow search[*_id] params to accept lists of ids in more places. 2017-05-23 15:45:40 -05:00
evazion
086b520dcc archives: raise exception if not configured. 2017-04-05 01:17:03 -05:00
r888888888
f374eec4a1 fixes #2869: Add way to differentiate Pool Descriptions from Pool History 2017-02-14 16:03:19 -08:00
evazion
74bbd45cdf dotenv: enable overriding database settings. 2017-01-23 18:07:52 -06:00
Type-kun
75c13cc953 Possible fix for issue #2849 2017-01-19 14:51:53 +05:00
Albert Yi
4859a803c6 show description diffs in pool version listing 2017-01-03 14:40:53 -08:00
evazion
df22bae2be Fix "'archive_development' database is not configured." exception. 2016-12-26 15:09:43 -06:00
Albert Yi
ee4ebce4d7 support pool version archive 2016-12-21 11:43:46 -08:00