Sam
05efc8df16
BUGFIX: likes would cause whole post to re-render
2014-04-24 12:42:04 +10:00
Robin Ward
06913474b4
Add new class to expanded content so it can be styled
2014-04-05 15:01:28 -04:00
Robin Ward
b250aa36a0
Remote fetching of blog contents
2014-04-02 10:26:46 -04:00
Robin Ward
50fb048b99
Interface for expanding OP contents
2014-04-02 10:26:46 -04:00
riking
86774fa5c1
Simplify return statements
2014-03-18 18:23:15 -07:00
Régis Hanol
2b5e4c3919
BUGFIX: revision numbers were unbound in revision history UI
2014-03-14 17:25:02 +01:00
Neil Lalonde
283dc7dd2d
Trust level 4: add ability to edit any post and see edit history
2014-03-13 10:47:49 -04:00
Robin Ward
9f67d476ef
Add bookmarked class to bookmarks button. Also remove duplicated code,
...
use fewer observers.
2014-03-10 12:03:46 -04:00
Neil Lalonde
259295d865
Add post_edit_time_limit site setting to limit the how long a post can be edited and deleted by the author. Default is 1 year.
2014-01-09 11:55:04 -05:00
Robin Ward
a502266c42
Enable JSHINT's unused option. It caught a bunch of suspicious stuff which is fixed in this commit.
2013-12-30 13:30:22 -05:00
Régis Hanol
06dd7ffe3c
better revision history
2013-12-12 03:41:34 +01:00
Neil Lalonde
a9ab98ef9e
Auto-close time can be entered in 3 ways, so a topic can close at any time
2013-11-27 09:52:35 -05:00
Régis Hanol
482b752046
add edit reason when editing a post
2013-11-15 23:28:49 +01:00
Neil Lalonde
630ef0f322
Should be able to see edits to your own posts
2013-11-08 10:18:41 -05:00
Robin Ward
52c3457133
Site setting to support showing real names in posts. Also put back in type to search on site settings
2013-11-01 16:32:12 -04:00
Robin Ward
5689e314c5
Upgrade Ember to 1.1.2
2013-10-29 13:01:57 -04:00
Robin Ward
71c1b8b9b9
When deleting a post as staff, ask if you want to delete direct replies too
2013-09-05 11:03:34 -04:00
Robin Ward
f157ec1f91
Select +Replies for bulk operations
2013-09-05 11:03:29 -04:00
Neil Lalonde
117fc8db58
Change the way nuked users' posts are handled. Allow null in the user_id column of posts. Show these posts in the posts stream.
2013-09-04 15:42:21 -04:00
Robin Ward
7f69a58439
Replace Markdown parser.
2013-08-21 10:10:57 -04:00
Neil Lalonde
879652f055
Add setting edit_history_visible_to_public to control whether post edits can be viewed by everyone. Uncheck it so only staff users can see edits.
2013-08-12 11:12:20 -04:00
Robin Ward
86246a64eb
Convert Discourse.Site and Discourse.ScreenTrack to use Discourse.Singleton
2013-08-08 12:49:58 -04:00
Robin Ward
1c3804934e
Show the entire history of replies above a post when you expend "in reply to"
2013-08-06 17:43:10 -04:00
Neil Lalonde
9db0ac16a9
Add site setting delete_removed_posts_after to configure after how many hour posts that were deleted by their authors will be deleted
2013-08-02 13:35:52 -04:00
Robin Ward
08ebaf926b
Move deleted at into actions history, where it should be.
2013-07-29 14:46:25 -04:00
Sam
1f3c5cb656
allow end user to recover a post they delete
...
automatically delete stubs after 1 day
2013-07-22 17:48:47 +10:00
Sam
a3155858a0
Fix share URL for first post
2013-07-16 15:46:11 +10:00
Robin Ward
2aa487d2c8
Show who deleted a topic
2013-07-12 16:38:21 -04:00
Robin Ward
6ca5df0a09
Can recover deleted topics. Deleted topics show the first post as deleted in the UI.
2013-07-12 12:09:17 -04:00
Robin Ward
5eaae063f0
Discourse Macro Helpers + Minor Fix to Admin User View
2013-07-11 19:35:52 -04:00
Robin Ward
8ffe9e28d6
Shows who deleted a post
2013-07-10 16:22:49 -04:00
Robin Ward
1fef617818
Qunit tests for deleting posts on the front end. Support for deleted_by
...
property.
2013-07-10 16:21:13 -04:00
Neil Lalonde
cdf0754626
Show/update post edits count and icon after editing a post
2013-07-10 15:15:13 -04:00
Régis Hanol
924c5d65cb
wrapped I18n.lookup to inject the "js" namespace
2013-07-09 02:10:55 +02:00
Sam
d79aa917f1
add option suppress_reply_directly_above to stop suppressing the reply directly above
...
added a bunch of debugging information to help diagnose weird positioning issues
2013-07-08 11:13:45 +10:00
Robin Ward
11bb9aafc7
Extra tests for composer
2013-07-05 13:04:49 -04:00
Sam
d3cfb56000
buggy is reply directly below
2013-07-03 16:48:55 +10:00
Robin Ward
5770879472
Refactor: Move Topic Details into better objects, identity map, tests, query string filters
2013-07-02 10:36:46 -04:00
Amos L King
777e8c2012
Correct spelling of suppress
...
supress => suppress
Amos King @adkron <amos.l.king@gmail.com>
2013-06-20 23:44:27 -05:00
Neil Lalonde
c9556b4bb8
Remove bookmark from top right of post; move its functionality to the post menu button
2013-06-18 17:35:37 -04:00
Robin Ward
60fce196c7
More Qunit tests including a CLI runner
2013-06-18 13:44:20 -04:00
Sam
fa8a84f20c
removed sugar.js, port functionality to moment and underscore.js
...
bring in latest ace from local so we don't mess up with https
2013-06-11 15:27:26 +10:00
Ian Christian Myers
b61e10f9ad
All parameters for #create in PostsController pass through strong_parameters.
...
We are now explicitly whitelisting all parameters for Post creation. A nice side-effect is that it cleans up the #create action in PostsController. We can now trust that all parameters entering PostCreator are of a safe scalar type.
2013-06-07 01:29:25 -07:00
Robin Ward
57f97880e6
Refactor: Instead of getting currentUser from the Discourse namespace, use
...
`Discourse.User.current()`
2013-05-28 11:25:56 -04:00
Robin Ward
69bb70fbd3
Removed bindings to Discourse.site
2013-05-24 11:56:40 -04:00
Robin Ward
dee45d8dba
Changed elementId to be id
2013-05-20 15:31:05 -04:00
Neil Lalonde
9828c87525
Topic Auto-Close: admins and mods can set a topic to automatically close after a number of days
2013-05-13 12:53:52 -04:00
Sam
4f328e3e45
+x on files makes no sense unless they really are executable
...
rails in the script dir makes no sense, use binstubs or bundler instead
2013-05-09 17:35:15 +10:00
Robin Ward
bd99d5a40c
Calls to Discourse.ajax no longer need getURL -- will be done automatically.
2013-05-07 15:16:27 -04:00
Robin Ward
6cbcd6e4a6
The last of the callback style AJAX have been converted to promises.
2013-05-07 10:58:41 -04:00