Commit Graph

2560 Commits

Author SHA1 Message Date
bsimpson63
ef99714d49 GoldPaymentController to handle IPN stuff 2013-02-15 14:10:33 -05:00
bsimpson63
c78c3dbdff Make gold.html handle negative gold_creddits. 2013-02-15 14:09:54 -05:00
bsimpson63
52aaaaeece Helper functions for gold IPN. 2013-02-15 14:09:53 -05:00
bsimpson63
7f5eb6b202 Only show PayPal button if there's a button to show. 2013-02-15 13:53:49 -05:00
bsimpson63
3fcf8c9c03 Move payment buttons to functions. 2013-02-15 13:53:38 -05:00
Chad Birch
48aee3dc06 Remove icon from disabled submit sidebox 2013-02-15 10:49:54 -08:00
Chad Birch
6d7d07cd11 Second submit button for text posts, remove subtitles
Also disable submit button in restricted/archived subs when logged out
2013-02-15 10:49:45 -08:00
Neil Williams
77efa9ab43 wrap-job: Don't cd into r2/r2/ when we just want to be in r2/.
This was causing Pygments to fail to import correctly in jobs since
r2/r2/ has a commands.py which was getting relatively imported by
accident. Yuck.
2013-02-14 14:18:47 -08:00
Neil Williams
775c795894 Use WebError Reporter objects for exception logging.
This brings log_q reporting and logging-based reporting (syslog)
together into one place as WebOb error reporters.
2013-02-14 14:18:47 -08:00
Neil Williams
3657de5d10 Clean up and document log.py.
This also removes module-level use of "g" or imports of r2.lib.amqp so
that importing this module is possible before the app is fully set up.
2013-02-14 14:17:26 -08:00
Max Goodman
09c572c964 Make ignore reports button a 2-state toggle button. 2013-02-14 13:55:05 -08:00
Jason Harvey
02bd09ae53 Adjust how and when builder shows reports and big_modbuttons.
Always show big_modbuttons on spamlistings (report listing, mod listing, etc).

Only display reports if ignore_reports is False or the user is admin.
2013-02-14 13:55:01 -08:00
Jason Harvey
8e212ca459 Add ignore/unignore reports functionality for moderators.
When a thing has ignore_reports, the thing is no longer added to the moderator
cached queries (reported queue, mod queue, etc) when a user reports it.
2013-02-14 13:54:04 -08:00
Jason Harvey
8aadbc34c9 Include link to /r/changelog in readme. 2013-02-13 23:28:29 -08:00
Andre D
85b2acc5ff wiki: Fix hidden revision visuals not working in opera. 2013-02-13 15:07:13 -08:00
Max Goodman
74a7141a63 Make the admin cookie HTTP only. 2013-02-13 15:07:13 -08:00
Alex Muller
87bd576689 Add width and height HTML attributes to static image in templates. 2013-02-13 15:07:13 -08:00
Ricky Ramirez
eb6f750684 reddit_base: Update last_visit on login. 2013-02-11 14:42:10 -08:00
Ricky Ramirez
9576d87ec6 reddit_base: Allow a forced override for last_visit. 2013-02-11 14:42:04 -08:00
Chad Birch
41812477d9 Encode strings from oEmbed scraper to UTF-8 2013-02-07 15:08:10 -08:00
Max Goodman
3942701650 Grammar make better. 2013-02-06 14:44:11 -08:00
Joe Alcorn
68b7bec70a Change commented -> comments in api docs 2013-02-06 14:33:22 -08:00
Andre D
8acc80504b wikitoc: Fix some headers ending up at the wrong level. 2013-02-06 14:33:22 -08:00
Andre D
c63c14ef39 wiki: Correct /wiki/revisions route priority. 2013-02-06 14:33:22 -08:00
Neil Williams
14f8f73513 Remove various unused configuration settings. 2013-02-06 14:33:22 -08:00
Neil Williams
a435173fcb Fix sr_moderator_invite_quota not being parsed correctly. 2013-02-06 14:33:22 -08:00
Neil Williams
3febc83d68 Remove obsolete query_cache configuration options.
Much new code expects the query cache to always be present, especially
for stuff that is 100% Cassandra based and doesn't even have a Postgres
query to back it. These options are just cluttering up our code since
they're useless now.
2013-02-06 14:33:22 -08:00
Neil Williams
472d07ab40 Remove lingering remnants of obsolete "translator" interface.
This was obsoleted by Transifex.
2013-02-06 14:33:22 -08:00
Neil Williams
5f916f5812 Remove unused QueryController.
This was part of the obsolete query queue system.
2013-02-06 14:33:22 -08:00
Ricky Ramirez
74fb7c2d78 static Makefile: Work around NFS hardlink bug. 2013-02-05 15:56:51 -08:00
Max Goodman
b291f5e040 Add a short README. 2013-02-04 18:33:12 -08:00
Chad Birch
44bfce4672 Move submit box above subreddit name/info/sidebar 2013-02-04 16:04:59 -08:00
Chad Birch
0b936e998d Change submit button text to say 'post' instead of 'link' 2013-02-04 16:04:52 -08:00
Max Goodman
768a8cb743 analytics: Use deferreds to prevent duplicate fetch-trackers requests. 2013-02-04 14:49:31 -08:00
Max Goodman
1870a3e474 analytics: (cleanup) Consolidate skip conditions. 2013-02-04 14:49:31 -08:00
Max Goodman
38c21e78d4 analytics: Don't send things with missing fullnames.
This fixes the "undefined-" item in fetch-trackers URLs. I believe I
brought on this bug by making .sponsorshipbox a placeholder even when
sponsorships don't exist.
2013-02-04 14:49:30 -08:00
Neil Williams
ad2e486e5d commentstree_q: Make it possible to skip updates for specific threads. 2013-02-04 14:42:39 -08:00
Neil Williams
203d1e86ea Use c instead of _DefaultSR to cache sr_ids.
_DefaultSR is a global instance and lives beyond a single request.
2013-02-04 13:02:46 -08:00
Neil Williams
fc41a253e6 Make rising usable from various fake subreddits as well. 2013-02-04 12:26:08 -08:00
Keith Mitchell
de2c4f1761 Add DateRange validation to /promoted/graph
* Add option to limit VDateRange to a maximum range
* Make datepicker slightly more flexible
* Show error on bad date ranges on /promoted/graph
2013-02-03 20:15:02 -08:00
Roger Ostrander
68d2bb9789 Domainban: Use a global watch 2013-02-01 16:39:35 -08:00
Max Goodman
f3ff1c4f3b Expose user over_18 setting to the me.json API. 2013-02-01 15:00:57 -08:00
Chad Birch
4662dcc409 Right-align 'suggest title' button 2013-02-01 14:42:01 -08:00
Chad Birch
264a3bc5f4 Attempt to remove site name from the end of title suggestions 2013-02-01 14:42:01 -08:00
Chad Birch
40b3093552 Use a User-Agent for suggest title urlopen()
This will fix the 429 errors on reddit urls (rate-limiting ourselves)
2013-02-01 14:42:01 -08:00
Neil Williams
c04d8a6ff6 Remove legacy buffet template renderer abstraction layer. 2013-02-01 14:39:29 -08:00
Neil Williams
7a81779ad7 Upgrade to Pylons 0.9.7. 2013-02-01 14:39:29 -08:00
Max Goodman
8f03edab72 Add "contest mode" for fairer best of 2012 voting threads.
When contest mode is enabled:

 * Comments are randomly sorted.
 * Comment scores are hidden.
 * Replies to top-level comments are hidden behind a toggle button.
2013-02-01 14:04:20 -08:00
Max Goodman
5a820ec40a Add "random" comment sort. 2013-02-01 14:04:19 -08:00
Joe Alcorn
be53f4c9e6 Update links on the rules page 2013-01-30 16:34:10 -08:00