Commit Graph

52 Commits

Author SHA1 Message Date
evazion
35b3398142 post_test.rb: add more metatag search tests. 2017-02-06 18:48:39 -06:00
evazion
e98e7f1ea7 Fix note_update_count increment test.
5) Failure:
NoteTest#test_: In all cases updating a note should increment the updater's note_update_count. [/home/danbooru/src/danbooru/test/unit/note_test.rb:113]:
"CurrentUser.note_update_count" didn't change by 1.
Expected: 1
  Actual: 0
2017-02-03 04:03:44 -06:00
r888888888
237c997ae1 remove usage of increment! #2835 2017-01-17 15:46:21 -08: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
evazion
c46b31aa9c Prevent reverting to foreign versions (fixes #2711). 2016-10-11 06:57:46 +00:00
Toks
6fe1a69e8e Don't merge note versions on deletion 2015-10-30 12:19:35 -04:00
Toks
aa9deb26e8 fixes #2512, fixes #2513 2015-09-09 00:20:19 -04:00
r888888888
341b29ce41 fix tests 2015-08-18 17:40:53 -07:00
r888888888
65d52ebb40 fixes #1897: the "version" field will be updated even when versions are merged 2015-08-06 15:21:06 -07:00
Toks
bdb5bb49da fix #2334 2015-01-15 13:15:56 -05:00
Toks
325fc3e864 fixes #2154 2015-01-03 14:13:53 -05:00
Toks
1b812f31f1 fixes #2226 2014-07-16 11:47:37 -04:00
Toks
772003a55a fixes #2217 2014-07-06 12:03:48 -04:00
r888888888
fad0ab7c93 fixes #2133 2014-04-16 17:43:34 -07:00
r888888888
71e3b1f928 fixes #1897 2014-03-18 12:56:36 -07:00
Toks
5d5caf5eea fixes #2102 2014-02-28 19:02:30 -05:00
Toks
81aa294b38 add Note#for_creator, Pool#name_matches 2013-12-07 22:05:42 -05:00
Toks
ecfcebe30a Add support for wildcard searches in text fields
#1663
2013-07-20 16:51:55 -04:00
Toks
d5d5235d9a simplify xml api methods 2013-06-23 12:12:51 -04:00
Toks
395f3d1342 hide index fields from api; closes #1739 2013-06-23 12:12:30 -04:00
Toks
e9593dd975 fixes #1664 2013-05-23 23:20:22 -04:00
Toks
ad60ae1739 Revert "fixes #1648"
This reverts commit a11bcf4dbd.
2013-05-20 20:35:29 -04:00
Lightforger
a11bcf4dbd fixes #1648 2013-05-21 03:17:18 +03:00
Toks
17af05b2b1 fixes #720 2013-05-18 16:25:46 -04:00
Toks
1a743356ce fixes #1396; expand tests 2013-05-06 20:01:34 -04:00
r888888888
ce10a72bb6 fixes #1396, fix tests 2013-05-03 17:29:41 -07:00
albert
4dcc21a97a fixes #948 2013-03-22 10:47:24 -07:00
albert
733fa2dd7b fixes #1028 2013-03-22 09:17:55 -07:00
小太
cba839ba76 Kill trailing whitespace in ruby files 2013-03-19 23:10:10 +11:00
albert
7b5a73a2d2 fixes #931 2013-03-18 09:33:45 -07:00
albert
c5ce14ac68 fixes #837 2013-03-11 13:14:25 -04:00
albert
9eff846978 fixes #754 2013-03-08 17:01:32 -05:00
albert
2338f004eb refactored tsquery sql to use rails escaping mechanisms 2013-03-07 16:34:12 -05:00
albert
e0fdda3103 fixes to model searches 2013-02-19 12:27:17 -05:00
albert
72b7651169 improved search methods 2013-01-11 17:13:55 -05:00
albert
8749c43b3e refactored search 2013-01-10 17:45:52 -05:00
albert
13271e9bf5 work on refactoring search 2013-01-08 15:53:21 -05:00
albert
80f34d08d9 revert default scope change 2013-01-07 17:24:03 -05:00
albert
040059c491 add default scopes to every model 2013-01-07 17:12:43 -05:00
albert
4cfe8faae9 fixed unit tests 2012-05-11 16:51:26 -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
4abf66cf44 fixes #123: Tags aren't alphabetized 2011-10-14 14:28:04 -04:00
albert
a16dfdf0dd fixes 2011-07-09 03:32:18 -04:00
albert
bd3af50e10 changes 2011-07-02 21:04:29 -04:00
albert
9e287726e3 work 2011-05-29 03:47:06 -04:00
albert
c5a9067e72 fixed unit tests 2011-01-22 03:01:15 -05:00
albert
d84818366b remove coverage 2011-01-20 17:41:54 -05:00
albert
a6dfd4f0f5 work on note views 2011-01-19 14:28:22 -05:00
albert
ad39553aac updated tests, switched to rails 3.0.0rc2 2010-08-26 14:36:02 -04:00
albert
5610731b35 sync 2010-08-18 18:42:33 -04:00