Albert Yi
64446d49e1
add image cropping support
2018-06-22 14:41:57 -07:00
Albert Yi
fdd7582fb0
add support for upload preprocessing
2018-06-14 17:52:41 -07:00
Albert Yi
fcd80b6043
Artist urls can be prepended with a '-' to mark is inactive ( #3388 )
2018-05-16 16:04:05 -07:00
Albert Yi
f2b525a6d2
Implement forum topic voting and tag change pruning ( #3580 )
2018-04-26 15:31:06 -07:00
Albert Yi
b0a3f574ed
fixes #3574
2018-04-25 14:31:11 -07:00
Albert Yi
9957c4c0e2
fixes #3644
2018-04-16 16:43:51 -07:00
r888888888
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
e006380567
change reason field on flags and appeals to text
2018-04-03 16:14:42 -07:00
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
r888888888
0c5dcbbf68
Revert "Revert "implement post keepers""
...
This reverts commit b9fcfe0442
.
2018-03-06 18:04:31 -08:00
Albert Yi
b9fcfe0442
Revert "implement post keepers"
2018-02-07 12:28:56 -08:00
r888888888
32cc508edb
hide uploader information on posts/show page, add keeper information
2018-02-01 14:38:03 -08:00
BrokenEagle
3c45273694
Add category for mod actions
2018-01-13 20:55:52 -08:00
evazion
89b523bdae
Fix #3480 : NoMethodError error when adding artist tag to post.
2017-12-30 16:07:52 -06:00
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
Albert Yi
7af5b133c4
Merge branch 'master' into feat-public-favgroups
2017-12-19 15:42:56 -08:00
BrokenEagle
5a602c60eb
Added option to make favorite groups public
2017-12-18 17:30:02 -08:00
evazion
eede2f0752
Fix #3324 : Incorporate replacement comment info in the replacement history.
2017-12-18 18:02:43 -06:00
r888888888
41d4c33093
add no statement timeout block to migration
2017-12-13 15:06:25 -08:00
Albert Yi
5f1da19f50
Merge pull request #3407 from evazion/feat-tag-autocorrect
...
Fix #3406 : Autocorrect typos during autocomplete
2017-12-13 14:33:04 -08:00
evazion
dd8e3bbb94
tags: add trigram index on tag names.
2017-11-27 15:21:19 -06:00
evazion
45cecff1a6
Move with_timeout / without_timeout to ApplicationRecord.
2017-11-26 13:57:52 -06:00
r888888888
e70c2a3085
remove references to tag subscriptions
2017-11-17 13:45:17 -08:00
BrokenEagle
7cb45fc8d3
Added fifth tag category meta
2017-11-07 10:58:42 -08:00
r888888888
c2029b62b5
delayedjob fixes
2017-10-10 15:49:34 -07:00
r888888888
b944b642b8
akismet integration
2017-09-14 13:37:36 -07:00
evazion
f3b0a0a9e9
Remove unused KeyValue model ( #3206 ).
2017-07-09 14:30:44 -05:00
Type-kun
ca2adac3f0
Include user with every level/privilege in seeds.rb
2017-06-14 18:33:54 +05:00
evazion
1aafdc3928
commentaries: migrate columns to non-null.
2017-06-13 16:42:29 -05:00
Type-kun
6947f39136
Synchronize db/structure.sql with migrations (missed in #3006 )
2017-06-11 19:17:51 +05:00
evazion
ec9a3e5c17
posts: add partial indexes on is_pending, is_flagged.
2017-06-08 00:00:38 -05:00
evazion
8f98e8e03c
posts: redefine source column to be non-NULL ( fixes #3090 ).
2017-05-26 13:54:17 -05:00
Albert Yi
9bc4e1a5df
Update 20170519204506_fix_last_noted_at_index_on_posts.rb
2017-05-22 11:38:37 -07:00
evazion
fad4d48b1c
search: fix order:note, order:comment_bumped to use indexes.
2017-05-19 18:19:05 -05:00
evazion
a8c1b0bc62
structure.sql: add forum topics (is_sticky, updated_at) index.
2017-05-19 18:19:04 -05:00
r888888888
6bebc3f694
add sort index to forum topics
2017-05-15 17:04:21 -07:00
r888888888
78b08d8394
add new model for post replacements, add undo functionality
2017-05-12 17:11:40 -07:00
evazion
b48671f59f
saved searches: drop unused name and category columns.
2017-04-28 17:22:25 -05:00
r888888888
b053a2d783
add source + rewrite strategy for pawoo
2017-04-20 15:50:22 -07:00
evazion
9816676bfd
structure.sql: remove bank_balances, bank_transactions.
2017-04-19 17:08:28 -05:00
evazion
fb0a8e8600
db: add reason index on post_flags, post_appeals.
2017-04-16 21:15:23 -05:00
evazion
cf9b67efb7
db/structure.sql: add index_pools_on_name_trgm migration.
2017-04-16 21:15:23 -05:00
r888888888
6d693799a0
fix trigram index on pools
2017-04-14 16:34:51 -07:00
r888888888
38a2298de9
disable statement timeout
2017-04-14 13:18:16 -07:00
r888888888
76b5031bbf
add uniqueness constraint on user names
2017-04-13 18:04:06 -07:00
r888888888
db4fa8c7da
support dynamic updates of forum for bulk update requests
2017-04-12 17:09:09 -07:00
r888888888
19b8d41d09
refactor forum notifications for tag changes
2017-04-12 16:43:15 -07:00
evazion
fcc5521f63
db: add updated_at index on wiki pages.
...
The wiki pages sidebar is ordered by updated_at. The sidebar is present
on all wiki pages, so this improves load times for all wikis.
2017-04-07 18:10:26 -05:00
r888888888
6d2d381af6
revert migration change
2017-03-27 16:53:12 -07:00
r888888888
16ba4fac6a
remove pre-existing index
2017-03-27 16:50:38 -07:00
r888888888
7e40f9363d
fixes #2939 : <code> Blocks Need CSS Styling
2017-03-27 16:00:43 -07:00
evazion
246eb1e8ab
db: add created_at indexes on post_appeals, artist/note/wiki_page versions,
...
This optimizes queries on /moderator/dashboard that filter by creation date.
2017-03-23 04:05:06 -05:00
r888888888
998a6494ed
drop post versions table
2017-03-16 15:56:42 -07:00
r888888888
78fdc79db9
add statement timeout to migration
2017-03-16 15:32:25 -07:00
r888888888
da06bee0ab
revamp saved search implementation
2017-03-15 15:36:48 -07:00
evazion
02122343c3
dmails: don't default IP addr to 127.0.0.1 in database ( fixes #2908 ).
...
Bug introduced in 1400f64; that commit changed dmails so that
creator_ip_addr defaulted to CurrentUser.ip_addr like this:
after_initialize :initialize_attributes, if: :new_record?
def initialize_attributes
self.from_id ||= CurrentUser.id
self.creator_ip_addr ||= CurrentUser.ip_addr
end
...but creator_ip_addr already defaulted to 127.0.0.1 from the database,
so the ||= assignment didn't work. Remove the database default so we
always default to CurrentUser.ip_addr.
2017-03-01 19:51:48 -06:00
evazion
d9349704c7
dmails: add indexes on is_read and is_deleted ( fix #2886 ).
2017-02-18 05:54:40 -06:00
r888888888
bfa56a860c
fixes #2415 : "Random post" causes RecordNotFound exceptions
2017-01-18 14:12:12 -08:00
r888888888
8333673b62
add trigram index to user names
2017-01-17 15:31:22 -08:00
evazion
26c193dfb3
Change post_appeals.creator_ip_addr from integer to inet.
...
The existing values are garbage, rails stored e.g. "87.126.98.245" as
"87.126.98.245".to_i => 87. The column is nulled to indicate these IPs
are unknown.
2017-01-12 09:28:21 +00:00
evazion
3ca638bc92
Add IP addr indexes on comments & artist/artcomm/wikipage versions.
2017-01-12 09:28:21 +00:00
Albert Yi
f2a5d45db0
implement token bucket rate limiting
2017-01-09 17:31:14 -08:00
Albert Yi
c0ae6e8631
drop pool versions table
2016-12-28 16:12:24 -08:00
Albert Yi
811fa7508b
add statement tiemout to migration
2016-12-28 15:53:04 -08:00
evazion
1257639109
Add 'post as moderator' option for comments.
...
* Add 'post as moderator' option to comment form. This creates a so-called sticky comment.
* Downvotes have no effect on stickied comments; they're always visible, regardless of comment thresholds.
* Only mods may sticky comments.
* Mods may sticky comments by other users.
2016-12-26 23:52:45 -06:00
r888888888
2584646017
add additional formatting for delayed job listing
2016-12-24 18:00:40 -08:00
Albert Yi
5a1ac41450
eliminate transaction log items table
2016-12-21 15:00:59 -08:00
Albert Yi
aef31d8d9b
enable ragel parser for comments, add additional sql diagnostic queries
2016-12-09 14:59:33 -08:00
Albert Yi
2dbb869188
keep track of post approvals to prevent approval cycles
2016-10-31 17:51:44 -07:00
Albert Yi
589df5f301
implements #2658 : private forum topics
2016-10-24 16:56:18 -07:00
Albert Yi
e78b7d2a8c
fixes #2716 : Wiki pages should be undeletable
2016-10-18 15:45:50 -07:00
Albert Yi
d5f02abf8c
fix saved search test
2016-10-10 17:29:49 -07:00
Albert Yi
c776fb478a
Revert "Index and form for bit preferences"
2016-09-23 16:21:09 -07:00
Type-kun
15d4d8300f
Create array index on bit_prefs ( #2644 )
2016-09-23 11:52:43 -07:00
r888888888
486f59e945
add antivoter resource
2016-09-19 17:07:22 -07:00
r888888888
b2e6a8f031
add antivoters (no behavior yet)
2016-09-19 16:47:55 -07:00
r888888888
0a65302f12
remove uniqueness constraint on postupdates
2016-08-22 16:09:20 -07:00
r888888888
3c42df51c9
add framework for post update pushes to pubsub
2016-08-19 17:51:47 -07:00
r888888888
e1c7fbc373
Revert "move post desc to header at top"
...
This reverts commit 0ab51f3a83
.
2016-05-31 11:15:44 -07:00
r888888888
0ab51f3a83
move post desc to header at top
2016-05-28 14:14:32 -07:00
r888888888
30415d9e1e
add approver field to aliases/implications
2016-05-26 13:01:44 -07:00
r888888888
2deb3cc3b4
fix for unicorn
2016-02-23 19:22:52 -08:00
r888888888
4b24a5cb7e
update to rails 4.2.5.1, add debugging info for tracking slow queries
2016-02-23 16:34:33 -08:00
r888888888
2a87aad34e
implement super voters
2016-02-22 14:11:25 -08:00
r888888888
b165fec66a
add index on artist group_name
2016-02-19 09:29:03 -08:00
r888888888
b98226fab2
add trigram indexes for artists and pools
2016-02-18 17:30:26 -08:00
r888888888
e9c33c311f
disable db vacuum cronjob
2016-02-17 16:29:31 -08:00
r888888888
c3060e2da4
add scripts for analyzing postgres database
2016-02-17 14:46:24 -08:00
r888888888
5eba09f308
improved logic for post fast count
2016-01-03 00:14:04 -08:00
r888888888
bfb8e2213e
add statement timeout change to migration
2015-12-30 11:59:54 -08:00
r888888888
5b3a4b768c
fixes #2557
2015-12-17 14:29:17 -08:00
r888888888
f66d5c3f02
fixes #2461 : Mod queue comments
2015-08-05 13:11:32 -07:00
Toks
1b6238aaef
Add default blacklist
2015-07-30 11:11:20 -04:00
r888888888
a39e390e24
fixes #2446
2015-07-21 15:26:07 -07:00
r888888888
8ef7462b6b
fix tests
2015-07-06 18:32:54 -07:00
Toks
4f4fd8cb35
fixes #2428
2015-07-04 22:00:31 -04:00
r888888888
1d9596d7f2
fixes #2417
2015-06-29 18:17:59 -07:00
Toks
04fa5596e2
Favorite groups
2015-06-23 15:25:54 -04:00
r888888888
5dbbc12fe1
add status field to janitor trials #2408
2015-06-12 18:11:39 -07:00
r888888888
b9d8e15ca3
fix safebooru link
2015-05-06 22:47:44 -07:00
Toks
558fd4d8ef
Include aliased tags in autocomplete
2015-04-04 12:06:06 -04:00
r888888888
182b794c8e
fixes #2345
2015-02-15 13:01:45 -08:00
r888888888
9e505a0b84
* add new bit_flags column to posts
...
* conditionally enable embedded notes on a per post basis
2015-01-27 17:11:51 -08:00
r888888888
a07410aece
fixes #2337
2015-01-24 12:11:56 -08:00
r888888888
74d636bafd
fixes #2333
2015-01-19 16:58:54 -08:00
Toks
8b2b981b80
fixes #2229
2015-01-19 14:26:25 -05:00
r888888888
5063e326e3
Revert "remove mpixel search, remove some unused indexes on posts"
...
This reverts commit 11e550c385
.
2015-01-18 22:56:02 -08:00
r888888888
11e550c385
remove mpixel search, remove some unused indexes on posts
2015-01-15 17:43:10 -08:00
r888888888
2b5ce48d5c
fixes #2230
2014-11-19 21:28:26 -08:00
r888888888
38d48081a0
log any ffmpeg/mkvmerge errors
2014-10-28 13:38:47 -07:00
r888888888
c9ee4f242f
restyle ugoira controls
2014-10-23 16:00:58 -07:00
r888888888
69564c4bff
fix async processing for ugoira
2014-10-22 22:48:20 -07:00
evazion
6ca01334af
Fix frame data records being created for non-ugoira posts.
...
* Prevent non-ugoira posts from getting dummy frame data records with
all the columns set to null.
* Make `data` and `content_type` columns NOT NULL, since they should
always be present.
* Remove the timestamps while we're at it, since they don't seem
necessary for anything.
2014-10-19 10:23:28 -05:00
r888888888
4c73fb9f79
add ugoira support in view
2014-10-19 02:30:02 -07:00
r888888888
3bb06c2be4
integrate ugoiras into zip+webm+preview
2014-10-19 02:30:02 -07:00
r888888888
74e1355728
fix tests
2014-09-30 17:24:54 -07:00
r888888888
2b96040a30
fixes #2191
2014-08-12 17:03:16 -07:00
r888888888
6772566665
fixes #2166
2014-07-23 15:15:47 -07:00
r888888888
bb402f5a27
fixes #2197
2014-07-17 16:34:54 -07:00
r888888888
a6d69e63be
fixes #2197
2014-07-17 16:24:03 -07:00
r888888888
1253592dc9
fixes #1210
2014-06-22 20:12:06 -07:00
r888888888
f02f72fac1
implement saved searches, move user boolean settings to bitprefs
2014-06-18 16:16:27 -07:00
r888888888
87ef2b8e0f
fixes #2190
2014-06-16 17:29:35 -07:00
r888888888
7b97ca192c
fixes #2190
2014-06-12 21:16:21 -07:00
r888888888
606f0e002a
updated schema
2014-06-02 13:26:50 -07:00
Toks
eb81f06eb2
merge translated tags branch
2014-05-29 23:11:34 -04:00
Toks
71cd5ce783
fixes #2114
2014-05-29 22:55:35 -04:00
Toks
b18bb73f4b
Implentation for #2141
2014-05-22 20:07:15 -04:00
r888888888
a89c57cee0
Fix Rails 4.1 migration issues
2014-04-24 17:01:03 -07:00
r888888888
7edcbf33dd
fixes #2108 , upgrade to postgresql 9.3, fix tests
2014-04-11 14:15:14 -07:00
r888888888
7367ded12f
fix migration
2014-02-24 18:10:25 -08:00
r888888888
fa72a16741
upgrade to rails 3.2.17
2014-02-21 16:32:16 -08:00
r888888888
3ba7daebd1
include dmail ip addrs in search
2014-02-21 14:15:37 -08:00
r888888888
10516c9834
fixes #2100
2014-02-21 13:46:45 -08:00
r888888888
cc9b5a0c61
Create new transaction log table to track user conversions
2014-02-10 13:35:39 -08:00
r888888888
74aecae694
fix dmail test
2014-02-03 12:56:55 -08:00
Toks
6aedbcdc6e
fixes #2049
2014-01-11 14:34:03 -05:00
r888888888
ec7b9c39bb
remove migration for alias/impl fix, add logging
2014-01-03 16:51:46 -08:00
r888888888
08b245a7bd
remove expensive join in migration
2014-01-03 16:33:58 -08:00
Toks
c89a4907f9
Update migration
2013-12-28 19:37:15 -05:00
Toks
9caa41d30a
Fix implication antecedents with aliases
2013-12-28 18:56:34 -05:00
Toks
8055a7c64b
Fix order:comm and comment deletion for unbumped comments
...
fixes #1351 , fixes #1352
2013-12-24 20:59:19 -05:00
Toks
94c0318d03
fixes #2065
2013-12-16 22:03:06 -05:00
Toks
74e30ea25b
#1140 : Add indexes for noteupdater: and artcomm:
2013-12-09 13:18:48 -05:00
r888888888
327b52c2d3
add performance test for dtext, fixes #2051
2013-12-03 15:50:58 -08:00
Toks
d8104d2500
#1140 : Add multi-column creator/post indexes
2013-11-30 15:01:07 -05:00
r888888888
016fccbf0a
refactor
2013-11-20 16:56:59 -08:00
Toks
fd4c8c3cd3
Add artist commentary, fixes #2024
2013-11-19 10:37:02 -05:00
r888888888
e74dd4613a
fix Cache.delete
2013-10-21 11:07:15 -07:00
Toks
d7abbf2003
#1382 : cleanup
2013-10-06 17:18:08 -04:00
Toks
c5b5ca9825
fixes #1382
2013-10-06 16:56:39 -04:00
r888888888
9e45158423
fixes #1099
2013-09-26 17:21:59 -07:00
Toks
05a1da1b40
fixes #1952
2013-09-17 10:59:21 -04:00
r888888888
49d2df80f6
add basic support for safe mode
2013-07-17 13:59:44 -07:00
r888888888
01057a9cd5
fix migrations
2013-07-16 17:09:04 -07:00
Toks
7fc16c14b1
fixes #1817
2013-07-12 18:29:11 -04:00
r888888888
774dadf7a5
fixes #1728
2013-06-20 15:10:39 -07:00
r888888888
9b7d887c48
add statement timeout for migration
2013-06-18 20:44:34 -07:00
r888888888
97a1550d2e
potential fix for #1745
2013-06-18 16:10:30 -07:00
r888888888
f16f530eea
fixes #1747
2013-06-18 16:06:48 -07:00
r888888888
f16178623b
add categories to forum topics
2013-06-06 16:18:04 -07:00
r888888888
9df5952778
typo fix
2013-05-29 13:21:24 -07:00
Toks
a9efb93e99
add category field to pools
2013-05-06 12:14:42 -04:00
r888888888
3f3a7051c5
fix migration
2013-04-26 23:21:22 -07:00
r888888888
e861425315
stopgap measure for #1210
2013-04-26 17:54:46 -07:00
Toks
69e5ca68bf
fixes #1420
2013-04-24 08:51:23 -04:00
r888888888
e2a38ebc17
fixes #1284
2013-04-21 11:36:43 -07:00
r888888888
7a747e9ac0
fixes #1371 , additional fixes to seed script
2013-04-19 15:21:43 -07:00
r888888888
36bbda3d45
fixes #1085
2013-04-18 00:04:51 -07:00
Toks
53ee04d6a2
fixes #619
2013-04-17 20:09:48 -04:00
r888888888
2dfa616f33
fixes #1350 , better db:seed script
2013-04-16 20:23:02 -07:00
r888888888
6caa0f0436
fix tests
2013-04-14 22:24:55 -07:00
albert
c17ab321be
fixes #1224
2013-04-09 15:20:34 -04:00
albert
e305f8e501
fixes #1154
2013-03-31 22:16:31 -04:00
albert
fb7b82d60a
fixes #942
2013-03-31 21:36:44 -04:00
albert
b751aaf7cf
fix index
2013-03-31 15:08:54 -04:00
albert
a234bf0836
fix pixiv id migration
2013-03-31 15:06:23 -04:00
albert
e2c2a8309d
add pixiv id search
2013-03-31 14:43:54 -04:00
albert
fc32a0023c
add weekly maintenance script
2013-03-31 14:11:48 -04:00
albert
a1675c65a8
fixes #1144
2013-03-30 15:18:52 -04:00
albert
4f8cd6006c
fixes for source pattern search, fixed tests
2013-03-29 11:28:01 -04:00
Coconut
844a077599
Strip junk from Pixiv URLs before indexing, #726
2013-03-29 10:27:55 -04:00
albert
520e97485b
add support for user name changes
2013-03-26 01:03:42 -04:00
albert
faada9f87b
fixes
2013-03-23 12:12:54 -04:00
albert
2378e91006
fixes #841
2013-03-23 12:06:49 -04:00
albert
0cfaed99e0
fixes #1056
2013-03-23 11:49:25 -04:00
albert
a4b67fa072
fix tests and typo bugs
2013-03-22 18:54:37 -04:00
albert
4dcc21a97a
fixes #948
2013-03-22 10:47:24 -07:00
albert
3e4d149d28
fixes #959
2013-03-22 10:38:37 -07:00
albert
6c54d89a36
* All users can now view deleted posts.
...
* Posts now have an is_banned flag for artist removal requests. Basic users can not view banned posts but gold and higher can.
* Banning an artist both deletes the post and bans it.
* By default deleted posts are not filtered out of post searches at the sql level.
2013-03-22 09:38:53 -07:00
albert
8d02918618
remove up/down score from posts
2013-03-21 07:57:32 -07:00
albert
ed70b09e5e
fixes #989
2013-03-20 00:13:35 -07:00
小太
cba839ba76
Kill trailing whitespace in ruby files
2013-03-19 23:10:10 +11:00
albert
0d6ecf25c0
fixes #889
2013-03-18 16:19:09 -07:00
albert
97a3db2c80
fix migration
2013-03-18 03:32:40 -04:00
albert
d21c4500d2
fixed tests
2013-03-18 03:26:02 -04:00
albert
a52eb3ddc2
fixes #848
2013-03-17 23:13:47 -04:00
albert
34d7e337ac
fixes #911
2013-03-17 21:27:17 -04:00
albert
28a40aeee4
fixes #925
2013-03-17 20:33:25 -04:00
albert
1a03f49adc
fixes #775
2013-03-08 15:56:24 -05:00
albert
d907dfedbb
add new options for moving nav links
2013-03-07 18:31:20 -05:00
albert
d38c423065
add test cases
2013-03-06 19:24:58 -05:00
Coconut
3fd375b23a
Added pixiv: metatag and Pixiv source indexes
...
Adds a pixiv: metatag to quickly find posts by Pixiv ID. Adds
source:pixiv/* searches to allow left-anchored source searches for Pixiv
sources. Added relevant indexes to make these queries efficient.
2013-03-06 12:19:20 -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
23c0cb5529
add post previews to user profile, improved ui for tag subscriptions
2013-02-21 18:18:08 -05:00
albert
d7fb091bd1
fix pool version ordering
2013-02-21 16:48:46 -05:00
albert
aafcf34461
disable block on exclude-tag-only searches (statement timeout will prevent abuse)
2013-02-21 11:34:46 -05:00
albert
44028b8b95
update migrations
2013-02-20 23:02:43 -05:00
albert
ed9e0930d6
fix nav bar highlighting
2013-02-20 22:59:31 -05:00
albert
efaae104fb
add index on post_versions.updated_at
2013-02-20 22:24:14 -05:00
albert
0343220f8e
fixes #404
2013-02-19 13:50:30 -05:00
albert
e678427ee7
new migration
2013-02-19 12:16:04 -05:00
albert
086e70db54
Fixes #361
2013-01-22 14:41:16 -05:00
albert
7bca79e71a
fixesg
2013-01-14 11:23:43 -05:00
albert
13271e9bf5
work on refactoring search
2013-01-08 15:53:21 -05:00
albert
dab4f2f559
add migration
2013-01-06 16:08:42 -05:00
albert
964f74d6cd
fixes
2012-09-21 15:41:05 -04:00
albert
f5405c8c67
compatibility for postgres 8.4
2012-08-30 14:45:01 -04:00
albert
e7d6b8c449
maintain current directory structure for images
2012-08-21 18:29:09 -04:00
albert
1ef7ef49a5
added share links, moved image resize back to notice banner style
2012-03-30 14:28:46 -04:00
albert
779d83e253
fixed pool deletion logic
2012-03-15 18:26:39 -04:00
albert
7269ec0076
removed small image support
2012-03-13 18:28:32 -04:00
albert
dd5a965884
fixes
2012-03-12 17:50:45 -04:00
albert
2e4d417de1
added indexes
2012-01-18 16:59:06 -05:00
albert
673ff02fcf
tag set presenter
2012-01-14 14:31:09 -05:00
albert
8fffa9747f
fix attr_accessible
2011-12-14 11:19:58 -05:00
albert
3b961481f3
upgrade schema fixes
2011-11-09 11:22:45 -05:00
albert
5158d1b274
fixes for upgrade schema script
2011-11-06 10:12:23 -05:00
albert
694eefd314
fix upload test
2011-11-03 14:49:47 -04:00
albert
461fe9a6dc
added news updates ui
2011-11-01 17:51:15 -04:00
albert
cdc958d4f3
added cached columns for post update count, post upload count, note update count, favorite count to users; fixed tests
2011-11-01 13:45:26 -04:00
albert
115f22921a
fixes to upgrade schema
2011-10-31 18:24:51 -04:00
albert
be9e559fb1
* Implement is_status_locked on posts
2011-10-30 02:00:33 -04:00
albert
1fc7907374
spoiler tags are now inline
2011-10-24 13:49:45 -04:00
albert
69044f3389
reverted post version tag change for danbooru2
2011-10-22 21:34:32 -04:00
albert
a7267cf00b
fixed tests
2011-10-16 01:40:42 -04:00
albert
d324f4a071
refactored login process, added remember option for login
2011-10-15 16:36:07 -04:00
albert
4abf66cf44
fixes #123 : Tags aren't alphabetized
2011-10-14 14:28:04 -04:00
albert
e011c36ffe
fixed tag category coloring, fixed tag category expiration when updating, work on migration
2011-10-10 17:08:29 -04:00
albert
c7aa04fa43
fixed tests
2011-09-29 13:33:16 -04:00
albert
323cee64ca
updated migrations
2011-09-16 16:58:22 -04:00
albert
0457fa144d
track when tag subscriptions are used (for pruning)
2011-09-16 15:43:43 -04:00
albert
abbaf7f7ec
more randomized seed data
2011-09-16 15:39:08 -04:00
albert
72bfac3d90
prevent the creation of users with empty string email addresses
2011-09-11 17:48:30 -04:00
albert
3395c97c65
fixed comment hiding
2011-09-11 16:40:58 -04:00
albert
a33bd94ba3
updated rails gem to 3.1.0 release
2011-09-06 11:07:54 -04:00
Robin Liao
851ff11576
Need to provide methods so we can identify when we're using the fallback method, and adjust tests accrodingly
2011-09-03 04:48:51 -07:00
albert
4265408581
fix tests
2011-08-23 17:22:38 -04:00
albert
c8067a4691
fixing jobs
2011-08-15 19:41:50 -04:00
albert
e106f70b6d
* Removed memcaching for TagImplication (too many latent race conditions)
...
* Added Post.exact_tag_match to skip normalization/metatag parsing
* Added DelayedJob support for tag alias/implication processing
2011-08-04 19:54:13 -04:00