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
48d39d2f8c
Oops jshint fail again
2013-05-24 12:45:58 -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
a8ae81df4b
sorry this is meant to be staff styling :)
2013-05-24 13:32:57 +10:00
Sam
fc3c93d237
almost fixed the regression of not allowing top level filters
2013-05-24 09:54:39 +10:00
Robin Ward
84fd366322
Navigating should set a searchContext (unused right now).
2013-05-23 18:51:40 -04:00
Robin Ward
eb0c102931
Migration logic from SearchView to a controller, where it should be.
2013-05-23 17:42:57 -04:00
Erik Ordway
0bdee973a0
allow disabling of local logins. In the instance where an .edu is using cas they may not want a user to be able to log in once the users credentials have been revoked in the system that feeds the CAS authentication server. This is very optional
2013-05-23 13:44:14 -07:00
Erik Ordway
1575ce7b10
add cas support with a few tests
2013-05-23 13:40:50 -07: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
Jeff Atwood
7e3e6ab78d
icon tweak on merge/split
2013-05-20 12:34:15 -07:00
Robin Ward
dee45d8dba
Changed elementId
to be id
2013-05-20 15:31:05 -04:00
Robin Ward
42248a7164
Removed many unnecessary paths that included content.x
when just x
would do.
2013-05-20 15:27:58 -04:00
Robin Ward
9544cfd7dc
target="controller"
is unnecessary. By default it will target the controller.
2013-05-20 14:37:05 -04:00
Robin Ward
a79d53c628
Removed many unnecessary controller.
uses in templates.
2013-05-20 13:45:14 -04:00
Robin Ward
c7aebbf4d6
Replace Ember.Text* insertions with helpers.
2013-05-20 12:56:36 -04:00
Robin Ward
1097d51b33
Replaced {{view Discourse.TextField}} with {{textfield}} helper.
2013-05-20 12:47:59 -04:00
Robin Ward
b794830a25
Replaced Em.run.next
with the more proper Em.run.schedule('afterRender')
...
when we are waiting for rendering to finish.
2013-05-20 12:20:10 -04:00
Neil Lalonde
546a2b654a
Improve style of security tab of category modal
2013-05-17 16:09:52 -04:00
Neil Lalonde
2265c046ba
Some tweaks to category modal
2013-05-17 11:19:58 -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
Robin Ward
7daca77443
Remove modal state to choose move type. Instead use two buttons on the multi select popup, one
...
for split and one for merge.
2013-05-16 14:22:41 -04:00
Robin Ward
1e9497d9ef
FIX: Add unseen "*" icon on category list for new topics.
2013-05-16 13:36:58 -04:00
Robin Ward
d554a59102
Support for a new site setting: newuser_spam_host_threshold
. If a new user posts a link
...
to the same host enough tiles, they will not be able to post the same link again.
Additionally, the site will flag all their previous posts with links as spam and they will
be instantly hidden via the auto hide workflow.
2013-05-16 12:19:50 -04:00
Sam
7e1c5ae5b7
glyph in secure categories to the right, like pms
2013-05-16 16:55:07 +10:00
Sam
eb71e9de24
opening move, don't get rid of green notification till the pm is read
...
TODO a way to list all unread PMs
2013-05-16 16:37:47 +10:00
Régis Hanol
27dfb7a948
FIX: @username mentions when there are multiple code blocks in a post.
...
Meta: [All of my internal users show as coming from 127.0.0.1!](http://meta.discourse.org/t/all-of-my-internal-users-show-as-coming-from-127-0-0-1/6607 )
This fixes the regular expression used to identify @ inside <code> or <pre> blocks in the `postConversion` hook.
2013-05-16 01:59:07 +02:00
Robin Ward
b1bfda0e11
Don't show new user education when editing a reply.
2013-05-15 15:16:42 -04:00
Neil Lalonde
ae78954fc0
Fix the 'no more topics' message for categories with non-ascii names
2013-05-15 11:44:45 -04:00
Neil Lalonde
d4b8e727fc
Remove templateName from topic_closing_view because it doesn't use a template
2013-05-15 10:08:08 -04:00
Robin Ward
05ed2af08f
Add post count to similar posts popup. Fix alignment.
2013-05-14 16:53:17 -04:00
Neil Lalonde
101ba5d8fe
Add Create Topic button to /categories page
2013-05-14 12:47:28 -04:00
Neil Lalonde
957d95c1cc
Fix rerender of topic close message when you navigate away from a closing topic
2013-05-13 16:25:17 -04:00
Neil Lalonde
6d47d4854e
Don't reload the page when auto close time is changed
2013-05-13 16:25:17 -04:00
Neil Lalonde
b7cdee4d5c
Add title tag to the admin options button in the composer
2013-05-13 16:25:17 -04:00
Robin Ward
bdca804796
Add a touchend event to the admin menu. Hopefully helps IE11 Touch.
2013-05-13 15:29:16 -04:00
Robin Ward
be234ce9b9
You can now 'move' the first post of a topic to another topic as a merge. In that
...
case, the first post is cloned instead of being deleted from the original topic.
2013-05-13 14:07:31 -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
8900ba4779
Fixes staticController bug with requiring an HTML response.
2013-05-10 18:52:10 -04:00
Robin Ward
2f3dc63dd3
FIX: Oneboxes weren't being rendered
2013-05-10 18:50:05 -04:00
Robin Ward
cf01c98d81
Experimental: Interface to Move Posts to an Existing Topic
2013-05-10 14:55:51 -04:00
Régis Hanol
8ebed7a4b1
FIX: user education displays [object Object]
2013-05-10 15:15:21 +02: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
c1185d92eb
Trivial: Remove extra comma
2013-05-08 12:13:23 -04: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
Robin Ward
4200f4107b
Merge branch 'master' of github.com:discourse/discourse
2013-05-07 10:27:09 -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
Sam
20493106cd
fix post trashing
2013-05-07 17:56:56 +10:00
Robin Ward
397553e29c
More promises instead of callbacks.
2013-05-06 14:44:19 -04:00
Régis Hanol
53a430be9d
do not show the clic count in category tag
2013-05-06 19:40:39 +02:00
Neil Lalonde
b944157d88
Fix edit uncategorized when on the /category/uncategorized page
2013-05-06 11:22:58 -04:00
Régis Hanol
4470c05457
prepend the username in the participant alt-text in the topic list
2013-05-06 01:00:44 +02: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
Neil Lalonde
16bc215c68
Make enter key work to submit the signup form
2013-05-03 12:33:08 -04:00
Neil Lalonde
3c322e6d3d
Reply button at bottom of topic doesn't ask you to abandon your post when you click it more than once
2013-05-03 12:13:34 -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
99283e757f
staff rename forgotten
2013-05-02 20:08:32 +10:00
Sam
cb9a89940a
display admin/mod status on user page
2013-05-02 17:40:44 +10:00
Sam
5ec52bd2e9
:s/moderator?/staff/g ... our naming was kind of crazy, renamed moderator? to staff
2013-05-02 17:22:27 +10:00
Sam
65cd00cf25
moderators now have teeth, more at http://meta.discourse.org/t/moderator-permission-set/6307/5
...
allow pms to be targetted at groups
2013-05-02 15:15:53 +10:00
Régis Hanol
f71f7d166c
FIX: when topic is closed, you can still invite someone to reply
2013-05-02 02:22:54 +02:00
Sam
7276542231
firefox used to display "loading..." on back sometimes
2013-05-01 09:49:28 +10:00
Sam
58dbfa1b91
Merge pull request #796 from ZogStriP/fix-shift-clicks-on-links
...
FIX: shift+click on links
2013-04-30 16:02:24 -07:00
Jeff Atwood
180c021940
normalize on "private message" vs "conversation"
2013-04-30 13:54:14 -07: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
Régis Hanol
ff309cf024
FIX: shift+click on links
...
Default browser's behavior when shift+clicking was messed up.
This adds the shift key modifier to the list of click modifiers in both
`click_track` and `discourse`.
Also updated & refactored a bit the `click_track_spec`.
2013-04-30 15:48:58 +02:00
Fayimora Femi-Balogun
0cdeb88f29
Fix misspelling
2013-04-30 11:09:30 +02:00
Régis Hanol
52bad538a1
FIX: Shift+Click to select text does not work in topics
2013-04-30 03:16:38 +02: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
Sam
c850dd9f88
Merge pull request #784 from ZogStriP/fix-right-click-on-selection-deselects
...
FIX: right click on selection deselects
2013-04-28 19:01:55 -07:00
Régis Hanol
ede9d2a0a8
show diff in post history view
2013-04-29 03:20:51 +02:00
Régis Hanol
a651270c09
FIX: right click on selection deselects
2013-04-29 01:38:14 +02:00
Régis Hanol
0b222550f7
flash draft status when requirements are not met for new users
2013-04-28 02:37:53 +02:00
Régis Hanol
dca2fbcefc
add meaningful error message on upload [ fixes #773 ]
2013-04-27 20:26:17 +02:00
Jeff Atwood
eae2e74152
Merge pull request #774 from ZogStriP/patch-1
...
force the browse dialog to only accept images...
2013-04-26 17:15:09 -07:00
Jeff Atwood
514df5441a
these parens!
2013-04-26 15:32:26 -07:00
Jeff Atwood
2e2160f964
oops my bad
2013-04-26 15:26:59 -07:00
Jeff Atwood
01e0226086
ignore username matches inside <pre> or <code>
...
also remember, lazy ? faster than greedy, less backtracking
2013-04-26 15:11:26 -07:00
Jeff Atwood
dd9ea50456
fix username lookup regex for mentions
2013-04-26 14:34:12 -07:00
Régis Hanol
07b9c47efe
force the browse dialog to only accept images
...
on image upload
2013-04-26 13:56:05 +03: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
Régis Hanol
03d3c738c3
improve & refactor quote reply
2013-04-25 03:22:35 +02:00
Neil Lalonde
23a069c907
Show heatmap for views in suggested topics
2013-04-24 11:51:33 -04: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
Régis Hanol
451a818162
do not display clicks count in oneboxes
2013-04-22 20:21:29 +02:00
Sam
f980b4d16e
fix regression
2013-04-22 18:06:59 +10:00
Sam
cfc62dadff
speed up tests
...
add the ability to find the first notify private message
2013-04-22 17:45:03 +10:00
Jeff Atwood
316f744ad7
Merge pull request #752 from ZogStriP/add-autocomplete-support-for-plus-and-minus
...
Add '+' and '-' support to the autocomplete plugin
2013-04-21 20:44:21 -07:00
Sam
fd035cf777
thinking about it .. WE ALWAYS track external links. WE DON'T display external link counts inside oneboxes.
...
Reverting to old behavior so we can fix properly
2013-04-22 10:42:12 +10:00
Sam
4f5ed10b83
click tracking broken for AGES
2013-04-22 10:00:38 +10:00
Régis Hanol
ea23f637e1
Add '+' and '-' support to the autocomplete plugin
2013-04-22 01:43:41 +02: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
Jeff Atwood
8c8784abb6
simplify user profile layout, bold labels
2013-04-19 15:06:35 -07: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
Neil Lalonde
62a746fb68
A pathetic attempt to get html markup to work in category descriptions. Link will still mangle it, but simple bold, italics, etc. will work.
2013-04-19 12:41:34 -04:00
Sam
de9ca54aed
* event machine fix is critical (long polling has been broken)
...
* thin upgrade
* work in progress - groups
* fix live-refresh in dev
2013-04-19 13:06:00 +10:00
Sam
4cea92c4e9
work in progress add support for groups
2013-04-19 10:34:39 +10:00
Sam
a6170db443
change text to notify when you are notifying in the flag dialog
2013-04-19 10:34:06 +10:00
Neil Lalonde
372442bd1c
Make it possible to edit a category with an empty slug
2013-04-18 17:07:06 -04:00
Neil Lalonde
4cec82f416
Merge pull request #731 from kubabrecka/extract_titles
...
extracting some hardcoded title="..." strings
2013-04-18 09:29:03 -07: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
Kuba Brecka
2901b5bbef
extracting some hardcoded title="..." strings
2013-04-18 10:42:29 +02:00
Sam
4bd4e4e1c7
missing bits from user page rediscovered
2013-04-18 17:23:52 +10:00
Jeff Atwood
474080a414
localize composer toggler help text
2013-04-17 23:14:58 -07:00
Régis Hanol
e76f629df8
Text Cleaner now removes all periods from the end of the title
2013-04-18 00:19:42 +02: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
Jeff Atwood
72be25c30a
improve invite users action button
2013-04-16 14:53:06 -07:00
Wojciech Kocjan
8a63b46adc
Fix for notifications not being shown when running with prefix
2013-04-16 11:46:16 +02:00
Régis Hanol
b24c1a1ad9
better consistency around email case sensitivity
2013-04-15 02:20:33 +02: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
Sam
5bca572321
Merge pull request #701 from lsdafjklsd/patch-1
...
Fixed typo
2013-04-12 16:06:50 -07: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
Neil Lalonde
651cfba93f
Add ability to destroy a user with 0 posts
2013-04-12 16:53:00 -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
Ryan Haywood
57e16613cb
Fixed typo
2013-04-11 17:42:52 -03:00
Neil Lalonde
e2ff5a1898
Use a button for the 'visit category topic' link
2013-04-11 11:43:08 -04:00
Neil Lalonde
7b76447e5e
Change edit category modal submit button text to Save Category
2013-04-11 10:50:25 -04:00
Sam
3860a9302b
fix quote reply regression
2013-04-11 16:32:56 +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
Neil Lalonde
5d46478e38
Add UI to delete an empty category
2013-04-10 12:08:23 -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
Sam
ab9c55689e
don't error out if no range is selected
2013-04-10 17:49:25 +10:00
Robin Ward
00f9e628e0
Don't apply markdown to content of [quote] -- it messes up spacing.
2013-04-09 17:32:50 -04:00
Neil Lalonde
78d9b44106
Show custom colours in colour picker too
2013-04-09 12:52:22 -04: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
5ba9e484f8
Merge pull request #650 from wojciechka/double_prefix_fix
...
Detect and remove prefix being added twice when going to pages already in history
2013-04-09 09:30:01 -07: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
Wojciech Kocjan
3cf240ada8
Detect and remove prefix being added twice when going to pages already in history.
2013-04-09 12:12:27 +02:00
Neil Lalonde
64eeb7f21e
jshint made me break my code. Change logic to fix usedBackgroundColors and make jshint happy
2013-04-08 19:18:24 -04:00
Neil Lalonde
93f36cdf93
Show which category colors have already been used when creating/editing a category
2013-04-08 18:33:51 -04:00
Régis Hanol
2424a656e8
improve quote reply selection
2013-04-08 23:44:12 +02: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
Robin Ward
02bab415bd
Convert Autocomplete to use promises
2013-04-08 14:59:00 -04:00
Robin Ward
6c983218b3
Clean up JS
2013-04-08 14:58:17 -04:00
Neil Lalonde
0f767ca227
Trim category description at 200 chars in category combobox
2013-04-08 12:18:19 -04:00
Neil Lalonde
467d59ec5a
Merge some work: topic counts in category select; fix All count on dashboard
2013-04-08 10:23:29 -04:00
Sam
9ad320768e
Merge pull request #667 from ZogStriP/dont-track-links-in-oneboxes
...
don't track links in oneboxes
2013-04-07 18:30:24 -07:00
Sam
11ff0ccd03
correct logic for tracking the highest seen post number so its always consistent
2013-04-08 11:12:52 +10:00
Sam
fd31f946ee
correct count 0 on user filters
2013-04-08 10:42:18 +10:00
Régis Hanol
d080ae4d2d
don't track links in oneboxes
2013-04-08 02:24:12 +02:00
Sam
3ba0bf6d5d
Merge pull request #651 from ZogStriP/change-title-background-when-composer-requirements-are-not-met
...
Change Title background to red when requirements are not met
2013-04-07 15:11:10 -07:00
Régis Hanol
1692350336
added some tests for uploads
2013-04-07 17:52:46 +02:00
Régis Hanol
f211b9601a
change title background to red when requirements are not met
2013-04-07 15:32:06 +02:00
Régis Hanol
aecf03c4f5
FIX: quote reply button was wrong when there is a custom header
2013-04-06 23:05:50 +02:00
Neil Lalonde
ee43ce693f
Add topic counts to category selector
2013-04-05 15:43:56 -04:00
Wojciech Kocjan
0481fbae8c
Fix for reply to user avatar and picture uploading not working when editing post with discourse running in a prefix
2013-04-05 12:46:14 +02:00
Sam
bf8e756175
Merge pull request #637 from wojciechka/master
...
Putting rootURL in JavaScript using Discourse::base_uri and erb
2013-04-04 21:42:54 -07:00
Régis Hanol
82bd92dd46
consistent behavior regarding file uploads
2013-04-05 01:07:31 +02:00
Robin Ward
fa1ba6791b
Work in Progress: Content Editing in Admin Section
2013-04-04 17:26:22 -04:00
Neil Lalonde
bd0e98aec2
Fix for when category description has html. Could be better.
2013-04-04 17:16:30 -04:00
Neil Lalonde
3e0ef018ab
Use temp variable for .chosen().next()
2013-04-04 10:44:11 -04:00
Wojciech Kocjan
a875b1c44a
Store base URI in Discourse.BaseUri and use it in all places where rootURL was previously used
2013-04-04 11:16:38 +02: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
Sam
4871454705
Merge pull request #639 from ZogStriP/cleaner-login-modal-when-there-is-no-login-button
...
cleaner login modal when there is no login button [fixes #638 ]
2013-04-03 16:40:39 -07:00
Neil Lalonde
68e9a727b8
Merge branch 'categories'
2013-04-03 17:50:42 -04:00
Neil Lalonde
5871b01323
Show descriptions in category combobox
2013-04-03 17:46:51 -04:00
Régis Hanol
aca7fa01bb
cleaner login modal when there is no login button [ fixes #638 ]
2013-04-03 23:28:42 +02:00
Robin Ward
5ec41d454c
Converted a bunch of ajax calls to use promises
2013-04-03 16:24:42 -04:00
Robin Ward
33f349a1e6
Show all Hot rankings at once with a toggle button
2013-04-03 15:25:18 -04:00
Robin Ward
59e4e77190
Merge pull request #634 from wojciechka/master
...
Allow handling of back/forward buttons in browser when running with prefix (i.e. as /discourse)
2013-04-03 08:11:53 -07:00
Robin Ward
2b9514a311
Merge pull request #627 from kubabrecka/translatable_flags_and_likes
...
make post actions (likes, flags) translatable as whole sentences
2013-04-03 08:09:13 -07:00
Robin Ward
0e09c8b9b9
Merge pull request #622 from ZogStriP/prevent-users-from-uploading-files-other-than-images
...
prevent users from uploading files other than images
2013-04-03 07:39:55 -07:00
Wojciech Kocjan
a0ef917736
Reworked rootURL in ember.js and allow handling of back/forward buttons in browser
2013-04-03 14:41:26 +02:00
Sam
814be151c1
fixed regression
2013-04-03 16:47:33 +11:00
Robin Ward
ee76f1926d
Debugging Tool for Hot Topics
2013-04-02 18:00:53 -04:00
Sam
161fdcb364
fix weird selection bugs during quote reply.
2013-04-03 08:10:29 +11:00
Kuba Brecka
f957b0aee5
make post actions (likes, flags) translatable as whole sentences
2013-04-02 21:15:55 +02:00
Robin Ward
75703cfc6a
Minor JS cleanup
2013-04-02 12:44:03 -04:00
Neil Lalonde
3fda486020
Use envelope icon for Private Message button
2013-04-02 12:28:41 -04:00
Régis Hanol
3524a93cfb
prevent users from uploading files other than images
2013-04-02 11:38:15 +02:00
Régis Hanol
dd4f24919f
Fix some 'quote reply' button quirks
2013-04-02 10:35:22 +02:00
Robin Ward
2a6889c087
Removes repetitive view.category
from the template
2013-04-01 20:56:04 -04: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
Sam
190f7b4812
classes for logo big and small
2013-04-02 11:37:41 +11:00
Régis Hanol
0cb8ea1426
FIX: cannot paste text in composer
2013-04-02 02:05:20 +02: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
Robin Ward
e4d190d856
XSS fix for category descriptions
2013-04-01 12:01:27 -04:00
Robin Ward
f429e95d4e
Merge pull request #601 from kubabrecka/split_multiple_pluralization
...
split i18n strings where there are 2 pluralizable variables
2013-04-01 07:49:05 -07:00
Robin Ward
b61907fbf3
Merge pull request #593 from ZogStriP/get-quote-reply-button-working-on-ios
...
Get the "quote reply" button working on iOS
2013-04-01 07:20:49 -07:00
Robin Ward
75d5049c0a
Merge pull request #606 from ZogStriP/better-client-side-upload
...
improved images upload on the client side
2013-04-01 07:11:26 -07:00
Robin Ward
865cf011a2
Merge pull request #561 from ZogStriP/fix-quote-reply-gets-in-the-way
...
FIX: "Quote Reply" button gets in the way
2013-04-01 07:04:46 -07:00
Régis Hanol
72989dca7c
improved images upload on the client side
2013-04-01 03:19:21 +02:00
knoxmic
182f794466
fix autocomplete charcode '0' and 'z'
2013-03-31 16:00:21 +02:00
Kuba Brecka
1c50c99e9a
split i18n strings where there are 2 pluralizable variables
2013-03-31 14:20:02 +02:00
Régis Hanol
b7a7d8b006
Get the "quote reply" button working on iOS
2013-03-30 02:52:52 +01:00
Régis Hanol
5ea35ff393
FIX: "Quote Reply" button gets in the way
2013-03-29 19:34:45 +01:00
Neil Lalonde
f2d61496af
Fix automatic selection of share link
2013-03-28 16:58:41 -04:00
Robin Ward
a819a26f34
BUGFIX: New status posts weren't using PostCreator
2013-03-28 16:40:54 -04: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
Neil Lalonde
e263cb81ca
Make sure share dialog goes away when clicking outside of it, including links to other routes
2013-03-27 19:43:47 -04:00
Robin Ward
e0fc7afc41
Fixes bug where progress looked weird when creating a new post.
2013-03-27 17:41:02 -04:00
Neil Lalonde
55884e4b77
Escape key closes share dialog
2013-03-27 16:29: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
b9fee3bf00
Robin sucks at jshint
2013-03-27 12:31:17 -04:00
Neil Lalonde
4711cb4716
Cleanup layout of login buttons
2013-03-27 12:23:11 -04:00
Robin Ward
d9539225f8
Merge pull request #574 from wojciechka/master
...
Fix URL for composer /education paths when using prefix for Discourse
2013-03-27 08:58:27 -07:00
Robin Ward
a9019288c5
Let's use a horizontal control for selecting the hotness rather than a dial.
2013-03-27 11:57:22 -04:00
Wojciech Kocjan
c88c7538b6
Fixed URL for composer /education paths
2013-03-27 16:10:47 +01:00
Robin Ward
4cb4843323
Includes post count in filter message by user
2013-03-27 10:53:43 -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
Neil Lalonde
7bfd66aa80
Add title attrs to share links
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
Robin Ward
f1e2923a91
Display correct post counts, even with a filter active
2013-03-26 15:06:23 -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
a177264114
refactoring of topic view tracking
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
Jeff Atwood
8ce9eefdce
bit more spacing for quote reply glyph
2013-03-25 17:31:08 -07:00
Neil Lalonde
1ed6406a7d
Add twitter, facebook, and google plus links to share dialog
2013-03-25 18:54:11 -04:00
Jeff Atwood
bce127d6db
add icon-quote glyph to quote reply pop-up button
2013-03-25 11:16:06 -07:00
Sam
6804c994f5
fix missing info error
2013-03-24 18:30:19 -07:00
Sam
3f0251dc63
get rid of metamorph
2013-03-24 18:13:03 -07:00
Sam
4cc1b88d91
Merge branch 'scroll_work'
2013-03-24 17:31:10 -07:00
Robin Ward
030ecfaa71
Fix bug where new posts wouldn't load after hitting the bottom if you'd filtered
2013-03-23 11:18:38 -04:00
Jeff Atwood
38285b6219
for PMs, switch to envelope glyph instead of lock
2013-03-23 02:46:50 -07:00
Sam
ae2cfa325c
so subtle ...
2013-03-22 20:28:39 -07:00
Sam
35a9051f56
cleanup
2013-03-22 20:18:10 -07:00
Robin Ward
1d7c38bedf
Merge pull request #531 from kubabrecka/unused_code
...
removing some unused code
2013-03-22 09:20:18 -07:00
Kuba Brecka
b392143991
removing some unused code
2013-03-22 17:14:29 +01:00
Robin Ward
bfa14b419c
Animate in the bottom filter bar
2013-03-22 12:05:17 -04:00
Robin Ward
5ec8af0019
Cleaned up a bunch of JS
2013-03-22 12:05:13 -04:00
Sam
e99f137316
refactor analysis of read posts and centralize logic
2013-03-22 00:40:08 -07:00
Robin Ward
35ec6c6806
Show loading when filtering by user / best of
2013-03-21 16:46:22 -04:00
Robin Ward
ce3fa4d507
Replace "ok" with a close glyph
2013-03-21 16:11:05 -04: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
b6f49e5b68
Refactor PostView
2013-03-21 14:48:16 -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
Sam
0089619ed9
Eyeline will no fire any events if the window has no focus
...
After posts are rendered a debounced eyeline is fired
Dont trigger eyeline from TopicPostsView, its the wrong spot, will only fire on first render
2013-03-20 21:45:27 -07:00
Sam
cd9d99aab8
Merge pull request #505 from ZogStriP/updated-preloadstore-api
...
updated PreloadStore API
2013-03-20 16:30:15 -07:00
tangramor
dc7b690921
Add I18n support for "The topic has been deleted" message
2013-03-21 00:10:41 +08: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
7ec0288c85
slight optimisation
2013-03-19 18:12:05 -07:00
Robin Ward
98847a9eb4
Update Ember.js
2013-03-19 15:41:36 -04:00
Sam
851cd2637c
hmmm jshint should warn about this....
2013-03-19 05:19:07 -07:00
Sam
9805f7d2f5
max upload size message when images are too big.
2013-03-19 00:19:05 -07: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
Neil Lalonde
c24f6d3d51
Username change: check length in js, we don't need the server to do it
2013-03-18 15:38:19 -04: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
c4a5f9d47b
Merge pull request #489 from ZogStriP/fix-editing-a-category-and-cancelling
...
fix some issues when editing a topic title and then cancelling it
2013-03-18 07:41:49 -07:00
Robin Ward
c1298979bb
Merge pull request #472 from ZogStriP/fixes-random-login
...
fixes the random login on dev
2013-03-18 07:30:06 -07: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
33c100da17
fix some issues when editing a topic title and then cancelling it
2013-03-18 12:00:50 +01:00
Robin Ward
42c234e927
Merge pull request #483 from ZogStriP/site-setting-for-category-color
...
site setting for category colors
2013-03-17 04:48:01 -07:00
Robin Ward
4e057335d5
Merge pull request #464 from ZogStriP/fix-issues-when-a-failure-happen-while-creating-a-new-category
...
displays a message when a failure happen while creating a new category
2013-03-17 04:47:44 -07:00
Régis Hanol
bc9e931304
site setting for category colors
2013-03-17 01:24:52 +01:00
Sam
ee1460e932
Merge pull request #480 from ZogStriP/fix-reply-draft-wont-save
...
fix: reply draft won't save
2013-03-16 15:01:50 -07:00
Régis Hanol
83b8a3386f
fix: reply draft won't save
2013-03-16 18:14:54 +01:00
Régis Hanol
a500f6b307
bind the text entered in the category name text field to the badge
2013-03-16 00:59:11 +01:00
Régis Hanol
89815878d9
fixes the random login on dev
2013-03-16 00:26:32 +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
67f0de4b8b
Fixed some merge conflicts
2013-03-15 16:59:10 -04: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
Régis Hanol
3bf6625aa4
displays a message when a failure happen while creating a new category
2013-03-14 22:25:55 +01:00
Robin Ward
1715220d77
FIX: Hide topics list when loading new topics by category
2013-03-14 12:38:05 -04:00
Robin Ward
8760f58f3d
Merge pull request #450 from ZogStriP/fixes-category-bug-on-cancel
...
fixes bug when modifying the category of a topic but cancelling the edit
2013-03-14 08:08:26 -07:00
Robin Ward
18133caf25
Merge pull request #449 from kubabrecka/composer_wider_placeholder
...
make the "add user" placeholder in composer wider, so other languages can fit into that
2013-03-14 08:06:04 -07:00
Neil Lalonde
91bd27ec0a
Keep a jQuery object of hidden login form
2013-03-14 11:03:57 -04: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
Neil Lalonde
7777b3f650
Autofocus on first field in signup form
2013-03-13 17:59:51 -04:00
Robin Ward
21b5183d6a
Fix linting errors.
2013-03-13 16:04:48 -04:00
Robin Ward
518910a54d
FIX: Don't include link counts when selecting text to quote a post.
2013-03-13 15:51:41 -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
Neil Lalonde
58004d44cd
Support for browser password managers, but doesn't quite work in IE
2013-03-13 13:55:33 -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
Regis Hanol
5b2c8362b8
fixes bug when modifying the category of a topic but cancelling the edit
2013-03-13 11:19:58 -04:00
Kuba Brecka
57398a4707
make the "add user" placeholder in composer wider, so other languages can fit into that
2013-03-13 15:22:09 +01:00
Kuba Brecka
921a658548
move date formatting from server side to javascript, so we can reuse Sugar's i18n
2013-03-13 13:38:41 +01: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
Kuba Brecka
f5f502d2a0
extract hardcoded string into locale
2013-03-12 11:29:59 +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
Régis Hanol
1d7aa1f6cf
globalized some missing strings
2013-03-12 02:17:45 +01:00
Régis Hanol
8a143bacaf
fixes the highlight issue @coding-horror reported
2013-03-11 20:58:02 +01:00
Robin Ward
3b7ac014de
Fixes JSHint error on PageDown. Updated for Uniform Access Principle.
2013-03-11 12:30:13 -04:00
Robin Ward
1205e0d3d4
Merge branch 'master' of github.com:discourse/discourse
2013-03-11 11:32:09 -04:00
Robin Ward
dad71a78f7
Merge pull request #414 from awbergs/pagedown_observe
...
added observer to Discourse.PagedownEditor value to refresh previewer
2013-03-11 08:31:47 -07:00
Robin Ward
d175da6816
Merge pull request #392 from kubabrecka/date_i18n_support
...
1st attempt to support i18n in dates and times
2013-03-11 08:15:58 -07:00
Robin Ward
de1d488d91
Merge branch 'date_i18n_support' of git://github.com/kubabrecka/discourse
2013-03-11 11:14:17 -04:00
Robin Ward
4360d1bd61
Cleaned up probe code a little.
2013-03-11 11:13:28 -04:00
Austin Bergstrom
ba80ca2ee5
added observer to Discourse.PagedownEditor value to refresh previewer
2013-03-10 19:56:32 -04:00
Régis Hanol
4a9c30bf33
allows the submission of the create account form by pressing enter
2013-03-11 00:46:28 +01:00
Neil Lalonde
8927432a93
Add stats to the admin dashboard
2013-03-09 15:34:27 -05: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
82b7d3a843
Merge pull request #380 from alxndr/master
...
Keep track of state/content between multiple quotes in a single post
2013-03-08 08:39:37 -08:00
Robin Ward
fb573b917f
Merge pull request #390 from ZogStriP/min-search-term-length-site-setting
...
added the min-search-term-length site setting
2013-03-08 06:58:45 -08:00
Neil Lalonde
2ebe0336ae
On signup, handle duplicate key errors on email and username better
2013-03-07 14:56:55 -05:00
Neil Lalonde
1133d90dcc
Disable submit button on signup form when you've submitted the form
2013-03-07 14:56:55 -05:00
Kuba Brecka
2e76e337a6
1st attempt to support i18n in dates and times
2013-03-07 20:05:18 +01:00
Robin Ward
f8d8272406
Cleaned up TopicUserSpec, introduces clearing of pinned topics
2013-03-07 12:19:25 -05:00
Regis Hanol
5703d6c730
added the min-search-term-length site setting
2013-03-07 16:52:01 +01:00
Régis Hanol
002776808f
highlight the first of the newly loaded topics when scrolling
2013-03-07 03:38:38 +01:00
Alexander
02f29cd43f
Prevent quote content collisions with multiples in one post
...
[Fixes #142 ]
2013-03-06 09:53:34 -08:00
Robin Ward
610be79061
Merge pull request #375 from ZogStriP/autofocus-login
...
autofocus the login input in the login modal
2013-03-06 09:17:10 -08:00
Robin Ward
3b645383fb
Merge pull request #372 from kubabrecka/markdown_fix1
...
Markdown editor translations into client.en.yml + tiny translation fixes
2013-03-06 09:15:52 -08:00
Neil Lalonde
e8eb60fe78
Use the cog in header dropdown menu admin link, not the wrench
2013-03-06 11:07:44 -05:00
Régis Hanol
21407d1df4
autofocus the login input in the login modal
2013-03-05 23:42:12 +01:00
Kuba Brecka
da7a41f5b9
Markdown editor translations into client.en.yml + tiny translation fixes
2013-03-05 21:58:37 +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
cf09e200a5
Moved Markdown out of Discourse.Utilities -> Discourse.Markdown
2013-03-05 14:56:43 -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
Neil Lalonde
e2ead81818
Use wrenches instead of cogs for admin buttons that let you change something/someone's settings
2013-03-05 14:52:33 -05:00
Robin Ward
e4277757c4
Fix onebox loading on every keystroke after a request fails.
2013-03-05 14:06:39 -05:00
Robin Ward
6edabdfec1
Merge pull request #362 from ZogStriP/repeated-clicks
...
Repeated click on header icons should close popped out dropdowns
2013-03-05 07:29:56 -08:00
Robin Ward
0c41e80f41
Merge pull request #367 from kubabrecka/extract_strings5
...
extract some strings from views/modal
2013-03-05 06:43:01 -08:00
Robin Ward
97a2d6d0fe
Merge pull request #366 from ZogStriP/moar-globalization
...
globalizing the image selector modal
2013-03-05 06:41:49 -08:00
Kuba Brecka
5afd6cc8a1
extract some strings from views/modal
2013-03-05 08:30:47 +01:00
Régis Hanol
5b456a6a3f
globalizing the image selector modal
2013-03-05 03:38:12 +01:00
Régis Hanol
61dcd61a5e
autofocus the input in the "insert image" dialog when clicking on the "on the web" tab
2013-03-05 03:09:13 +01:00
Régis Hanol
c72f65879f
Repeated click on header icons should close popped out dropdowns
2013-03-05 02:44:34 +01:00
Robin Ward
f544e1d4f7
Crap, we can't use Ember.Handlebars because some places don't use Ember (such as autocomplete.js)
2013-03-04 17:39:21 -05:00
Robin Ward
9c0b4572a3
Updated helpers, upgraded Ember to latest master.
2013-03-04 15:25:30 -05:00
Robin Ward
4385a174a2
Merge branch 'keep-title-and-category-in-sync' of git://github.com/ZogStriP/discourse
2013-03-04 15:25:24 -05:00
Robin Ward
09e9e34b8b
Merge pull request #340 from tms/post-scroll-peekaboo
...
Position the selected post more reliably below the header
2013-03-04 11:40:00 -08:00
Robin Ward
f7c9efb101
Merge branch 'persona-integration' of git://github.com/callahad/discourse
2013-03-04 11:51:26 -05:00
Robin Ward
3287dcf754
Merge pull request #345 from tms/fatten-up-static-pages
...
Don't double-up on #main-outlet when static content is preloaded
2013-03-04 06:45:55 -08:00
Régis Hanol
ccb715fba3
update both the title & the category when editing the first post
...
using the "edit this post" action beneath the post.
2013-03-03 19:21:29 +01:00
Régis Hanol
d7edca203c
added the gear icon to the "Admin" button on the user page
2013-03-03 18:04:02 +01:00
tms
f46c819956
Don't double-up on #main-outlet when static content is rendered through Ember
2013-03-03 10:47:40 -05:00
tms
fba50c3f7a
Position the selected post more reliably below the header
2013-03-03 00:43:08 -05:00
tms
66a7b3162f
Change the name displayed in the header on profile update
2013-03-01 22:46:33 -05:00
Robin Ward
3901ddd153
Fix jshint issue with [^]
in regexp.
2013-03-01 15:16:21 -05:00
Dan Callahan
7c87359e02
Make Persona configurable
2013-03-01 14:00:56 -06:00
Dan Callahan
ef8cf2f734
Add basic Persona functionality
...
1. No session integration yet, so automatic login/logout events are suppressed.
2. Popup blockers must be disabled: submits form to target="_blank"
2013-03-01 14:00:56 -06:00
Dan Callahan
81c545539e
Add (ui-only) Persona button to login modal
2013-03-01 14:00:53 -06:00
Robin Ward
27ba923fd4
Merge pull request #307 from kubabrecka/html_syntax_fixes
...
some minor HTML syntax fixes
2013-03-01 07:39:03 -08:00
Kuba Brecka
8a03afb35f
some minor HTML syntax fixes
2013-03-01 08:44:58 +01: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
e37c7f1e1d
Merge branch 'js-l10n-support-take1' of git://github.com/kubabrecka/discourse
2013-02-28 14:34:13 -05:00
Neil Lalonde
fce4c66d93
Improve js username validation so it's done only when necessary
2013-02-28 12:24:57 -05:00
Robin Ward
9c0cbe8311
Merge pull request #298 from nverba/login-buttons
...
added option to enable/disable login buttons individually
2013-02-28 08:13:04 -08:00
nverba
b0f3a74a1f
added option to enable/disable login buttons individually
2013-02-28 03:46:56 +00:00
Régis Hanol
f93a26e03d
added more tests & documentation to the BBCode component
2013-02-28 03:29:52 +01:00
Robin Ward
007118b00c
Merge branch 'github-auth' of git://github.com/nverba/discourse
...
Conflicts:
config/locales/server.en.yml
db/structure.sql
spec/views/omniauth_callbacks/complete.html.erb_spec.rb
2013-02-27 12:09:22 -05:00
Robin Ward
7d6e1f3e1c
Show likes even while logged out.
2013-02-27 11:22:03 -05:00
Kuba Brecka
acc7718c67
first attempt to serve correct localized js files as rails pipeline assets
2013-02-27 09:00:49 +01:00
Robin Ward
e363950bf5
Merge pull request #272 from kubabrecka/extract_some_strings
...
extract some more strings into locales/*.yml
2013-02-26 14:38:40 -08:00
Robin Ward
0df2034dc8
Fixes #264 - replaceState was wonky
2013-02-26 17:27:01 -05:00
Kuba Brecka
e9fb46c251
extract some more strings into locales/*.yml
2013-02-26 22:13:07 +01:00
Robin Ward
0f48414a72
The avatar helper should be smart enough to find a nested avatar_template. Fixes #243
2013-02-26 15:31:49 -05:00
Robin Ward
1492464158
fixes: http://meta.discourse.org/t/discourse-logo-link-back-to-top-of-thread-list-on-home-page/3592
2013-02-26 15:20:13 -05:00
Robin Ward
1caf1e6b45
Clean up discourse.js
2013-02-26 15:20:06 -05:00
Robin Ward
ddf1f27633
Fixes #157 - Add mention of seed_fu to docs.
2013-02-26 12:45:56 -05:00
Robin Ward
6c30e0b09c
Add 'descrption' to categories, even when in a Combobox
2013-02-26 12:17:23 -05:00
Robin Ward
0e087e040f
Fixes title regression
2013-02-26 11:13:13 -05:00
Robin Ward
1221c393a3
Merge branch 'whitespace-cleanese' of git://github.com/goshakkk/discourse
...
Conflicts:
lib/oneboxer.rb
lib/oneboxer/whitelist.rb
spec/controllers/robots_txt_controller_spec.rb
2013-02-26 10:42:49 -05:00
nverba
b45f872c04
Added Github authentication option, disabled by default with enable options in settings.
2013-02-26 05:00:21 +00:00
Gosha Arinich
cafc75b238
remove trailing whitespaces ❤️
2013-02-26 07:31:35 +03:00
tms
7088dfce9f
Prevent event bubbling on search toggles to keep dropdown open
2013-02-25 22:14:58 -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
3e201fc9f3
Oops I missed a couple of jshint errors :)
2013-02-25 17:53:29 -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
Sam Saffron
b9f3666f5a
fast click instead of hacky double event binding
2013-02-25 11:11:46 +11:00
Sam Saffron
997b436210
attempt at fixing google analytics
2013-02-25 08:36:46 +11:00
tms
3a0227f868
Tweak autocomplete/caret_position logic to not exclude the index 0 case
2013-02-22 23:47:23 -05:00
Jeff Atwood
cee3949850
add 3 and 4 minute opts to auto track pref
2013-02-22 13:15:41 -08:00
Robin Ward
c3ba7b9741
Uncategorized doesn't have a topic url
2013-02-22 14:33:43 -05:00
Robin Ward
b2e9be68bd
Suggested topics weren't using fancy titles
2013-02-22 13:48:07 -05:00
Robin Ward
532b1f5450
Can edit category descriptions, they show up in a title
attribute
2013-02-22 13:43:47 -05:00
Neil Lalonde
2d9942ceef
Fix my jshint failures
2013-02-22 12:17:07 -05:00
Neil Lalonde
ff3e012034
Add a link that allows you to send activation email again
2013-02-22 11:49:58 -05:00
Robin Ward
45ab3ab892
JS refactoring that fixes presence errors in earlier reverted commit.
2013-02-22 11:00:47 -05:00
Sam
4d99dc035e
Merge pull request #228 from tms/i-knew-you-cared
...
Collapse user activity items loaded from message bus
2013-02-21 21:53:49 -08:00
tms
b1c1053cf1
Collapse user activity items loaded from message bus
2013-02-21 22:14:58 -05:00
tms
8ec71657ea
Help long titles wrap more cleanly
2013-02-21 21:33:59 -05:00
Sam Saffron
2b5be29d3c
Revert "Remove old unused code."
...
This reverts commit 6a617348e5
.
2013-02-22 10:57:11 +11:00
Robin Ward
588c79e637
Updated JSHint settings, include smoke test.
2013-02-21 16:25:40 -05:00
Robin Ward
6a617348e5
Remove old unused code.
2013-02-21 16:17:56 -05:00
Robin Ward
6096a447b7
Fix Regression: In reply to
2013-02-21 12:59:38 -05:00
Robin Ward
f6263749d4
Fix javascript regression with quoting
2013-02-21 12:54:40 -05:00
Robin Ward
c5393d93f3
Add icons and and archived style to categories list
2013-02-21 11:38:38 -05:00
Robin Ward
c3b03e3cb6
Show fancy title when you scroll down on topics
2013-02-21 11:21:10 -05:00
Sam Saffron
012941ea62
basic smoke test script
2013-02-21 16:01:40 +11:00
Robin Ward
26e1cfd12c
rake jshint
works
2013-02-20 19:09:27 -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
Neil Lalonde
6885e6cfa9
Fix login with google in IE9
2013-02-20 15:40:52 -05:00
Sam Saffron
ea7b97be34
missing localization on categories
2013-02-20 16:11:56 +11:00
Sam Saffron
0c085059c9
added sane sanitizer (Google Cajole) that is much more robust than old one ... yay for smilies
...
added sane way to do $LAB includes - pattern to be expanded
people keep on messing structure.sql
2013-02-20 16:11:56 +11:00
Sam Saffron
a1099ed74e
sanitize wip
2013-02-20 16:11:56 +11:00
Robin Ward
a1f8dcebd1
Custom messages for the footers of all list views
2013-02-19 17:39:34 -05:00
Robin Ward
836c3a7379
Support for Fancy topic titles
2013-02-19 16:14:04 -05:00
Robin Ward
da59c15b72
Remove leftover sub-tag support.
2013-02-19 14:21:31 -05:00
Robin Ward
928e215e57
Update to latest Ember.js
2013-02-19 12:28:18 -05:00
Robin Ward
8371ff058a
Merge pull request #194 from tms/personal-space
...
Added restricted route to kick out trespassers on user routes
2013-02-19 08:08:18 -08:00
Sam Saffron
d9531d94d5
basic lightbox support
2013-02-19 17:57:14 +11:00
tms
d2a2ccdb09
Added restricted route to kick out trespassers on user routes
2013-02-18 21:05:12 -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
Kevin Ansfield
1a81c90076
convert plain text in composer template to i18n
2013-02-18 11:20:07 +01:00
Sam Saffron
b9698e8d2f
fix loading message am message bus stuff
2013-02-18 19:37:12 +11:00
tms
65d71f87a6
Use consistent date formatting in date helpers
2013-02-18 00:28:19 -05:00
Sam Saffron
985b5c59c3
missing h3
2013-02-16 12:27:30 +11:00
Sam Saffron
c81d07c44b
clean up the topics footer so it does not flash and is localisable
2013-02-16 12:15:15 +11:00
Sam
1623197b05
Merge pull request #184 from tms/activity-stream-tweaks
...
Improved action descriptions/links on user stream items
2013-02-17 13:55:45 -08:00
Sam
c7fba796b6
Merge pull request #185 from tms/search-all-the-things
...
Search all the things
2013-02-17 13:53:58 -08:00
tms
66d56a8b93
Correctly set the typeFilter when the user clicks "show more"
2013-02-17 02:21:49 -05:00
tms
fb5710b5d6
Improved action descriptions/links on user stream items
2013-02-17 01:38:20 -05:00
Jeff Atwood
cecbede5db
add tooltip and better color to reply jump arrows
2013-02-16 13:07:14 -08:00
Robin Ward
9ca0615d94
Merge pull request #173 from dbarros/saved_preferences
...
Clear 'Saved' message when clicking Save button in user preferences.
2013-02-16 12:57:20 -08:00
Jeff Atwood
0d650972c2
add end nav footer to topic lists by category view
2013-02-16 12:27:24 -08:00
Diego Barros
420614d50d
Clear 'Saved' message when clicking Save button in user preferences.
2013-02-16 19:30:01 +11:00
Robin Ward
fc1c120014
Arrows to navigate to embedded posts.
2013-02-15 15:17:57 -05:00
Jeff Atwood
c1a50aae04
add more delete button styles on delete.. buttons
2013-02-15 01:45:37 -08:00
Sam
9eb5c2a66a
Merge pull request #163 from anthonyalberto/master
...
Fixes Issue #37 . Going to a user profile now updates the meta title.
2013-02-14 17:27:47 -08: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
Sam Saffron
9681cbb6b8
btn danger is a bit too loud there
2013-02-15 11:44:14 +11:00
Robin Ward
6f4882659a
Animate in new user education. Track replies separately from posts.
2013-02-14 18:04:03 -05:00
Robin Ward
37b0c168bf
Support non-english topic titles
2013-02-14 17:13:03 -05:00
Robin Ward
5d4efa9100
Support for non-english categories
2013-02-14 16:51:48 -05:00
Anthony Alberto
f00aa30f63
Fixes Issue #37 . Going to a user profile now updates the meta title. Also fixed a minor DEV guide typo.
2013-02-14 16:11:54 -05:00
Robin Ward
b9457197c0
First stab at new user education - configurable messages that pop up on a user's first
...
few posts/topics.
2013-02-14 15:33:51 -05:00
Jeff Atwood
fe7cb0be05
left-align admin buttons, add back btn-danger style
2013-02-13 23:47:19 -08: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
Robin Ward
51473a95b4
Make all quotes multiline. Fixes a bunch of annoying errors.
2013-02-13 17:22:51 -05:00
Robin Ward
4c6379ea56
New users are highlighted when posting. .new-user class
2013-02-13 16:12:30 -05:00
Neil Lalonde
941820ac88
Client-side email validation should allow capital letters
2013-02-13 14:30:00 -05:00
Robin Ward
afc23cc8cb
Merge pull request #133 from xdite/apply_omniauth
...
Apply omniauth
2013-02-13 07:19:13 -08:00
Sam Saffron
329f4617a9
less magic numbers
2013-02-13 22:01:16 +11:00
Sam Saffron
93846aecb1
13 sucks
2013-02-13 21:57:58 +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
xdite
a7908e07d1
merge master
2013-02-13 15:16:39 +08:00
xdite
9189d937f7
move all logic to omniauth
...
implement omniauth-facebook / omniauth-twitter
2013-02-13 15:08:38 +08:00
xdite
be3d036084
use omniauth-openid to replace google id
2013-02-13 15:08:32 +08:00
Robin Ward
69c7b5aeed
Support category names with spaces
2013-02-12 17:54:56 -05: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
Abdulsattar Mohammed
c4eb5eee53
set window height as maximum height of div_resizer
...
This fixes the issue where a user can resize the div so that grippie is
no longer visible and is not reize the div back.
2013-02-12 13:56:37 +05:30
Jeff Atwood
ecbaa45736
remove extraneous text on PM summary
2013-02-11 16:14:44 -08:00
Robin Ward
592531be28
Merge pull request #109 from tms/topic-reply-button-state
...
Disable reply button on archived/closed topics
2013-02-11 14:42:19 -08:00
Robin Ward
10c12d05b3
iOS autocomplete bug fix - don't follow link to #
2013-02-11 12:48:34 -05:00
tms
ee3d01af1c
Prevent UI from suggesting you can message yourself
2013-02-11 02:12:53 -05:00
tms
29d2f04d87
Disable reply button on archived/closed topics
2013-02-10 23:39:09 -05:00
tms
0dc5b9be39
Prevent click from being trapped in the editor field
2013-02-10 18:36:11 -05:00
tms
86d8326e30
Allow forcing username as image title when generating avatar
2013-02-10 00:12:27 -05:00
tms
9e653ad370
Show "You" to same-user on activity stream items
2013-02-09 23:44:03 -05:00
tms
f6b4d0d57a
Swap name / title in activity stream, link post number
2013-02-09 22:33:07 -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
Neil Lalonde
d73baa23dd
Better username change validation messages
2013-02-08 16:08:45 -05:00
Neil Lalonde
d1a04fa06a
Enforce max username length on client
2013-02-08 16:08:45 -05:00
Neil Lalonde
79dfccf717
Username validation in signup and username change forms
2013-02-07 18:23:52 -05:00
Robin Ward
2c8c602086
Always show username on hover, unless there's something else more interesting to say.
2013-02-07 17:41:32 -05:00
Robin Ward
2d064571df
Fixes some minor issues with users deleting their own posts.
2013-02-07 16:42:31 -05:00
Robin Ward
e98fb5592d
Delete button on OP deletes topic
2013-02-07 15:31:53 -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
8f4417f962
Merge branch 'master' of github.com:discourse/discourse
2013-02-07 16:00:55 +11:00
Sam Saffron
c7461622a9
admins can now clear flags inline
2013-02-07 15:15:48 +11:00
Robin Ward
7d7d8c7d4f
Merge branch 'master' of github.com:discourse/discourse
2013-02-06 20:59:07 -05:00
Neil Lalonde
471c61fd69
Add honeypot and challenge to signup form
2013-02-06 19:25:36 -05:00
Robin Ward
94e58d733e
Add moderator style while in topic
2013-02-06 17:36:07 -05:00
Robin Ward
c77dea41b8
Merge pull request #7 from mutewinter/fix_at_dot
...
Removed unnecessary @.'s
2013-02-06 13:22:13 -08:00
Robin Ward
2ce69c73eb
Use double quotes in image uploads instead of single quotes. Our sanitizer seems to
...
hate single quotes.
2013-02-06 14:27:11 -05:00
Sam Saffron
2e3bcec5c7
also for about me
2013-02-06 17:24:49 +11:00
Sam Saffron
d4bc423320
hook up sanitizer
2013-02-06 17:22:11 +11:00
Sam Saffron
3fd019c6bd
fix firefox focus bug on flagging dialog
2013-02-06 11:47:08 +11:00
Jeremy Mack
87ff4373f5
Removed unnecessary @.'s
...
Since CoffeeScript automatically converts @ to this. when immediately followed by a character.
2013-02-05 15:59:17 -05:00
Robin Ward
21b5628528
Initial release of Discourse
2013-02-05 14:16:51 -05:00