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
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
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
Albert Yi
5a1ac41450
eliminate transaction log items table
2016-12-21 15:00:59 -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
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
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
30415d9e1e
add approver field to aliases/implications
2016-05-26 13:01:44 -07: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
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
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
Toks
558fd4d8ef
Include aliased tags in autocomplete
2015-04-04 12:06:06 -04: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
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
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
2b96040a30
fixes #2191
2014-08-12 17:03:16 -07:00
r888888888
6772566665
fixes #2166
2014-07-23 15:15:47 -07:00