Albert Yi
f1ca252b3c
wip
2018-05-11 10:52:03 -07:00
Albert Yi
7dbeffbfa2
fix test
2018-05-10 15:09:04 -07:00
Albert Yi
6839249e9d
add logic for persisting pixiv sessions in tests
2018-05-10 13:59:57 -07:00
Albert Yi
76eeafca2c
fix for tests
2018-05-10 11:24:17 -07:00
Albert Yi
5bfadb90c3
add retry for failed pixivapiclient auth calls
2018-05-10 11:22:23 -07:00
Albert Yi
984ab98a40
potential fix for #3672
2018-05-10 11:20:15 -07:00
Albert Yi
72f319ccf3
rename lambda references to use shorthand syntax
2018-05-10 11:18:02 -07:00
Albert Yi
320f1a426e
fixes #3704
2018-05-10 10:20:51 -07:00
Albert Yi
519769d951
fixes #3706
2018-05-10 10:09:52 -07:00
Albert Yi
fe3fc51681
fix bug with postkeepermanager not loading a post from an id
2018-05-10 09:56:18 -07:00
Albert Yi
3c894eaf86
increase timeout for pixiv api connections
2018-05-10 09:49:46 -07:00
Albert Yi
1c76e7b5b1
format postkeepermanager jobs in job listing
2018-05-10 09:40:36 -07:00
Albert Yi
0ae9230caa
add test for postkeepermanager reconnect
2018-05-09 17:40:07 -07:00
Albert Yi
0d7aa921d6
add hourly check for delayed job errors
2018-05-09 17:33:02 -07:00
Albert Yi
bc4010fe6c
when PostKeeperManager.check_and_update fails, retry ( fixes #3699 )
2018-05-09 17:09:20 -07:00
Albert Yi
c658e7d22a
add comments for mechanize patch
2018-05-09 16:51:12 -07:00
Albert Yi
5bca31bad1
add retry monkey patch for mechanize
2018-05-09 16:45:03 -07:00
Albert Yi
e23814be92
fix pixiv agent shutdown
2018-05-09 16:13:47 -07:00
Albert Yi
780d899c85
move passwords to env
2018-05-09 15:15:33 -07:00
Albert Yi
d4a2521eec
reset connection for pixiv tests
2018-05-09 14:59:18 -07:00
Albert Yi
c144159dd9
fix tests
2018-05-09 14:36:03 -07:00
Albert Yi
59dde72924
fix pixiv tests, install ffmpeg
2018-05-09 14:11:34 -07:00
Albert Yi
0f2e6a9a1b
fix tests
2018-05-09 12:45:37 -07:00
Albert Yi
99012ff342
fix tests
2018-05-09 11:59:51 -07:00
Albert Yi
81d94dbab9
Merge pull request #3693 from r888888888/travis-ci
...
get travis ci working
2018-05-09 10:18:20 -07:00
Albert Yi
79ea6f7e6c
Add Docker and Travis config files to enable CI tests
...
Also fixes some Rails 6.0 deprecation warnings
2018-05-09 09:56:38 -07:00
Albert Yi
79a93f0198
Merge pull request #3703 from r888888888/favorites-meta-privacy
...
Fix #3633 : Remove favorites meta tag
2018-05-07 17:36:55 -07:00
Albert Yi
3b8a1703ff
Merge pull request #3701 from evazion/fix-3579
...
Fix #3579 : Add post approval index
2018-05-07 17:36:41 -07:00
Albert Yi
23bef55632
Merge pull request #3700 from evazion/fix-3659
...
Fix uploads getting stuck in 'processing' state (fix #3659 )
2018-05-07 17:36:03 -07:00
Albert Yi
3d3bae1228
Merge pull request #3697 from evazion/fix-3696
...
Fix #3696 : API: handle boolean params consistently
2018-05-07 17:35:29 -07:00
Albert Yi
12a8c0db70
install software-properties-common package before trying to use apt-add-repository
2018-05-01 14:21:10 -07:00
Albert Yi
0337501316
copy evazion's travis.yml config
2018-05-01 10:43:38 -07:00
r888888888
154f65f380
add travis.yml
2018-04-30 12:00:27 -07:00
r888888888
0d6cf961a8
disable js compression on staging
2018-04-30 11:34:21 -07:00
r888888888
9822ff999b
switch to non-minified versions of js libs, load unminified versions of jquery and jquery ui on non-prod environments ( #3690 )
2018-04-30 11:28:20 -07:00
r888888888
185d4ef81f
split out tag_relationship has_one relationship on forum post to alias/impication ( #3686 )
2018-04-28 19:28:17 -07:00
r888888888
c5de0ca425
clear out menu.bindings on autocomplete lib after search ( #3688 )
2018-04-28 19:10:58 -07:00
r888888888
b0a161b745
remove jquery-ui-autocomplete from compiled app js
2018-04-28 18:38:18 -07:00
r888888888
015aa5abfe
fixes #3686
2018-04-28 17:42:39 -07:00
r888888888
11d7010c92
fix css
2018-04-28 12:00:10 -07:00
Albert Yi
36f15daa49
Merge pull request #3683 from evazion/fix-3678
...
Fix #3678 : "Access denied" when adding commentary.
2018-04-27 17:28:23 -07:00
Albert Yi
d4b1782431
allow more forum posts to be voted on ( fixes #3677 )
2018-04-27 16:18:31 -07:00
Albert Yi
06e7dbb8e4
fixes #3674
2018-04-27 15:48:52 -07:00
Albert Yi
b93b28d049
add email to cronjobs
2018-04-27 15:06:36 -07:00
Albert Yi
72e7f706df
fix scoping bug in dmail
2018-04-27 15:04:27 -07:00
Albert Yi
664a3f02e2
fixes for failed cron maintenance tasks
...
* update rails scripts for 5.2
* system dmails should be scoped to system
* fix broken url generator in forum notices
2018-04-27 15:01:40 -07:00
Albert Yi
0b20648f1f
rename jquery qtip css to scss
2018-04-27 11:41:13 -07:00
Albert Yi
e29f73ac31
include top tagger info in post tooltip, add box shadow css
2018-04-26 15:56:42 -07:00
Albert Yi
87f0adfda3
Merge pull request #3655 from r888888888/expire-burs
...
Implement BUR pruning
2018-04-26 15:43:54 -07:00
Albert Yi
f2b525a6d2
Implement forum topic voting and tag change pruning ( #3580 )
2018-04-26 15:31:06 -07:00
Albert Yi
45fad069d7
Merge branch 'master' of github.com:r888888888/danbooru
2018-04-26 15:30:14 -07:00
Albert Yi
eddc789df2
fix js bugs
2018-04-26 15:01:57 -07:00
Albert Yi
95ab227b09
upgrade jquery-ui to 1.12, move to cdn
2018-04-26 14:49:33 -07:00
Albert Yi
990d625ae3
reset unread dmail count when using mark all as read ( #3574 )
2018-04-26 11:47:07 -07:00
Albert Yi
9aafc344fa
Merge pull request #3666 from evazion/fix-3664
...
Fix #3664 : Highlight non-gentags in post tooltip
2018-04-26 11:40:59 -07:00
Albert Yi
8b98e9e009
additional tests to look for causes of incorrect post count on pools ( #3667 )
2018-04-26 11:14:01 -07:00
Albert Yi
4b6019d6ad
fixes #3668
2018-04-26 10:25:24 -07:00
Albert Yi
c4a4394ea0
update gems ( fixes #3665 )
2018-04-25 14:35:52 -07:00
Albert Yi
b0a3f574ed
fixes #3574
2018-04-25 14:31:11 -07:00
Albert Yi
af3404b087
switch to cdnjs for hosted jquery ( #3663 )
2018-04-24 11:33:06 -07:00
Albert Yi
f3e62f43ba
Merge pull request #3658 from evazion/fix-3657
...
Fix #3657 : Add improvements to the uploads interface
2018-04-20 16:03:39 -07:00
Albert Yi
503e8adf69
Merge pull request #3524 from evazion/feat-hsts
...
Fix #3522 : Enable HSTS
2018-04-19 09:41:43 -07:00
Albert Yi
e9dc4a397e
switch to jquery 3.3.1 on cdn
2018-04-17 16:32:50 -07:00
Albert Yi
34d9cc6d57
fixes #3648
2018-04-17 16:28:17 -07:00
Albert Yi
9957c4c0e2
fixes #3644
2018-04-16 16:43:51 -07:00
Albert Yi
1c88587c55
fixes null uid field error for #3645
2018-04-16 16:41:46 -07:00
Albert Yi
97dd0680df
remove download query from post file size link
2018-04-16 16:41:46 -07:00
Albert Yi
2f142ab1aa
Merge pull request #3643 from evazion/fix-3642
...
Fix #3642 : Issues with sequential pagination
2018-04-16 16:16:22 -07:00
Albert Yi
f2adbba241
switch postarchive to use belongs_to_updater ( fixes #3629 )
2018-04-13 12:29:48 -07:00
Albert Yi
06559c4ae4
fix missing urls in artists ( fixes #3632 )
2018-04-13 12:25:49 -07:00
Albert Yi
31a9605ecb
fix source mapping for deviantart sources on origin-orig subdomain ( fixes #3617 )
2018-04-13 11:56:03 -07:00
Albert Yi
32025b77d3
remove fav_string from posts api unless user is moderator ( fixes #3633 )
2018-04-13 11:45:50 -07:00
Albert Yi
19cc8ebf9e
fixes #3630
2018-04-12 16:02:41 -07:00
Albert Yi
5546d9e98b
fixes #3627
2018-04-12 14:20:02 -07:00
Albert Yi
b99600bbbe
fixes #3625
2018-04-12 14:12:27 -07:00
Albert Yi
c785d00eb6
remove window.console.log
2018-04-12 13:58:28 -07:00
Albert Yi
9975b2dd35
don't require saved_search params when creating a new saved search
2018-04-12 13:56:02 -07:00
Albert Yi
26a2e60d04
fixes #3623
2018-04-12 13:36:56 -07:00
Albert Yi
883b36ac2e
fixes #3620
2018-04-12 13:00:48 -07:00
Albert Yi
cd88a8df9f
fixes #3620
2018-04-12 13:00:48 -07:00
Albert Yi
37ba6714d1
fixes #3617
2018-04-12 12:11:27 -07:00
Albert Yi
d747ffc640
fixes #3621
2018-04-12 12:09:33 -07:00
Albert Yi
c9fe91c74b
fix base dir for image distribute rake task
2018-04-12 10:48:53 -07:00
Albert Yi
03e2a2ca3b
add rake task for distributing images using storage managers
2018-04-12 10:40:24 -07:00
Albert Yi
25f371c8c6
Merge branch 'master' of github.com:r888888888/danbooru
2018-04-12 09:53:02 -07:00
Albert Yi
e4e79c027e
Merge pull request #3618 from evazion/fix-rails-5.1-bugs
...
Fix rails 5.1 bugs
2018-04-12 09:44:18 -07:00
Albert Yi
b0ac895964
remove unused attr_accessor
2018-04-11 14:09:45 -07:00
Albert Yi
d9d98f05c2
Merge branch 'rails-5.1'
2018-04-11 11:40:36 -07:00
Albert Yi
a25629bff9
fixes #3594
2018-04-11 11:14:58 -07:00
Albert Yi
c46996f937
Merge pull request #3616 from evazion/fix-deviantart-api
...
Fix #3260 : Exception when uploading certain DeviantArt posts
2018-04-10 16:54:44 -07:00
Albert Yi
485c3b01c7
add uploader-id and top-tagger-id data attrs to post previews
2018-04-09 11:12:07 -07:00
Albert Yi
23fef71346
Merge pull request #3609 from evazion/fix-3603
...
Fix #3603 : Unable to view images on Hijiribe/Sonohara when Danbooru is blocked
2018-04-09 10:56:00 -07:00
Albert Yi
5f33238074
Merge pull request #3612 from evazion/fix-iqdb-errors
...
Improve IQDB error handling
2018-04-09 10:53:40 -07:00
r888888888 and evazion
abce4d2551
Raise error on unpermitted params.
...
Fail loudly if we forget to whitelist a param instead of silently
ignoring it.
misc models: convert to strong params.
artist commentaries: convert to strong params.
* Disallow changing or setting post_id to a nonexistent post.
artists: convert to strong params.
* Disallow setting `is_banned` in create/update actions. Changing it
this way instead of with the ban/unban actions would leave the artist in
a partially banned state.
bans: convert to strong params.
* Disallow changing the user_id after the ban has been created.
comments: convert to strong params.
favorite groups: convert to strong params.
news updates: convert to strong params.
post appeals: convert to strong params.
post flags: convert to strong params.
* Disallow users from setting the `is_deleted` / `is_resolved` flags.
ip bans: convert to strong params.
user feedbacks: convert to strong params.
* Disallow users from setting `disable_dmail_notification` when creating feedbacks.
* Disallow changing the user_id after the feedback has been created.
notes: convert to strong params.
wiki pages: convert to strong params.
* Also fix non-Builders being able to delete wiki pages.
saved searches: convert to strong params.
pools: convert to strong params.
* Disallow setting `post_count` or `is_deleted` in create/update actions.
janitor trials: convert to strong params.
post disapprovals: convert to strong params.
* Factor out quick-mod bar to shared partial.
* Fix quick-mod bar to use `Post#is_approvable?` to determine visibility
of Approve button.
dmail filters: convert to strong params.
password resets: convert to strong params.
user name change requests: convert to strong params.
posts: convert to strong params.
users: convert to strong params.
* Disallow setting password_hash, last_logged_in_at, last_forum_read_at,
has_mail, and dmail_filter_attributes[user_id].
* Remove initialize_default_image_size (dead code).
uploads: convert to strong params.
* Remove `initialize_status` because status already defaults to pending
in the database.
tag aliases/implications: convert to strong params.
tags: convert to strong params.
forum posts: convert to strong params.
* Disallow changing the topic_id after creating the post.
* Disallow setting is_deleted (destroy/undelete actions should be used instead).
* Remove is_sticky / is_locked (nonexistent attributes).
forum topics: convert to strong params.
* merges https://github.com/evazion/danbooru/tree/wip-rails-5.1
* lock pg gem to 0.21 (1.0.0 is incompatible with rails 5.1.4)
* switch to factorybot and change all references
Co-authored-by: r888888888 <r888888888@gmail.com >
Co-authored-by: evazion <noizave@gmail.com >
add diffs
2018-04-06 18:09:57 -07:00
Albert Yi
fc344e589d
potential fix for #3604
2018-04-06 16:14:01 -07:00
Albert Yi
5a87fcfde3
Merge pull request #3602 from evazion/feat-link-userscripts
...
Add about:userscripts to site map.
2018-04-05 15:19:28 -07:00
Albert Yi
7d745ac93f
Merge pull request #3598 from evazion/fix-3597
...
Possible fix for #3597 : Poor performance since last deploy
2018-04-05 13:11:21 -07:00
Albert Yi
916c73b7a8
Merge branch 'master' of github.com:r888888888/danbooru
2018-04-05 12:51:36 -07:00
Albert Yi
bf23a976e3
fix bug with async tagger check
2018-04-05 12:51:29 -07:00
Albert Yi
e006380567
change reason field on flags and appeals to text
2018-04-03 16:14:42 -07:00