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