Max Goodman
cf70e146c1
Don't automatically commit model when adding/removing multi subreddits.
2013-07-24 16:53:54 -07:00
Max Goodman
4baf05d70e
Reduce listing chooser z-indexes
...
Fixes the "my subreddits" menu showing up beneath listing chooser tabs.
2013-07-24 16:53:54 -07:00
Max Goodman
ab5700c1f7
Remove absolute positioning for top tabs.
...
This was causing the "more" menu to be ppositioned without taking the
tabs into account.
2013-07-24 16:53:54 -07:00
Max Goodman
3657e2f93d
Throttle /api/multi/mine fetches.
2013-07-24 16:53:54 -07:00
Max Goodman
19482c6a0b
Add global multi model cache for model object sharing/reuse.
2013-07-24 16:53:53 -07:00
Max Goodman
66a1a837aa
Move multi right bar items into own view; add subscribe bubbles.
2013-07-24 16:53:53 -07:00
Max Goodman
79b98a4632
Camelcaseify "sr_name" template param.
2013-07-24 16:53:53 -07:00
Max Goodman
adc9f0fc36
Add status code to VSRByName errors.
...
This makes it easier to treat them as fatal in on_validation_error.
2013-07-24 16:53:53 -07:00
Max Goodman
00ba19dedb
Add search pages for LabeledMultis.
2013-07-24 16:53:53 -07:00
Max Goodman
a3381ab238
Move more stylesheet properties into BaseSite.
...
This fixes stylesheet usage on FakeSubreddits.
2013-07-24 16:53:53 -07:00
Max Goodman
79c5508c49
Strip /r/ and r/ from subreddit names entered into the sidebar UI.
2013-07-24 16:53:53 -07:00
Max Goodman
97cc413aae
Index multireddit subreddit lists by lowercase name.
...
This prevents dupes with different capitalization.
2013-07-24 16:53:53 -07:00
bsimpson63
7b65747702
Add LabeledMulti routes for rising and randomrising.
2013-07-24 16:53:53 -07:00
Max Goodman
8c7bbb3ec4
In multi subscribe bubbles, sort checked multis to the top.
2013-07-24 16:53:53 -07:00
Max Goodman
5829b50148
Sort multi and subreddit names alphabetically.
2013-07-24 16:53:53 -07:00
Max Goodman
95c3d83d41
Listen to correct event to update subscribe bubble when data loads.
2013-07-24 16:53:53 -07:00
Max Goodman
bb5a6f1100
bubble: Stop appending to parent element when hidden.
...
This avoids unintentional styling of bubble content within the parent
element when it is supposed to be hidden.
2013-07-24 16:53:53 -07:00
Max Goodman
490d981adc
Allow a static domain to be specified for subreddit stylesheets.
...
Since the S3 bucket we upload stylesheets to is not necessarily the same
as the rest of the statics, it is useful to be able to specify this
static domain separately.
2013-07-24 16:53:53 -07:00
Max Goodman
20132aa123
Add comments/moderator/misc minor listings for LabeledMultis.
...
Adds the following minor listings:
* comments
* gilded comments
* moderator util listings
* modlog
* messages
2013-07-24 16:53:53 -07:00
Max Goodman
229ee6f7a3
Allow admins to view and edit multis not owned by them.
2013-07-24 16:53:53 -07:00
Max Goodman
68d247388f
Only show the listing chooser on html pages.
...
This fixes a listing chooser template error on non-html styles.
2013-07-24 16:53:52 -07:00
Max Goodman
46a4457233
Explicitly set errors in VJSON, with error codes.
2013-07-24 16:53:52 -07:00
Max Goodman
6779827936
Remove default RedditError code.
...
This conflicts with the wiki's notion that error objects without codes
set aren't fatal.
2013-07-24 16:53:52 -07:00
Max Goodman
269c3c392a
Add simple URL-based multireddit title.
2013-07-24 16:53:52 -07:00
Max Goodman
19e6e4e7a1
Fix creating multis for users with capitals in their name.
2013-07-24 16:53:52 -07:00
Max Goodman
c7ffe74d0d
Clean up Subreddit _defaults whitespace.
...
Doing this in a separate commit for clarity.
2013-07-24 16:53:52 -07:00
Max Goodman
edbf16e920
Add _defaults dict to BaseSite and fix the MRO.
...
Making default values actual properties overrides the _defaults
__getattr__ logic in Things. Also, I needed to fix the ordering of the
parent classes so the Thing __getattr__ overrided the one in BaseSite.
2013-07-24 16:53:52 -07:00
Max Goodman
fedb7edd10
Add multi title property.
2013-07-24 16:53:52 -07:00
Max Goodman
1c91e4db7f
Remove unused (?) default property.
2013-07-24 16:53:52 -07:00
Max Goodman
b60e681514
Show working indicator when refreshing listings.
2013-07-24 16:53:52 -07:00
Max Goodman
c639218105
Switch back to only returning listing in bare request.
...
Including the extra behavior in content() means depending on the listing
type we get different DOM structure, which makes replacing the content
on the client side difficult. We probably don't want to change ad out
with every multi update anyway.
2013-07-24 16:53:52 -07:00
bsimpson63
31a1e14350
Update docstring for view_of.
2013-07-24 16:53:52 -07:00
bsimpson63
7934eca333
Use iteritems in add_srs.
2013-07-24 16:53:52 -07:00
bsimpson63
637e4b001c
Specify cassandra consistency levels for LabeledMulti.
2013-07-24 16:53:52 -07:00
Max Goodman
c0ae5a45e7
Add column validator for LabeledMulti date field.
2013-07-24 16:53:52 -07:00
Max Goodman
877bed49d6
Add missing emulateJSON setting.
2013-07-24 16:53:52 -07:00
Max Goodman
dae0da7f2f
Move front page "saved" tab to listing chooser.
2013-07-24 16:53:51 -07:00
Max Goodman
44632a67fd
Add a list of multis created to the user page sidebar.
2013-07-24 16:53:51 -07:00
Max Goodman
c28e756c42
Combine multi traffic into one name until stats system is smarter.
2013-07-24 16:53:51 -07:00
Max Goodman
6bc10248f5
Redirect /u/foo/m/bar to /user/foo/m/bar.
2013-07-24 16:53:51 -07:00
Max Goodman
b4b8df9d40
Multi frontend: listings, sidebar, and editing UI.
2013-07-24 16:53:51 -07:00
Max Goodman
c564d16159
Increase sprite distance to ease padding sprited elements.
2013-07-24 16:53:51 -07:00
Max Goodman
7cdee62f8e
Move multi / all info boxes above submit button.
2013-07-24 16:53:51 -07:00
Max Goodman
3f5b26bb48
Check if url starts with subreddit path before adding.
...
Fixes add_sr behavior for multi URLs.
2013-07-24 16:53:51 -07:00
Max Goodman
386e6dda39
Add case to menu selected matching logic for multis.
...
Since the multi name doesn't get stripped from the internal URL path
like for subreddits, we need to check for them slightly differently.
2013-07-24 16:53:51 -07:00
Max Goodman
9613d65d6e
Move subscribe button into own template / add sr name data attr.
2013-07-24 16:53:51 -07:00
Max Goodman
a531bc76df
Use $.Deferred to control working indicator display.
2013-07-24 16:53:51 -07:00
Max Goodman
c6483246d7
Add "bare" request param for reloading listing content in-page.
2013-07-24 16:53:51 -07:00
Max Goodman
38802df7ff
Move space compress defaulting into responsive() helper.
...
This allows calls to responsive() without "space_compress" set to
default to the global setting.
2013-07-24 16:53:51 -07:00
Max Goodman
2c4553fd24
Add utility for sending wrapped things in js_preload.
2013-07-24 16:53:51 -07:00