Commit Graph

81 Commits

Author SHA1 Message Date
evazion
1a998cb3fb Move API methods from initializer to ApplicationRecord. 2017-06-16 13:28:31 -05:00
evazion
cebf29f83e Allow escaping wildcards (\*) in wildcard searches. 2017-05-31 16:15:18 -05:00
Albert Yi
56bd81912d Merge pull request #3029 from evazion/feat-job-control
Add ability to start/stop delayed jobs.
2017-05-08 13:14:40 -07:00
evazion
1a058ebe9a delayed jobs: don't delete failed jobs. 2017-05-05 11:33:11 -05:00
evazion
7b5ae5f8e0 Fix #3024: strip '?' from API attributes. 2017-05-04 12:19:51 -05:00
evazion
192190a313 initializers/z_dalli.rb: initialize Rails.cache. 2017-04-16 16:48:36 -05:00
evazion
ba408c8718 simple_form: regen config files (#2913).
Regens simple form config using `rails generate simple_form:install`.
Seems to fix #2913 (erroneous minlength validations being enforced as of
simple_form 3.4.0).
2017-03-03 17:21:37 -06:00
evazion
951e6d4b5f Remove unused arbitrary_sql_order_clause.
Unused since f87c71c.
2017-02-06 19:07:04 -06:00
evazion
cf54cd1480 core_extensions.rb: remove unused String#to_escaped_js. 2017-02-06 19:07:04 -06:00
r888888888
2aa7a8aa9c fix for statechecker 2017-01-24 14:32:06 -08:00
evazion
1aa2316a9e dotenv: enable overriding rails secret token / session key. 2017-01-23 18:07:51 -06:00
evazion
f33108416e dotenv: enable overriding danbooru_local_config.rb with env vars. 2017-01-23 18:07:51 -06:00
Albert Yi
79842f7a3b restrict min level constraints for forum topics to mod+admin and restrict options based on current user's level. check privileges for visiblity in forum posts and topics. deprecate serializable_hash (undocumented, internal) for as_json, refactor to use hidden_attributes and method_attributes #2658 2016-10-25 15:05:55 -07:00
Albert Yi
ced7a34afa additional fixes for install script 2016-10-17 16:15:12 -07:00
evazion
7c6ba6a7c0 Add /delayed_jobs.json.
Leave out `handler` because it's sensitive.
2016-10-17 05:57:05 -05:00
r888888888
d5fa4b46e3 * refactor aws config options
* fix aws calls in savedsearch
* remove unused scripts
2015-12-28 12:26:20 -08:00
r888888888
2ff44298b9 fixes #2506: API results wrapped inside an extra object 2015-08-24 17:07:38 -07:00
r888888888
e669b66395 update to capistrano3 2015-08-19 15:53:13 -07:00
r888888888
c8f38350c3 update rails default files 2015-08-18 17:50:27 -07:00
r888888888
76718c7012 add details to newrelic trace, fix 401 errors for xml 2015-07-09 18:15:48 -07:00
r888888888
ac8bcdb22f record db timeouts in newrelic 2015-07-09 18:00:18 -07:00
r888888888
b2b14cba98 add stripe integration for safebooru 2015-01-22 16:20:25 -08:00
r888888888
ace7e6abff fix warnings 2014-12-10 16:23:58 -08:00
r888888888
d9153769b8 remove stripe references 2014-11-24 19:13:21 -08:00
r888888888
cbf48ad948 add stripe integration for safebooru 2014-11-06 17:03:17 -08:00
r888888888
4c73fb9f79 add ugoira support in view 2014-10-19 02:30:02 -07:00
r888888888
e86c8ceb2a add deletion column to promotion report 2014-07-08 10:21:07 -07:00
r888888888
701ed9d161 fixes #2162 2014-05-22 14:54:19 -07:00
r888888888
fad0ab7c93 fixes #2133 2014-04-16 17:43:34 -07:00
r888888888
e3ad8d93d4 fix for production config 2013-08-01 15:06:56 -07:00
r888888888
60b214f4d0 switch to dalli for memcache adapter, related to #1906 2013-08-01 15:02:45 -07:00
r888888888
c520c7f03c fixes #1847 2013-07-11 15:50:51 -07:00
r888888888
d5f575159f rename references of privileged to gold 2013-04-28 00:04:52 -07:00
r888888888
5f6119d28b include unicorn+newrelic initializer 2013-04-19 22:28:53 -07:00
albert
9a70d8c353 fix timeout 2013-04-01 00:06:58 -04:00
albert
88a900ac9e increse timeouts for delayed job actions 2013-03-31 23:40:06 -04:00
albert
d7c6702be0 fixes #1127 2013-03-29 15:49:09 -04:00
albert
4606ec4763 priv users now have 6sec timeout, platinum users have 9sec timeout 2013-03-21 07:46:49 -07:00
小太
cba839ba76 Kill trailing whitespace in ruby files 2013-03-19 23:10:10 +11:00
albert
2a1758636b fix favorite tags 2013-03-08 21:50:44 -05:00
albert
c9f6954b03 add action mailer init 2013-03-08 17:49:50 -05:00
albert
8f65b567a2 fixes #796 2013-03-08 13:44:34 -05:00
albert
2338f004eb refactored tsquery sql to use rails escaping mechanisms 2013-03-07 16:34:12 -05:00
albert
f52181db94 Major revamp of security. Passwords are first SHA1 hashed and then
that hash is bcrypted.  Bcrypted hashes are stored in a new column on
users.  This separate column is only to allow for rollbacks,
eventually the old SHA1 hash column will be removed.  Sensitive cookie
details are now encrypted to prevent user tampering and more stringent
checks on secret_token and session_secret_key are enforced.
2013-03-04 22:55:41 -05:00
albert
cca0cc8dbd fix pool metatags, fix artist search 2013-02-26 23:35:17 -08:00
albert
cf2250a17f fixes #638 2013-02-26 22:56:16 -08:00
albert
63394ef161 remove unnecessary count query for post_versions listing 2013-02-20 14:18:33 -05:00
albert
44682156c0 fix searches 2013-02-17 21:09:25 -05:00
albert
a00f546254 more granular memory use logging 2013-02-17 19:29:38 -05:00
albert
9eb5e07677 fix 2013-01-30 15:16:08 -08:00