Nick Sergeant
22c4699e7b
Only replace usernames when followed by a space to prevent replacing domains in emails that match usernames.
2013-06-01 23:37:46 -04:00
Nick Sergeant
496b798ca0
Properly encode unicode chars when rendering strings from slugs.
2013-05-29 10:27:13 -04:00
Nick Sergeant
31d96761fe
Download snipt as file functionality. Closes #83 .
2013-05-19 13:33:44 -04:00
Nick Sergeant
1bfa657957
Force unicode on redirect with tag_slug so we don't blow up on UTF-8 chars.
2013-05-19 11:08:20 -04:00
Nick Sergeant
2ebcfc18b1
Fix bug with unauthenticated users on search.
2013-05-09 01:34:30 -04:00
Nick Sergeant
9304e655b4
Finally introduce the ability to search only logged-in user's snipts. Closes #5 and #74 .
2013-05-09 00:38:24 -04:00
Nick Sergeant
9529e02c98
First iteration of new homepage.
2013-04-28 20:08:17 -04:00
Nick Sergeant
b631b78f33
Don't render JS either. For, you know, security.
2013-04-25 13:11:15 -04:00
Nick Sergeant
22be7892e2
Hey, lol, that's a bad idea.
...
https://twitter.com/stevelosh/status/327464336144605185
2013-04-25 12:52:40 -04:00
Nick Sergeant
093e22928e
On second thought, use a specific query param.
2013-04-25 12:33:23 -04:00
Nick Sergeant
4ae90f8678
Render HTML files as text/html in raw.
2013-04-25 12:32:31 -04:00
Nick Sergeant
99fcc5bad7
Don't restrict snipt-expand to blog posts.
2013-04-10 11:52:54 -04:00
Nick Sergeant
f3930c5343
Fix broken embed URLs.
2013-04-10 11:22:28 -04:00
Nick Sergeant
37ae0fd2cc
Herp. Not request.user, here.:
2013-04-05 10:24:24 -04:00
Nick Sergeant
55a973f971
Some user profile stuff.
2013-04-05 10:22:14 -04:00
Nick Sergeant
8e0cfc07e2
Basic support for mentioning Snipt users in Markdown posts.
2013-04-04 12:39:20 -04:00
Nick Sergeant
172e0855c3
Embedded tweets in Markdown posts.
2013-04-03 00:07:54 -04:00
Nick Sergeant
7ab815b387
Some redirects for old feed URLs
2013-03-26 13:18:40 -04:00
Nick Sergeant
cd4abcfc17
Whether or not to show comments link.
2013-03-25 22:41:52 -04:00
Nick Sergeant
6e6e7d8d1b
Style tweaks.
2013-03-25 22:23:55 -04:00
Nick Sergeant
3c36e43b0b
Starting work on proper line-numbering support.
2013-03-25 19:37:46 -04:00
Nick Sergeant
0600cbfa41
Strip created and modified from Snipt resource - they're not editable, anyway.
2013-03-25 19:18:33 -04:00
Nick Sergeant
2ebe353884
Disable update_list and delete_list for SniptResource.
2013-03-25 18:02:53 -04:00
Nick Sergeant
e669c5f25c
A massive amount of work upgrading the API to Tastypie >= 0.9.14 with new authorization schema.
2013-03-24 22:38:04 -04:00
Nick Sergeant
fb0142f249
Moar work on getting 1.5-ready.
2013-03-24 18:41:57 -04:00
Nick Sergeant
38c039a684
Starting work on API test suite and removing reference to Site object.
2013-03-24 17:21:04 -04:00
Nick Sergeant
8626b23ce7
Ability to change lexer on the fly in raw views.
2013-03-21 12:48:25 -04:00
Nick Sergeant
173e43d322
Redirect URL for snipt keys.
2013-03-15 17:10:04 -04:00
Nick Sergeant
e7b06a91a0
Raw / Raw Nice.
2013-03-15 14:58:56 -04:00
Nick Sergeant
d105dd57d6
Debug URL.
2013-03-15 14:38:21 -04:00
Nick Sergeant
0caaadd137
Fixing requirements.
2013-03-15 14:35:31 -04:00
Nick Sergeant
7c05eba32d
Raw URL stuff.
2013-03-15 14:19:28 -04:00
Nick Sergeant
b3f3d3436e
Raw for all.
2013-03-15 14:13:35 -04:00
Nick Sergeant
fe9c8282d9
Only verify field if field is not null.
2013-02-25 15:41:34 -05:00
Nick Sergeant
d3663dcd95
Fix broken default Gravatars.
2013-02-22 11:40:36 -05:00
Nick Sergeant
6822ae7666
Working on homepage and moving stuff around.
2013-02-21 21:30:03 -05:00
Nick Sergeant
d02a70795d
Herp to the derp
2013-02-13 10:52:08 -05:00
Nick Sergeant
7b11aac4a1
Don't 500 on blog-posts URL with non-users.
2013-02-13 10:15:54 -05:00
Nick Sergeant
610f36054f
Include all of a user's used lexers on PrivateUserResource.
2013-02-12 23:35:49 -05:00
Nick Sergeant
6a71301343
Fix bad reference to profile object now that we have a private profile resource.
2013-02-12 01:47:18 -05:00
Nick Sergeant
4ab1f2a623
Preliminary primary blog domain support.
2013-02-12 01:32:44 -05:00
Nick Sergeant
e3ff982eed
Sorry, only Pros can change account settings.
2013-02-12 01:13:22 -05:00
Nick Sergeant
79cf90b8d7
Holy mother of commits. Finishing up Account system.
2013-02-12 01:01:55 -05:00
Nick Sergeant
f2b2b46aa4
Report the bad field in the API error response.
2013-02-11 10:44:10 -05:00
Nick Sergeant
b9803755a1
Force validation on all account fields in the API.
2013-02-11 10:40:36 -05:00
Nick Sergeant
141814cbb8
Building out new Account system.
2013-02-11 00:40:11 -05:00
Nick Sergeant
83bda92684
Bringing Account information to the API.
2013-02-10 23:15:53 -05:00
Nick Sergeant
d1fcb2834d
More work on Account buildout.
2013-02-10 22:16:15 -05:00
Nick Sergeant
035ce1fb46
Working on new Account section.
2013-02-10 19:24:55 -05:00
Nick Sergeant
f5ccc64cd9
Link for blog posts. Closes #44
2013-02-08 21:01:23 -05:00
Nick Sergeant
ae3e034d2e
Don't show description on list views.
2013-02-08 14:25:44 -05:00
Nick Sergeant
39f19d9c1c
Descriptions!
2013-02-08 13:11:14 -05:00
Nick Sergeant
f6cb3ea7ed
Full-screen editing mode for Snipt Pro users.
2013-02-05 16:15:09 -05:00
Nick Sergeant
4221a4cb5d
Editor color themes for Pro users.
2013-02-05 15:24:51 -05:00
Nick Sergeant
f5bc4c66be
Don't show tags list if user doesn't have any.
2013-02-04 22:01:29 -05:00
Nick Sergeant
6e29fee3bd
Adding support for multiple editors for Pro users.
2013-02-04 14:40:45 -05:00
Nick Sergeant
8bea4dc3c8
Don't show public page promo if Pro.
2013-02-03 14:31:44 -05:00
Nick Sergeant
83cd48b0b2
Re-order the Sifter promo in sidebar.
2013-02-03 14:30:27 -05:00
Nick Sergeant
d7ca9fc5bd
Tweaking profile style a bit.
2013-02-03 14:25:00 -05:00
Nick Sergeant
1a9d45afa7
Re-enabling Disqus comments for public snipts only.
2013-02-03 11:31:19 -05:00
Nick Sergeant
e52fe5237e
Disabling Disqus.
2013-02-01 22:59:32 -05:00
Nick Sergeant
c608beabbd
Show go-pro to all non-Pro users (logged in or not)
2013-01-22 00:04:42 -05:00
Nick Sergeant
636255fe07
Pro promos.
2013-01-22 00:00:23 -05:00
Nick Sergeant
ac55f53229
Improve clickability of tags.
2013-01-21 18:00:10 -05:00
Nick Sergeant
338a46eb41
Haystack name change.
2013-01-20 13:42:18 -05:00
Nick Sergeant
1a7ffbcbbc
Haystack name change.
2013-01-20 13:41:16 -05:00
Nick Sergeant
d8bbb4c3c2
If I hired someone that wrote code like this, I would fire them.
2013-01-17 01:33:15 -05:00
Nick Sergeant
7e0eb4d86a
Blog domain URLs
2013-01-17 00:10:31 -05:00
Nick Sergeant
67e4f93b89
Aside for blogging page.
2013-01-16 23:40:16 -05:00
Nick Sergeant
6101eba95e
Bloggin -> bloggin
2013-01-16 23:38:13 -05:00
Nick Sergeant
1eeb63ae45
Snipt-page
2013-01-16 23:37:28 -05:00
Nick Sergeant
92493cf1a1
A big ass commit. This commit converts the existing manual blog domain and theme selection to an automatic process. Closes #8
2013-01-16 00:09:54 -05:00
Nick Sergeant
643b44b3ea
Finish up GitTip integration. Closes #4 .
2013-01-14 22:30:19 -05:00
Nick Sergeant
f9694455b6
Working on GitTip integration, for #4
2013-01-14 22:18:44 -05:00
Nick Sergeant
d476a4baf6
GitTip work.
2013-01-13 13:12:59 -05:00
Nick Sergeant
322223e295
Setup domain for witsoregon. This is getting old. This is bad software people, take note.
2013-01-10 21:46:03 -05:00
Nick Sergeant
2dd8d95188
Pro wording.
2013-01-10 12:16:29 -05:00
Nick Sergeant
e9b3af0e65
Monthly.
2013-01-10 12:08:37 -05:00
Nick Sergeant
14b65acab4
Fix for long snipts in list view.
2012-12-27 22:57:03 -05:00
Nick Sergeant
12f06a781d
Update Sifter URL.
2012-12-20 11:06:32 -05:00
Nick Sergeant
66ec8478a6
Moar Sifter.
2012-12-16 23:41:50 -05:00
Nick Sergeant
2dc50d3d95
Return a public snipt URL for favorited resources.
2012-11-23 08:53:42 -05:00
Nick Sergeant
2b7d90bda5
Remove Pro plug from non-logged-in users.
2012-10-21 13:10:02 -04:00
Nick Sergeant
80d5bba2a7
Active states for public tags.
2012-10-17 21:03:01 -04:00
Nick Sergeant
37665b10fe
A ton of stuff.
...
- Remove all Amazon related things.
- Remove all Carbon ads.
- Improve speed of the site by 80-90% by removing tag counts and hard-coding popular public tags.
- Provide a dedicated view for Favorited snipts, and remove the merging of favorited-snipt-tags into user tags (further improving performance).
2012-10-17 20:52:12 -04:00
Nick Sergeant
aa6deb9790
Probably not a good idea to have a 'Tweet this' button on private snipts.
2012-09-20 19:46:52 -04:00
Nick Sergeant
26592de82f
The whitespace handling in HTML is sometimes funny.
2012-09-18 19:57:20 -04:00
Nick Sergeant
d5175d75b6
Setup for Ashley
2012-09-18 12:37:11 -04:00
Nick Sergeant
081e51033b
Only show tweet buttons on detail
2012-09-17 22:41:12 -04:00
Nick Sergeant
9beb544fc9
Merge branch 'master' of github.com:nicksergeant/snipt
2012-09-17 20:32:32 -04:00
Nick Sergeant
29f927f142
Tweet buttons.
2012-09-17 20:31:45 -04:00
Nick Sergeant
b461d8ee74
Admin and stats on Pro
2012-09-17 13:36:06 -04:00
Nick Sergeant
5900c5d55e
Basic stats for Pro users.
2012-09-17 13:26:54 -04:00
Nick Sergeant
9e40a6af9e
Adding views col to Snipts.
2012-09-17 12:49:55 -04:00
Nick Sergeant
c8b2d2d6f9
fuck
2012-09-07 10:16:39 -04:00
Nick Sergeant
7a064baa48
Random for key
2012-09-07 10:12:52 -04:00
Nick Sergeant
5db7af9fc2
API updates
2012-08-27 12:01:37 -04:00
Nick Sergeant
9af7a0b27f
Going back to /yr
2012-08-21 10:15:12 -04:00
Nick Sergeant
04dc3ecbd8
Header for pro-adams theme.
2012-08-20 21:48:37 -04:00
Nick Sergeant
de3a2b62ed
Fix full abs url
2012-08-15 11:07:58 -04:00
Nick Sergeant
74f060dfec
HTTPS Vimeo
2012-08-14 20:04:58 -04:00
Nick Sergeant
1fafc99191
Yearly account option
2012-08-13 14:25:11 -04:00
Nick Sergeant
7942c872c4
Vimeo embeds
2012-08-13 10:21:50 -04:00
Nick Sergeant
2450a6f563
Monthly stuff
2012-08-11 10:20:38 -04:00
Nick Sergeant
0a05398a0f
Setup for rochacbruno.com.br
2012-08-09 15:47:27 -04:00
Nick Sergeant
5fc21d0447
Fix bug
2012-07-31 21:43:28 -04:00
Nick Sergeant
185165d0de
Fix broken add-new-snipt
2012-07-31 21:39:40 -04:00
Nick Sergeant
3a4d982054
Is pro on the API and js template
2012-07-31 15:35:12 -04:00
Nick Sergeant
70f65d17d0
GAH
2012-07-30 14:40:55 -04:00
Nick Sergeant
657d460b49
Remove site notice for Pro
2012-07-30 13:18:44 -04:00
Nick Sergeant
7c1b06891e
Carbon ads, adding filter for tags in API, working on adams theme
2012-07-30 12:51:02 -04:00
Nick Sergeant
109cafbcf6
Starting pro-adams theme.
2012-07-24 23:31:32 -04:00
Nick Sergeant
e46e7b5ece
Josh stuff
2012-07-23 13:02:39 -04:00
Nick Sergeant
e1f7477d25
Fake line numbers, ugh.
2012-07-23 10:43:19 -04:00
Nick Sergeant
9f0abed499
Only do that on non-markdown
2012-07-23 10:09:26 -04:00
Nick Sergeant
05c64e1c0c
Save snipt on render to re-render with linenos
2012-07-23 10:05:56 -04:00
Nick Sergeant
77e73354e3
Lots of work on CodeMirror
2012-07-22 22:25:33 -04:00
Nick Sergeant
27cb494e67
CodeMirror, bitches.
2012-07-20 20:43:16 -04:00
Nick Sergeant
ebedceb3bd
Dont show announcement to pro
2012-07-19 11:35:08 -04:00
Nick Sergeant
4ea368713f
Site announcement
2012-07-19 11:33:00 -04:00
Nick Sergeant
b7afdcc48b
Pro-everything
2012-07-19 00:39:43 -04:00
Nick Sergeant
20de153649
Fucking embeds
2012-07-18 20:17:34 -04:00
Nick Sergeant
3ba7bade46
Fucking embeds
2012-07-18 20:16:21 -04:00
Nick Sergeant
23b330578e
Fucking embeds
2012-07-18 20:15:07 -04:00
Nick Sergeant
5b2f628ed9
Snipt pro and edit embed styles
2012-07-16 12:41:31 -04:00
Nick Sergeant
3f198a7eb4
Search slug also.
2012-07-10 22:12:38 -04:00
Nick Sergeant
46aeaf86a4
Classes on snipt embeds
2012-07-09 10:58:23 -04:00
Nick Sergeant
34a1d06d0e
Support the removal of all tags.
2012-07-08 23:55:18 -04:00
Nick Sergeant
e97090ceb3
Caching
...
'
2012-07-08 23:21:36 -04:00
Nick Sergeant
160f82f20b
Amazon.
2012-07-08 12:25:15 -04:00
Nick Sergeant
bbba825a9d
Some publish_date shenanigans
2012-07-05 21:22:45 -04:00
Nick Sergeant
ebebf56545
Tmp
2012-07-05 20:07:49 -04:00
Nick Sergeant
febf301080
Fix bug where tags aren't saving
2012-07-04 11:03:09 -04:00
Nick Sergeant
aa2e26356b
All tags
2012-07-03 18:22:48 -04:00
Nick Sergeant
a1ba29e2ff
Kill carbon
2012-07-03 17:50:06 -04:00
Nick Sergeant
8f1de2e07c
Fix abs url for disqus
2012-07-03 12:39:02 -04:00
Nick Sergeant
041cac945b
Remove todos in API
2012-06-28 14:28:26 -07:00
Nick Sergeant
fa32388e97
More Pro stuff.
2012-06-26 16:38:38 -04:00
Nick Sergeant
5eb342edb3
Snipt key for full abs url
2012-06-23 22:56:10 -04:00
Nick Sergeant
2f2fa44a01
Snipt key for full abs url
2012-06-23 22:55:52 -04:00
Nick Sergeant
8cd637c006
Full absolute url in API snipt resource
2012-06-23 21:47:52 -04:00
Nick Sergeant
20715fdcee
Fuck tweet buttons
2012-06-23 15:30:07 -04:00
Nick Sergeant
a017f2ed6f
Carbon Ads
2012-06-22 10:31:47 -04:00
Nick Sergeant
2d07a81913
Only tweet button on detail
2012-06-21 15:38:35 -04:00
Nick Sergeant
b001116837
Don't track twitter buttons.
2012-06-21 15:36:35 -04:00
Nick Sergeant
b8a6e4db89
Tweet buttons.
2012-06-21 15:29:12 -04:00
Nick Sergeant
6046dc68e6
No mo carbon
2012-06-21 09:33:45 -04:00
Nick Sergeant
3dbc78e975
HTTPS Ads
2012-06-20 22:50:37 -04:00
Nick Sergeant
3d0ae080bf
Blog post published ates.
2012-06-19 23:19:44 -04:00
Nick Sergeant
2a949cd3f2
Show snipt-expand in tags list
2012-06-12 10:56:19 -04:00
Nick Sergeant
ad81ca1e20
Don't show snipt-expand in tags list
2012-06-12 10:56:04 -04:00
Nick Sergeant
78a7841518
Don't show snipt-expand in tags list
2012-06-12 10:55:35 -04:00
Nick Sergeant
ff55008701
Force expand
2012-06-12 10:52:55 -04:00
Nick Sergeant
0a1c8a0b90
HTTPS for YouTube
2012-06-12 10:34:16 -04:00
Nick Sergeant
61261d50d2
Kill ads
2012-06-12 10:16:08 -04:00
Nick Sergeant
180f710381
YouTube embeds in Markdown posts.
2012-06-11 15:53:56 -04:00
Nick Sergeant
e8d29139ec
Dashes for underscore users
2012-06-07 10:22:03 -04:00
Nick Sergeant
1d0ca012c1
Ads
2012-06-05 23:41:37 -04:00
Nick Sergeant
8a2e8b7833
Better noindex
2012-06-05 23:06:58 -04:00
Nick Sergeant
16f2c8ff23
A bunch of blog stuff.
2012-06-05 15:46:37 -04:00
Nick Sergeant
de0035e880
Byebye grappelli
2012-06-04 23:20:28 -04:00
Nick Sergeant
57d9f699dd
New blog styles.
2012-06-04 20:57:20 -04:00
Nick Sergeant
bcdfee8232
Modify regex to only grab 32 char keys
2012-06-04 18:28:42 -04:00
Nick Sergeant
48f6ee1107
Django 1.4 and naturaltime
2012-06-04 16:22:00 -04:00
Nick Sergeant
a77a01005a
Blog slugs
2012-06-04 15:58:03 -04:00
Nick Sergeant
79aa9b9a0a
Blogs
2012-06-01 21:05:25 -04:00
Nick Sergeant
639cfc30dc
Working on blog
2012-06-01 11:41:06 -04:00
Nick Sergeant
a55f79921e
Working on blog
2012-06-01 11:38:55 -04:00
Nick Sergeant
0e8508806d
Blogs
2012-06-01 01:21:28 -04:00
Nick Sergeant
8a31927ccb
Working on blogs.
2012-05-31 22:32:32 -04:00
Nick Sergeant
14c2d63ba5
Publish date instead
2012-05-29 23:05:38 -04:00
Nick Sergeant
4d1efbff7c
Fix
2012-05-29 23:00:31 -04:00
Nick Sergeant
1261ad70b0
Snipt codes
...
'
2012-05-29 22:57:23 -04:00
Nick Sergeant
d62c5cdff2
Fix failing creation in API
2012-05-29 10:49:42 -04:00
Nick Sergeant
fccf3025f7
Danger' && fab dep
2012-05-27 14:56:20 -04:00
Nick Sergeant
16d8279fc7
Publish date goodness.
2012-05-27 14:51:21 -04:00
Nick Sergeant
39e5178747
Fix username problems with blog
2012-05-27 13:38:12 -04:00
Nick Sergeant
4bb4221df0
Show blog_post in admin
2012-05-25 11:31:52 -04:00
Nick Sergeant
809d8c6771
Unlock blog post functionality
2012-05-25 11:05:47 -04:00
Nick Sergeant
112cb677e9
Blogs
2012-05-24 23:55:30 -04:00
Nick Sergeant
b12135eb90
Blog post functionality.
2012-05-24 22:20:06 -04:00
Nick Sergeant
e8be516c5c
Fix weird lineheight with inline block
2012-05-23 19:43:06 -04:00
Nick Sergeant
5704c0467e
Hopefully improve performance by reducing snipts-per-page
2012-05-22 13:15:06 -04:00
Nick Sergeant
6a0f0550b2
Index profile pages>
2012-05-21 13:48:43 -04:00
Nick Sergeant
8c361a6df5
Fucking Google
2012-05-21 11:32:10 -04:00
Nick Sergeant
e695d1fc2f
Fucking Google
2012-05-21 11:28:41 -04:00
Nick Sergeant
64656af9c6
Fucking Google
2012-05-21 11:26:22 -04:00
Nick Sergeant
982424e43a
Fucking Google
2012-05-21 11:25:56 -04:00
Nick Sergeant
ba47c1fd7a
Fucking Google
2012-05-21 11:23:17 -04:00
Nick Sergeant
13b2fc54ee
Fix amp
2012-05-21 11:21:12 -04:00
Nick Sergeant
19113e42ff
Fix amp
2012-05-21 11:17:16 -04:00
Nick Sergeant
7376827204
Remove ANTLR with Java Target lexer.
2012-05-20 22:05:29 -04:00
Nick Sergeant
fb8d8daac9
Blog icon
2012-05-16 21:44:26 -04:00
Nick Sergeant
4dbaa84dc2
Moving stuff around for sidebar.
2012-05-15 21:19:49 -04:00
Nick Sergeant
731685ef5f
Lexers
2012-05-15 20:10:50 -04:00
Nick Sergeant
714ebb9255
grav
2012-05-15 14:48:29 -04:00
Nick Sergeant
063d2acb90
Help on IRC
2012-05-15 10:53:12 -04:00
Nick Sergeant
ece2f58a83
Blog posts
2012-05-15 00:47:42 -04:00
Nick Sergeant
290d333b49
Blog posts
2012-05-15 00:45:48 -04:00
Nick Sergeant
a22cc14165
Don't collapse snipts on blog'
2012-05-15 00:41:05 -04:00