evazion
fcec99405c
Fix failure in rake db:migrate on fresh install ( #3443 ).
...
Create the DanbooruBot account in db/seeds.rb instead of in an
initializer. Move the old db/seeds.rb to db/populate.rb.
Fixes a bug introduced in e2eb45a . Creating DanbooruBot in an
initializer was wrong because in a fresh install the users table doesn't
exist yet. This caused `rake db:migrate` to fail.
2017-12-21 12:08:08 -06:00
evazion
efeaad25ca
Move lib/danbooru, lib/danbooru_image_resizer to app/logical.
2017-12-18 12:07:52 -06:00
evazion
e2eb45a5a3
Auto-promote DanbooruBot to Mod. Auto-create DanbooruBot if it doesn't exist.
2017-12-15 18:54:18 -06:00
Albert Yi
c3f1c786e8
Merge branch 'master' into fix-recaptcha
2017-12-13 14:33:39 -08:00
Albert Yi
5da62eff8d
Merge branch 'master' into fix-3278
2017-12-13 14:30:08 -08:00
evazion
8d8a2f9c1e
Make recaptcha optional on signup page.
2017-11-29 18:09:37 -06: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
127e4e385b
Fix dmail failures when akismet isn't configured.
2017-11-25 21:46:32 -06:00
r888888888
9f90799f27
fix newrelic handler for statement timeouts
2017-11-15 17:00:37 -08:00
r888888888
c2029b62b5
delayedjob fixes
2017-10-10 15:49:34 -07:00
r888888888
13f7d7e66d
add targeted post down voting report, add delayed job plugin to disable statement timeout
2017-10-10 12:56:57 -07:00
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