Commit Graph

1799 Commits

Author SHA1 Message Date
Andre D
8b85deb45b Subreddit: Missing json attribute prevstyle 2012-09-12 15:34:40 -07:00
Andre D
a65a35f031 Wiki: Fixed being able to create restricted pages 2012-09-11 21:29:20 -07:00
Andre D
9e5590d3ea Wiki: Fix typo 2012-09-11 21:29:20 -07:00
Andre D
345dfb3e43 Wiki: Fix xss involving page name 2012-09-11 21:29:20 -07:00
Andre D
1229a0e6c2 Wiki: Fix API typo 2012-09-11 21:29:20 -07:00
Andre D
a527104c0a Wiki: Correctly fix getting subreddit name from revision model 2012-09-11 21:29:20 -07:00
Andre D
d10ca35bbe Subreddit: Correct incorrect conflict exceptions 2012-09-11 21:29:20 -07:00
Andre D
024a7d55be Subreddit: Do not show wiki tab on fake subreddits 2012-09-11 21:29:20 -07:00
Andre D
90a777511f Wiki: Match image IDs with percent symbols like the stylesheet 2012-09-11 21:29:20 -07:00
Andre D
ac68957824 Wiki: Correct getting subreddit name from revision model 2012-09-11 21:29:20 -07:00
Andre D
78dd83a0ca Wiki: Small cleanup on wiki model 2012-09-11 21:29:20 -07:00
Andre D
0800900624 Wiki: Corrected wiki toolbox links 2012-09-11 21:29:20 -07:00
Andre D
76c7c9bf7c Wiki: Fix broken permission check for mod-only mode 2012-09-11 21:29:19 -07:00
Max Goodman
9fbdda300e wiki: Add some default wiki content styles. 2012-09-11 21:29:19 -07:00
Andre D
619ff0e762 Wiki: Fix names on listing showing up as unknown 2012-09-11 21:29:19 -07:00
Andre D
69876b1510 Wiki: fix broken recent revisions listing 2012-09-11 21:29:19 -07:00
Neil Williams
b3d79b4cf0 traffic: Fix missing import of moved TrafficViewerList. 2012-09-11 21:29:19 -07:00
Andre D
0c6943ed3a Correct broken css image filter 2012-09-11 21:29:19 -07:00
Andre D
19a02c4fd8 Wiki: Add various json endpoints 2012-09-11 15:43:07 -07:00
Andre D
0e25236146 Wiki: Add interface for banning and allowing users 2012-09-11 15:43:07 -07:00
Andre D
b83acc409d Wiki: Add revision listing builders 2012-09-11 15:43:07 -07:00
Andre D
c0d373fb67 Subreddit: Use wiki for stylesheet/description/sidebar 2012-09-11 15:43:07 -07:00
Andre D
edc1ddebaa Wiki: Base sylesheet 2012-09-11 15:43:07 -07:00
Andre D
5fe4e997d8 Wiki: Base wiki code
- Updates snudown dep
2012-09-11 15:43:07 -07:00
Andre D
ebab524e5d Diff3: Added diff3 wrapper 2012-09-11 15:36:38 -07:00
Andre D
3c70bc8a61 Subreddit: Insert fake sr modactions into the default sr 2012-09-11 15:36:38 -07:00
Andre D
74a926b621 Errors: Add more error handler codes 2012-09-11 15:36:38 -07:00
Andre D
5267642908 Errors: Add the ability to error with json 2012-09-11 15:36:38 -07:00
Andre D
1d64fa367c tdb_cassandra: Add the ability to remove items from views 2012-09-11 15:36:38 -07:00
Andre D
a131ae7084 Links: Add the ability to get links to urls rather than just articles 2012-09-11 15:36:38 -07:00
Andre D
a805fa6a44 tdb_cassandra: Fix unicode error in deserialization 2012-09-11 15:36:38 -07:00
bsimpson63
df32e50a70 DenormalizedView encodes dates to base64 before dumping to json. 2012-09-11 15:36:38 -07:00
bsimpson63
eab8a83da6 Add _on_commit hook for tdb_cassandra.ThingBase. 2012-09-11 15:36:38 -07:00
bsimpson63
051ec10e25 DenormalizedView that stores entire Thing in column. 2012-09-11 15:36:38 -07:00
Neil Williams
17a2e1c2f9 Make queue declarations and bindings plugin-friendly.
This allows plugins to declare queues and bind routing keys to them
using a declarative syntax.

This also removes some r2admin cruft from public.
2012-09-11 11:48:33 -07:00
Neil Williams
3147fc9ee5 amqp: Remove some dead code. 2012-09-11 11:48:33 -07:00
Neil Williams
91c6ab63a8 Locks: Pare down the traceback stored in the lock cache.
This reduces the size of the traceback data stored in the lock caches by
an order of magnitude. It is intended to help with the drastic imbalance
in lock cache network usage.
2012-09-11 11:08:20 -07:00
Neil Williams
792c7d5ad5 Move stub admin-templates to root template directory.
This fixes the import of stub templates in open-source installs.

Before pluginization, the admin-stub templates were imported from the
admin sub-module of the templates directory if r2admin were not
available. Since we're not doing that logic anymore, these stub
templates need to move into the root template directory so they can be
found by the system.
2012-09-10 17:26:42 -07:00
Max Goodman
207f2ad17a plugins: Give later plugin routes precedence over former ones.
This is to be consistent with templates, js, and static files, where
later plugins can override former ones.
2012-09-10 17:26:42 -07:00
Max Goodman
b591a27628 plugins: Load plugins in the order listed in the .ini. 2012-09-10 17:26:42 -07:00
Max Goodman
bbafea9d71 PEP8 imports. 2012-09-10 17:26:41 -07:00
Max Goodman
203cce4378 plugins: Single template_dir and precedence over base templates. 2012-09-10 17:26:41 -07:00
Max Goodman
bfbe3e1532 Work around mako compiled template updating issue. 2012-09-10 17:26:41 -07:00
Max Goodman
2407a0cda6 s/reddit/subreddit. 2012-09-10 17:26:05 -07:00
Max Goodman
a4e06d6328 Save our kindhearted admin clippy readers a redirect. 2012-09-10 17:26:05 -07:00
Max Goodman
9f180b2e16 Pluralise moderators in the admin clippy message. 2012-09-10 17:26:05 -07:00
Max Goodman
0f12bd92bf Update admin clippy message to the new team page. 2012-09-10 17:26:05 -07:00
Keith Mitchell
5f116b09c8 Fix domain_override handling for approved sponsors 2012-09-10 17:26:05 -07:00
Neil Williams
c12c4082fd VotesByAccount: enable new LastModified stuff. 2012-09-10 14:09:59 -07:00
Neil Williams
e867dea55f DenormalizedRelation: Add in LastModified support.
I did an experiment to see if DenormalizedRelation would need the
LastModified stuff, since it takes heavy advantage of row-level bloom
filters. It turns out that there are a huge number of completely
not-found rows being fetched per second that LastModified would save us
from doing a round trip for.

Since LastModified is shared between several relations in a single
request, and CommentVote, Save, and Hide will be denormalized soon, this
should give us a good amount of savings in the long run.
2012-09-10 14:09:59 -07:00