Robin Ward
dd54736d06
Refactor: Removed the last of the references to Discourse.currentUser
.
2013-05-28 11:52:31 -04: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
55526e24d6
FIX: The title
attribute was missed when refactoring UserAction streams
2013-05-28 10:20:56 -04:00
Robin Ward
62a20f5655
FIX: Couldn't access "Uncategorized" category from category list.
2013-05-27 14:15:52 -04:00
Robin Ward
1879176e80
FIX: Invited by link was broken on user activity.
2013-05-27 11:05:41 -04:00
Robin Ward
74b661317c
FIX: User stream was loading the same page over and over once you scrolled past 60
...
items.
2013-05-25 14:08:09 -04:00
Neil Lalonde
ada79260b3
Change composer error message when title is too long or too short, and make sure the submit button is 'disabled' when title is too long
2013-05-24 17:10:07 -04:00
Neil Lalonde
d26b87bd3c
Add Site Setting allow_uncategorized_topics. Uncheck it to force people to choose a category for all new topics.
2013-05-24 16:56:43 -04:00
Neil Lalonde
e600b45155
Composer uses bouncing popup messages beside fields with invalid values when you click the submit button
2013-05-24 12:26:17 -04:00
Robin Ward
962f0dd5f9
Search correctly passes context data to server
2013-05-24 12:21:53 -04:00
Robin Ward
69bb70fbd3
Removed bindings to Discourse.site
2013-05-24 11:56:40 -04:00
Robin Ward
56764f817b
Fix JsHint
2013-05-24 11:02:17 -04:00
Robin Ward
1dae46021e
Category controller should use the correct category object
2013-05-24 10:57:26 -04:00
Sam
fc3c93d237
almost fixed the regression of not allowing top level filters
2013-05-24 09:54:39 +10:00
Robin Ward
0f296cd42b
Refactor + Fix: Wasn't correctly loading activity streams. Code is a lot more Ember-y now.
2013-05-22 12:06:37 -04:00
Robin Ward
046e6e5d86
Simplified grouping on user views, fixed issue with messages not loading on initial load. Really
...
simplified the restricted user route.
2013-05-21 11:50:01 -04:00
Robin Ward
dee45d8dba
Changed elementId
to be id
2013-05-20 15:31:05 -04:00
Neil Lalonde
f3282e33a3
Add tabs to category create/edit modal. Categories can have a default auto-close setting that applies to all new topics created in the category. Add rspec-given and write some integration tests. Tests for topic auto-close with category default
2013-05-17 11:05:35 -04:00
Robin Ward
a80ec535a3
Support for "Select All / Deselect All" while selecting posts to merge / delete.
2013-05-16 16:50:38 -04:00
Neil Lalonde
101ba5d8fe
Add Create Topic button to /categories page
2013-05-14 12:47:28 -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
Robin Ward
cf01c98d81
Experimental: Interface to Move Posts to an Existing Topic
2013-05-10 14:55:51 -04:00
Sam
942f168ab6
UI still a tad rough, but we have a first pass of secure categories
2013-05-10 16:47:47 +10:00
Sam
5280b3a01b
more group progress, UI getting there, controller mostly done
...
changed it so notify moderators goes to the moderators group
allow admins to grant self moderation and revoke self moderation
2013-05-09 17:37:34 +10: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
0d8c962fdf
Fix: Multi-Select should close when an operation succeeds. A little refactoring, too.
2013-05-08 12:04:10 -04:00
Sam
6b536dcde5
work in progress ... groups
2013-05-08 15:20:38 +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
0b4fc5d81c
Deprecate success
and error
in Discourse.ajax
2013-05-07 11:25:21 -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
Robin Ward
dfd423a188
Thanks JSHINT!
2013-05-07 10:33:04 -04:00
Robin Ward
be191a95da
More promises instead of callbacks.
2013-05-07 10:27:12 -04:00
Régis Hanol
4606cb4f3b
FIX: hide/show preview in composer preference is saved in local storage
2013-05-07 12:34:47 +02:00
Neil Lalonde
b944157d88
Fix edit uncategorized when on the /category/uncategorized page
2013-05-06 11:22:58 -04:00
Neil Lalonde
5b33992604
Fix a case when editing uncategorized all the hidden form controls become visible
2013-05-03 18:58:07 -04:00
Neil Lalonde
c6370a3479
Add ability to edit the uncategorized category name, color, and text_color in a modal
2013-05-03 17:55:04 -04:00
Régis Hanol
63b221970d
Add a clear pin link in the list topics view
2013-05-02 23:31:43 +02:00
Sam
cb9a89940a
display admin/mod status on user page
2013-05-02 17:40:44 +10:00
Neil Lalonde
6f0d68fe5f
Align star to the top of the line in topic list for topics showing excerpts
2013-04-30 12:35:41 -04:00
Neil Lalonde
f517fa6099
Oops, jshint fail. I never remember the triple equals
2013-04-29 16:46:49 -04:00
Neil Lalonde
442be64d5e
Show an excerpt of a pinned topic's body in the topic list
2013-04-29 16:37:19 -04:00
Régis Hanol
0b222550f7
flash draft status when requirements are not met for new users
2013-04-28 02:37:53 +02:00
Sam
f9e33ec6b8
store ip address and current user with incoming links
...
make links long an readable in share dialog
2013-04-26 16:18:55 +10:00
Merp
71d2903879
Bugfix for change password button in user preferences, fixed bad function parameter name passed to forgot_password.
2013-04-25 20:06:31 -04:00
Sam
f0d3500ada
Merge pull request #735 from kubabrecka/i18n_user_actions4
...
move i18n of UserActions to JS-side and make sentences translatable (take 3)
2013-04-25 15:53:17 -07:00
Sam
37867af1bb
track incoming links, amend share link to include user
...
fix pm styling
2013-04-24 18:05:35 +10:00
Neil Lalonde
72508d459b
Use heat map on views column in topic lists
2013-04-23 15:06:13 -04:00
Sam
f980b4d16e
fix regression
2013-04-22 18:06:59 +10:00
Régis Hanol
71df94369b
FIX: Where is a user notified that one of their actions has been throttled for the day?
2013-04-20 01:43:32 +02:00
Neil Lalonde
2c516400de
Fix links to topics with empty slug because they use non-ascii titles
2013-04-19 16:47:34 -04:00
Sam
4cea92c4e9
work in progress add support for groups
2013-04-19 10:34:39 +10:00
Neil Lalonde
372442bd1c
Make it possible to edit a category with an empty slug
2013-04-18 17:07:06 -04:00
Kuba Brecka
d355e42d73
move i18n of UserActions to JS-side and make sentences translatable (take 3)
2013-04-18 12:08:13 +02:00
Sam
4bd4e4e1c7
missing bits from user page rediscovered
2013-04-18 17:23:52 +10:00
Neil Lalonde
f6db90dae7
Add topic-creator class to post info on the left of a post if the poster started the topic
2013-04-17 11:41:22 -04:00
Sam
ea3c6d2e6f
fix jshint
2013-04-15 13:18:26 +10:00
Sam
2bdb53261b
don't treat notify user as a flag
2013-04-15 13:09:52 +10:00
Neil Lalonde
7bc80ea525
Oops i broke jshint again
2013-04-12 18:13:58 -04:00
Neil Lalonde
48d5cb02c2
Add email as a sharing option
2013-04-12 18:06:36 -04:00
Sam
0054416786
keep jshint happy :) need to reconfigure my vim jshint ...
2013-04-12 18:04:35 +10:00
Sam
e969eb14e8
added 2 new flag types: notify user and notify moderators
...
fixed up messed up user navigation
refactored
2013-04-12 17:55:45 +10:00
Sam
0f362c5474
this has been bugging me for ages, broken "fill your profile link" fixed AND bio updates when you save
2013-04-12 10:07:58 +10:00
Neil Lalonde
28ed4defe3
Merge pull request #692 from ZogStriP/fix-text-not-updated-when-changing-notifications
...
FIX: Text not updated when changing notifications after reading a topic
2013-04-10 10:54:44 -07:00
Neil Lalonde
03047b0ab0
Category is fetched from server when loading edit category modal, because topic_count needs to be up-to-date for the delete button to show/hide in a sane way
2013-04-10 12:08:24 -04:00
Régis Hanol
ebbd5af8bc
FIX: Text not updated when changing notifications after reading a topic
2013-04-10 15:41:06 +02:00
Robin Ward
1ce7a40084
Revert "Merge pull request #677 from kubabrecka/localization_user_actions2"
...
This reverts commit c3a426930b
, reversing
changes made to 9f9072bd9d
.
2013-04-09 12:33:32 -04:00
Robin Ward
c3a426930b
Merge pull request #677 from kubabrecka/localization_user_actions2
...
move i18n of UserActions to JS-side and make sentences translatable
2013-04-09 09:25:28 -07:00
Kuba Brecka
8d927418e8
move i18n of UserActions to JS-side and make sentences translatable
2013-04-08 22:54:08 +02:00
Robin Ward
75aeb9550f
Convert a bunch of callbacks to promises
2013-04-08 16:51:03 -04:00
Régis Hanol
f211b9601a
change title background to red when requirements are not met
2013-04-07 15:32:06 +02:00
Robin Ward
fa1ba6791b
Work in Progress: Content Editing in Admin Section
2013-04-04 17:26:22 -04:00
Sam
86cf7b1524
trust level 0 is highlighted in light gray as opposed to having special semantics around account age.
2013-04-04 12:24:23 +11:00
Robin Ward
33f349a1e6
Show all Hot rankings at once with a toggle button
2013-04-03 15:25:18 -04:00
Kuba Brecka
f957b0aee5
make post actions (likes, flags) translatable as whole sentences
2013-04-02 21:15:55 +02:00
Sam
f2f82ea83b
Merge pull request #614 from ZogStriP/implemented-cancel-image-upload
...
users can now cancel image upload
2013-04-01 17:39:17 -07:00
Robin Ward
61b5c0340e
Convert all Ajax calls to use Discourse.ajax()
2013-04-01 18:09:23 -04:00
Régis Hanol
cf9b5d1a3d
users can now cancel image upload
2013-04-01 19:01:29 +02:00
Régis Hanol
1668b5eab2
FIX: allows the selection of the default landing tab
2013-03-28 14:01:13 +01:00
Sam
0bcd142a81
Merge pull request #193 from tms/timing-is-everything
...
Make topic lists show last activity more intuitively
2013-03-27 22:57:44 -07:00
Robin Ward
e0fc7afc41
Fixes bug where progress looked weird when creating a new post.
2013-03-27 17:41:02 -04:00
Robin Ward
36269cfbaa
Rename 'popular' to 'latest'. First stab at 'Hot' tab.
2013-03-27 16:21:23 -04:00
Neil Lalonde
d1945057fd
Include topic title in share links with third parties
2013-03-27 16:01:46 -04:00
Robin Ward
994ab94107
Remove extra comma
2013-03-26 18:37:07 -04:00
Robin Ward
af7f6fea28
Can set the hotness
of a category. For the soon to be implemented "hotness" tab.
2013-03-26 18:08:58 -04:00
Neil Lalonde
5961ffc0e4
Add site setting to choose which share links to show and in what order
2013-03-26 17:17:37 -04:00
Robin Ward
a30c019275
Show totals in best of yellow thigny.
2013-03-26 15:40:30 -04:00
tms
172173eccc
Make topic lists show last activity more intuitively
2013-03-25 22:13:23 -04:00
Sam
c57ec611e1
basic api support
2013-03-25 18:04:46 -07:00
Sam
c2db546877
getAjax helper ... saves a lot of typing, we can extend later
2013-03-25 18:04:46 -07:00
Robin Ward
5c4b794a8c
Fixed a bunch of 'best of' errors and cleaned up JS.
2013-03-21 16:04:06 -04:00
Robin Ward
c541d9699c
Merge pull request #510 from ZogStriP/fix-can-t-click-on-avatars-when-on-my-profile-page
...
fix: can't click on avatars when on my profile page
2013-03-21 10:58:47 -07:00
Régis Hanol
d84309a7ba
fix: can't click on avatars when on my profile page
2013-03-21 18:55:42 +01:00
Wojciech Kocjan
910a622371
topic and admin dashboard not retrieving data properly when using prefix
2013-03-21 16:24:05 +01:00
Régis Hanol
f1015fd73a
updated PreloadStore API
...
so that it is more clear that we are deleting preloaded data once read
2013-03-20 16:26:46 +01:00
Sam
0e1174dbe8
Merge pull request #487 from ZogStriP/keep-favorite-title-in-sync-with-status
...
keep favorite/star button's title in sync with starred status
2013-03-18 21:48:12 -07:00
Régis Hanol
feecb1374a
consistent behavior of the composer's create button
2013-03-19 01:24:10 +01:00
Régis Hanol
967b03fcfc
keep favorite/star button's title in sync with starred status
2013-03-18 18:57:03 +01:00
Robin Ward
e1e1bdd0b1
Merge pull request #469 from wojciechka/master
...
Support for running discourse with a prefix (i.e. as http://servername/discourse )
2013-03-18 07:24:11 -07:00
Régis Hanol
83b8a3386f
fix: reply draft won't save
2013-03-16 18:14:54 +01:00
Wojciech Kocjan
e6ccc300dc
Support for running discourse with a prefix (i.e. as http://servername/discourse )
2013-03-16 00:01:21 +01:00
Robin Ward
1a60301a17
Merge branch 'fixes-topic-title-length-too-short' of git://github.com/ZogStriP/discourse
...
Conflicts:
app/assets/javascripts/discourse/controllers/composer_controller.js
app/assets/javascripts/discourse/views/composer_view.js
config/locales/client.en.yml
2013-03-15 16:49:17 -04:00
Robin Ward
76d8df6ac6
Merge pull request #462 from kubabrecka/colorpicker3
...
implement color picking from predefined set for category badges + option to change foreground color
2013-03-15 13:43:59 -07:00
Robin Ward
ad082cea70
Big commit:
...
- Support for a popup that shows similar topics
- Cleaned up a lot of Javascript
- Cleaned up use of Promises
2013-03-15 14:35:33 -04:00
Régis Hanol
aef014f439
displays the number of characters left when editing the topic title
2013-03-15 12:56:14 +01:00
nsahler
d398d13aed
- Mobile Reply-as-new fix
...
- Documentation
2013-03-14 11:02:13 -04:00
Kuba Brecka
8784c55188
implement color picking from predefined set for category badges + option to change foreground color
2013-03-14 14:16:57 +01:00
Robin Ward
a8c44d90a3
FIX: Title changes didn't always apply. Cleaned up some ugly JS.
2013-03-13 18:38:38 -04:00
Robin Ward
45674ef8e7
FIX: When a moderator made a post, their name wasn't highlighted until refresh
2013-03-13 13:59:42 -04:00
Robin Ward
42c7a65a05
When editing a post that is in reply to another post, show display meta data to that effect.
2013-03-13 12:00:38 -04:00
Sam
a663251bd4
regression
2013-03-13 02:33:32 -07:00
Sam
1d360a4f69
correct broke use streams
2013-03-12 21:45:55 -07:00
Sam
38f185355d
added options to disable quoting and open links in new tabs
...
fixed a some regressions
removed some dead code
fixed messages about constants being re-defined
2013-03-12 20:06:58 -07:00
Régis Hanol
439ac95b73
the composer will now count only significant whitespaces
2013-03-12 23:54:29 +01:00
Robin Ward
59c52a6c12
Small JSHint issue
2013-03-12 14:54:05 -04:00
Robin Ward
9d4c8ed323
Fixes bug with creating new topic due to edit text changing.
2013-03-12 14:43:41 -04:00
Robin Ward
a5a97f88cd
When editing a post, provide more information in the composer title
2013-03-12 13:34:27 -04:00
Kuba Brecka
ac47c36f8b
extract hardcoded "post {{number}}" into locale strings
2013-03-12 14:41:27 +01:00
Sam
91b507f4c4
if you try posting a reply and are looking at a different topic, pop this window up
2013-03-11 20:57:06 -07:00
Robin Ward
d1d4530efd
User Profile enhancements:
...
- Added PreloadStore support to avoid duplicate requests
- preliminary SEO
- Support for opengraph/twitter cards
2013-03-08 15:04:37 -05:00
Robin Ward
c5c1ddfa83
Merge pull request #385 from ZogStriP/highlight-first-of-loaded-topics
...
highlight the first of the newly loaded topics when scrolling
2013-03-08 08:48:30 -08:00
Robin Ward
f8d8272406
Cleaned up TopicUserSpec, introduces clearing of pinned topics
2013-03-07 12:19:25 -05:00
Régis Hanol
002776808f
highlight the first of the newly loaded topics when scrolling
2013-03-07 03:38:38 +01:00
Robin Ward
86af49e663
More Markdown refactoring - fixed bug with Pagedown not showing on user profile - replaced jQuery occurrences with $.
2013-03-05 15:39:21 -05:00
Robin Ward
1416bc7475
Some javascript refactoring: Move markdown functions into their own classs, remove extraneous window.
calls.
2013-03-05 14:53:55 -05:00
Régis Hanol
4fa4c15559
Quoting another reply won't satisfy the minimum character count ( fixes #180 )
2013-02-28 23:58:40 +01:00
Robin Ward
7d6e1f3e1c
Show likes even while logged out.
2013-02-27 11:22:03 -05:00
Robin Ward
1caf1e6b45
Clean up discourse.js
2013-02-26 15:20:06 -05:00
Robin Ward
e28594b94e
Ack! Messed up the jshint again. I gotta get better about this.
2013-02-25 18:43:45 -05:00
Robin Ward
397c6ca761
Better error messages when topics can't load
2013-02-25 18:38:38 -05:00
Robin Ward
e461c84253
Clean up JS, add YUIDoc support, automatically create IIFE via asset pipeline
2013-02-25 17:16:57 -05:00
Robin Ward
532b1f5450
Can edit category descriptions, they show up in a title
attribute
2013-02-22 13:43:47 -05:00
Robin Ward
45ab3ab892
JS refactoring that fixes presence errors in earlier reverted commit.
2013-02-22 11:00:47 -05:00
tms
b1c1053cf1
Collapse user activity items loaded from message bus
2013-02-21 22:14:58 -05:00
Sam Saffron
2b5be29d3c
Revert "Remove old unused code."
...
This reverts commit 6a617348e5
.
2013-02-22 10:57:11 +11:00
Robin Ward
6a617348e5
Remove old unused code.
2013-02-21 16:17:56 -05:00
Robin Ward
f661fa609e
Convert all CoffeeScript to Javascript. See:
...
http://meta.discourse.org/t/is-it-better-for-discourse-to-use-javascript-or-coffeescript/3153
2013-02-20 19:01:13 -05:00
Robin Ward
a1f8dcebd1
Custom messages for the footers of all list views
2013-02-19 17:39:34 -05:00
Robin Ward
da59c15b72
Remove leftover sub-tag support.
2013-02-19 14:21:31 -05:00
Sam Saffron
d520771c73
move stylesheet cache into the upload dir so its less crazy to sync across servers
2013-02-19 11:02:00 +11:00
Sam Saffron
3be7bde401
stop onebox rapid fire
2013-02-19 10:33:07 +11:00
Sam Saffron
b9698e8d2f
fix loading message am message bus stuff
2013-02-18 19:37:12 +11:00
tms
fb5710b5d6
Improved action descriptions/links on user stream items
2013-02-17 01:38:20 -05:00
Robin Ward
fc1c120014
Arrows to navigate to embedded posts.
2013-02-15 15:17:57 -05:00
Sam Saffron
6132373fab
for some reason people seem to not understand why you can not submit close to empty posts, fix that
2013-02-15 12:20:17 +11:00
Robin Ward
37b0c168bf
Support non-english topic titles
2013-02-14 17:13:03 -05:00
Sam Saffron
87d83802b9
added option that allows users to decide when they consider topics new (default 2 days old or newer)
...
added site_setting to control the default new_topic_duration_minutes
added 10 minutes option for auto_track_topics_after_msecs, default bumped up to 5 mins
2013-02-14 17:36:14 +11:00
Sam Saffron
3bfdb2dd5b
missed this. was inserting dupes when loading more
2013-02-13 21:18:06 +11:00
Sam Saffron
161420fac0
Added method for testing ember stuff
...
Collapse user actions in UI so it stops looking crazy
Removed dud dupe user action TOPIC_RESPONSE
Always show the owner of a post on the user page, actions by others at the bottom
2013-02-13 20:38:43 +11:00
Robin Ward
d7f3241285
Option to supress replies button below a post, when its reply is directly following.
2013-02-12 14:35:21 -05:00
Robin Ward
25e9cfe3b8
Remove the distinction between "x replies below" and "x replies"
2013-02-08 17:10:18 -05:00
Robin Ward
12d3c3b66b
Enforce entropy on flag text
2013-02-08 17:01:43 -05:00
Robin Ward
084a873b91
Give regular users a delete button. If they click it, their post will be revised to
...
say it was deleted.
2013-02-07 15:14:23 -05:00
Jakub Arnold
61654ab8f0
Fix all the trailing whitespace
2013-02-07 16:45:24 +01:00
Sam Saffron
c7461622a9
admins can now clear flags inline
2013-02-07 15:15:48 +11:00
Neil Lalonde
471c61fd69
Add honeypot and challenge to signup form
2013-02-06 19:25:36 -05:00
Robin Ward
21b5628528
Initial release of Discourse
2013-02-05 14:16:51 -05:00