Commit Graph

337 Commits

Author SHA1 Message Date
evazion
26e8b7144a Fix exception in h(post.source) when source is nil (fixes #2940).
Fixes this exception:

    TypeError exception raised

    no implicit conversion of nil into String
    app/presenters/presenter.rb:3:in `escapeHTML'
    app/presenters/presenter.rb:3:in `h'
    app/presenters/post_presenter.rb:91:in `data_attributes'
    app/presenters/post_presenter.rb:24:in `preview'
    app/presenters/post_set_presenters/base.rb:15:in `block in post_previews_html'
    app/presenters/post_set_presenters/base.rb:14:in `post_previews_html'
    app/views/posts/partials/index/_posts.html.erb:3:in `_app_views_posts_partials_index__posts_html_erb___2716396856929289512_70158315986180'
    app/views/posts/index.html.erb:39:in `_app_views_posts_index_html_erb__1345252938355811220_70158296799280'
    app/controllers/posts_controller.rb:16:in `index'
2017-03-25 23:43:20 -05:00
evazion
0793beded9 alias_and_implication_list: refactor alias/implication lookup.
Add alias and implications associations to Tag. Use them in
alias_and_implication list instead of duplicating the alias/implication
lookup code.
2017-03-23 02:47:21 -05:00
r888888888
19a82bde30 fix syntax error 2017-03-22 14:24:06 -07:00
evazion
d1debecd0b Fix XSS in post thumbnail data attributes. 2017-03-21 17:17:19 -05:00
r888888888
91c21b1bac fixes #2880: Change link from User page "Comments in xxxx posts" to comment_bumped 2017-03-21 14:05:32 -07:00
Albert Yi
92fe0c7b7c Merge pull request #2922 from evazion/fix-artcomm-fetch-source
When merging artcomms, list source as html page url, not image url.
2017-03-20 12:22:18 -07:00
r888888888
5cef0321f2 switch to use Cache.get_multi for tag types 2017-03-17 18:36:53 -07:00
evazion
2051981170 When merging artcomms, list source as html page url, not image url. 2017-03-16 18:09:59 -05:00
r888888888
da06bee0ab revamp saved search implementation 2017-03-15 15:36:48 -07:00
evazion
b80976bce7 modqueue: link tags, like they are in /comments. 2017-02-24 21:03:14 -06:00
r888888888
aa41c41572 fixes #2876: Changing approver/contributor privileges should log mod action 2017-02-14 12:46:54 -08:00
r888888888
ed8a8001f4 fixes #2859: search:uncategorized should search for uncategorized saved searches 2017-02-14 11:58:43 -08:00
evazion
ec653dce71 app/presenters: remove unused forum_post/note/post_version presenters. 2017-02-06 19:07:02 -06:00
r888888888
8a93fdf18f additional saved search fixes 2017-01-25 12:48:47 -08:00
r888888888
c7b5a4e229 add references to user statistics page about saved searches 2017-01-23 10:56:39 -08:00
evazion
1f325c19da Show previous usernames to members; link to actual change requests. 2017-01-11 13:07:39 -06:00
Albert Yi
62956be384 hide saved search functionality if not enabled 2016-12-21 14:53:39 -08:00
Albert Yi
ee4ebce4d7 support pool version archive 2016-12-21 11:43:46 -08:00
r888888888
5b48d272f2 add basic user revert functionality 2016-09-28 11:38:34 -07:00
r888888888
de9116947f fixes #2641 2016-08-26 15:52:37 -07:00
r888888888
6d20ecb20d fix typo in user presenter 2016-08-22 16:29:51 -07:00
r888888888
ccf95957f9 remove week scaling for popular searches 2016-08-22 15:15:08 -07:00
r888888888
d0bbe27217 include saved searches section in user profiles 2016-08-22 14:59:43 -07:00
r888888888
5de9adf0f5 work on saved searches embedded in user profiles 2016-08-19 17:33:42 -07:00
r888888888
27264501e0 disable tag backlinking on posts for anon users (helps with web crawlers) 2016-06-14 12:14:10 -07:00
r888888888
a90750f5e1 add tags to post file urls 2016-05-23 12:10:06 -07:00
r888888888
2a87aad34e implement super voters 2016-02-22 14:11:25 -08:00
r888888888
caf4a28b02 enable user privacy mode for displaying favorites 2016-02-22 12:18:19 -08:00
r888888888
26db5daf6a increase favorites shown per user for similar users report 2016-02-09 16:13:37 -08:00
r888888888
2dd4b4cbff add schema.org metatags 2016-02-09 14:02:47 -08:00
r888888888
7f9261b0cb strip syntax for meta description tag 2016-02-04 14:10:43 -08:00
r888888888
504674b288 add rel=nofollow in more places 2016-02-03 23:47:17 -08:00
Toks
910fb5cadd fixes #2574 2016-01-23 10:24:57 -05:00
r888888888
01ad7f6745 reduce fav requirement to 300, show score in similar user report 2016-01-13 17:38:48 -08:00
r888888888
18c84e4b0f account for https 2015-12-30 19:07:01 -08:00
r888888888
f3071e66ec add user similarity report 2015-12-30 18:13:59 -08:00
r888888888
09ca8df6b3 change user deletion scope from 120 days to 60 days 2015-10-19 14:33:05 -07:00
r888888888
5a853bcedb tweaks to new can_upload_free flag #2469 2015-10-15 16:23:30 -07:00
r888888888
6480864718 fixes #2469 2015-10-15 15:24:24 -07:00
Toks
a1642f1c74 Flag/appeal search: fix creator param not always being preserved 2015-09-24 10:11:05 -04:00
r888888888
e7c48dc939 fixes #2519: User profiles broken 2015-09-17 13:16:44 -07:00
r888888888
6297ff8638 reduce factor of comic uploads 2015-09-16 14:02:02 -07:00
r888888888
6e93dedf3d Merge branch 'new-upload-formula' 2015-09-11 15:46:44 -07:00
Toks
8a9488df94 Fix deleted posts not showing in favgroups 2015-09-07 19:49:30 -04:00
r888888888
cbe627b01a fixes #2494: Twitter bookmarklet: support uploading video 2015-08-27 14:56:25 -07:00
r888888888
ef59ae8886 enable audio for videos #2499 2015-08-26 13:54:34 -07:00
r888888888
e1a28ef117 Revert "Revert "updated formula for #2492""
This reverts commit 6a02e4f3f3.
2015-08-14 13:56:25 -07:00
r888888888
6a02e4f3f3 Revert "updated formula for #2492"
This reverts commit 04ded35e75.
2015-08-14 13:17:03 -07:00
r888888888
04ded35e75 updated formula for #2492 2015-08-13 15:18:27 -07:00
r888888888
86f0db5912 fixes #2488: Pool gallery has pools missing from the list 2015-08-13 11:46:09 -07:00