Vikhyat Korrapati
215e42053a
FIX: missing badge descriptions.
2014-05-16 13:39:40 +05:30
Sam
5914d0e132
Merge pull request #2311 from vikhyat/badge-system
...
Add automatically assigned trust level badges
2014-05-16 09:08:00 +10:00
Robin Ward
026cfe2dc7
ES6: Half a dozen more controllers
2014-05-15 11:32:15 -04:00
Sam
b225b1d547
query was updated
2014-05-15 20:32:34 +10:00
Vikhyat Korrapati
b144b75565
Add automatically assigned trust level badges.
2014-05-14 20:47:21 +05:30
Wojciech Zawistowski
960d64930c
Wiki Post
2014-05-13 08:53:11 -04:00
Robin Ward
07007e6cbc
ES6: Notification controllers, added helper to create via ES6/container
2014-05-12 14:01:21 -04:00
Arpit Jalan
93cff8deb5
Speech bubble waiting for an ajax response prior to rendering
2014-05-09 22:23:27 +05:30
Robin Ward
842dd91958
Revert "Merge pull request #2304 from techAPJ/speech-bubble-update"
...
This reverts commit 6590ebbcbe
, reversing
changes made to 3855ead62e
.
2014-05-09 12:01:36 -04:00
Arpit Jalan
d16974fd4c
Speech bubble waiting for an ajax response prior to rendering
2014-05-09 08:06:56 +05:30
Robin Ward
efcf99c21d
ES6: A bunch more controllers
2014-05-08 11:35:34 -04:00
Robin Ward
a0221ce5e5
ES6: More controllers converted to ES6
2014-05-08 11:35:34 -04:00
Robin Ward
4640b9d653
ES6: Half a dozen more controllers converted
2014-05-08 11:35:34 -04:00
Robin Ward
5191acfd9f
ES6: Uses proper normalize
method, includes support for namespaced
...
controllers.
2014-05-08 11:35:33 -04:00
Robin Ward
eee5f85654
ES6: AvatarSelector
and HeaderController
- also includes support for controllers with
...
camelcase via an error message.
2014-05-08 11:35:33 -04:00
Robin Ward
f51cbc8952
FIX: @mentions should not be processed within links
2014-05-06 17:48:30 -04:00
Robin Ward
aa269c92a0
Revert "ES6: AvatarSelector
and HeaderController
- also includes support for controllers with"
...
This reverts commit 44b2f82be8
.
2014-05-05 13:58:57 -04:00
Robin Ward
69225a7ea9
Revert "ES6: Uses proper normalize
method, includes support for namespaced"
...
This reverts commit b98324a937
.
2014-05-05 13:58:57 -04:00
Robin Ward
389c50eb1e
Revert "ES6: Half a dozen more controllers converted"
...
This reverts commit bc2d87e5c1
.
2014-05-05 13:58:57 -04:00
Robin Ward
b17cd2f251
Revert "ES6: More controllers converted to ES6"
...
This reverts commit 23cc7c174a
.
2014-05-05 13:58:57 -04:00
Robin Ward
23cc7c174a
ES6: More controllers converted to ES6
2014-05-05 13:23:45 -04:00
Robin Ward
bc2d87e5c1
ES6: Half a dozen more controllers converted
2014-05-05 13:23:45 -04:00
Robin Ward
b98324a937
ES6: Uses proper normalize
method, includes support for namespaced
...
controllers.
2014-05-05 13:23:45 -04:00
Robin Ward
44b2f82be8
ES6: AvatarSelector
and HeaderController
- also includes support for controllers with
...
camelcase via an error message.
2014-05-05 13:23:45 -04:00
Robin Ward
7a2dbf0d2d
FIX: Changed fixture paths
2014-04-29 21:09:29 -04:00
Robin Ward
0528b408a3
Add an integration test for the new Ember 404 route
2014-04-29 15:29:13 -04:00
Robin Ward
f50039b48b
Support 404 routes in the Ember App
2014-04-29 15:29:13 -04:00
Robin Ward
ba683bc611
FIX: XSS in markdown converter.
2014-04-28 14:44:15 -04:00
Robin Ward
cf6cbb955b
REFACTOR: Introduce Discourse.computed.setting
to create a computed
...
property that links to a `Discourse.SiteSetting`
2014-04-24 18:36:02 -04:00
Régis Hanol
39cc147138
BUGFIX: only redirect users top /top page once
2014-04-21 20:00:37 +02:00
Robin Ward
4dc20e6855
FIX: Sanitize custom quote attributes
2014-04-21 10:19:39 -04:00
Robin Ward
b3ed8b6a32
Use query params for sortable table headings
2014-04-17 10:52:57 -04:00
Robin Ward
fdb751296a
FIX: ZALGO test suite was causing failures in the wrong place due to
...
missing `async` bits.
2014-04-17 10:46:33 -04:00
Robin Ward
617b4bed41
FIX: Rather than using singleton: false
for avoiding caching in the
...
container, just unregister it afterwards.
2014-04-17 10:45:06 -04:00
Robin Ward
73cc722ed5
Update Ember.js, Handlebars and jQuery to latest
2014-04-17 10:45:06 -04:00
Vikhyat Korrapati
b62606e7f1
Remove color_hexcode column from badge_types.
2014-04-17 05:36:29 +05:30
Vikhyat Korrapati
3136217fc1
Add badge page.
2014-04-17 01:57:57 +05:30
Robin Ward
ed6e2b1d79
Remove Zalgo API from Discourse.Mention
:
...
http://blog.izs.me/post/59142742143/designing-apis-for-asynchrony -
Thanks @riking for finding it.
2014-04-14 16:51:18 -04:00
Robin Ward
36bb4c02b7
Only use .jshintignore
for the ignore rules.
2014-04-01 12:28:17 -04:00
Wojciech Zawistowski
c0a11adbc5
Moves Markdown Editor from vendor to discourse.
2014-03-31 21:56:19 +02:00
Sam
291df4d48d
Merge pull request #2193 from slainer68/delete_enable_local_account_create
...
Delete enable_local_account_create option as it is not used anywhere.
2014-03-28 10:19:09 +11:00
Régis Hanol
5edec22e28
fix the build
2014-03-27 16:57:46 +01:00
Régis Hanol
e663d78104
SECURITY: sanitize markdown urls (prevent XSS)
2014-03-27 15:34:35 +01:00
slainer68
6fb323fd71
Delete enable_local_account_create option as it is not used anywhere.
...
JS fixture
2014-03-27 00:55:06 +01:00
Neil Lalonde
86244e3a4b
New sub-category badges in category chooser. Normalize category badge rendering code.
2014-03-25 17:29:59 -04:00
Vikhyat Korrapati
0f9ea25010
Interface for granting/revoking badges from admin user page.
2014-03-21 11:09:19 +05:30
Sam
2dc5e3c81e
Merge pull request #2118 from vikhyat/firefox-middle-click
...
Fix Firefox middle-click popup blocker issue
2014-03-21 16:27:02 +11:00
Vikhyat Korrapati
4f71256542
Fix badge description i18n match.
2014-03-17 18:43:09 +05:30
Vikhyat Korrapati
9b26c8584e
Initial badge system implementation.
2014-03-14 21:49:26 +05:30
Vikhyat Korrapati
e798705aec
Do not call preventDefault on right and middle-click/Ctrl+click.
...
This should fix the middle click popup blocker issue on Firefox.
2014-03-13 11:03:19 +05:30
Régis Hanol
8b6930a5cf
FIX: shortDate tests
2014-03-11 12:37:54 +01:00
Nick Schonning
62d5a10873
JSHint test helpers
...
Remove unreferenced globals
2014-03-11 02:40:27 -04:00
Nick Schonning
86a9e0db6a
JSHint assertions.js
...
Mark all functions as exported
2014-03-11 02:36:10 -04:00
Nick Schonning
054eca840a
JSHint parse_html.js
...
- Mark Tautologistics as a global
- Mark parseHTML as exported
2014-03-11 02:34:17 -04:00
Nick Schonning
3342741876
JSHint QUnit helpers
...
- Don’t redefine controller
- Mark all functions as exported
- Mark the QUnit asyncTest as a global function
2014-03-11 02:30:49 -04:00
Vikhyat Korrapati
b0d1d7a3e8
i18n of new/unread text next to topics.
2014-03-09 16:31:44 +05:30
Régis Hanol
8214536614
BUGFIX: don't show redirect reason if you aren't redirected
...
Move the redirect to top page logic server-side and make sure the reason
is not shown when top is not in the navigation menu (top_menu).
2014-03-07 18:58:53 +01:00
Régis Hanol
ca12ea42a7
FEATURE: only redirect new users to top page for a limited period
...
That period is defined by the `redirect_new_users_to_top_page_duration`
site setting and defaults to 7 days.
2014-03-05 22:11:01 +01:00
Robin Ward
15c9c90533
When links have thousands of clicks, display them like 3.3K
2014-03-04 13:44:53 -05:00
Robin Ward
02ea67eece
BUGFIX: A MDTest was conflicting with BBCode support for upper case
2014-03-03 13:14:11 -05:00
Robin Ward
6143753fef
Support uppercase bbcode too.
2014-03-03 11:59:57 -05:00
Robin Ward
d079538a6d
Allow the customHTML
helper to look up fragments outside of the
...
preloadStore, so plugins can stuff HTML in there when overriding a whole
template doesn't make sense.
2014-02-25 16:02:27 -05:00
Robin Ward
7716d940a0
BUGFIX: Allow links to images with absolute URLs as well as parens
2014-02-20 15:24:03 -05:00
Neil Lalonde
b696c96a19
Look at the age of a user's first post to determine if the user can be nuked, instead of looking at when the user registered.
2014-02-20 12:29:40 -05:00
Régis Hanol
69e0342d8f
fix typo
2014-02-18 18:24:11 +01:00
Régis Hanol
aac4b55926
FEATURE: do not redirect to top page when number of topis is low
2014-02-17 14:28:12 +01:00
Robin Ward
5932e32528
Merge pull request #1937 from verg/user_dropdown
...
Add User Avatar Dropdown
2014-02-13 10:55:58 -05:00
verg
95f4c0f583
Add User dropdown menu to Header
2014-02-13 09:45:51 -05:00
Robin Ward
2e5413437d
Fix the build
2014-02-11 18:01:06 -05:00
Robin Ward
3d62df51a6
FIX: Broken MDTest + Fix for removing leading spaces in a code block
2014-02-11 17:27:24 -05:00
Régis Hanol
4a20384b56
fix the build
2014-02-11 10:18:07 -08:00
Sam
11e962c848
BUGFIX: improve quality of unread / new counters
2014-02-11 15:28:05 +11:00
Neil Lalonde
113057bfa9
Comma needs to die
2014-02-06 11:57:45 -05:00
Robin Ward
af5254d3b4
FIX: Remove canvas
tag.
2014-02-05 12:22:36 -05:00
Robin Ward
8adb08a9ca
FIX: Don't allow <button>
in posts either.
2014-02-04 16:29:00 -05:00
Robin Ward
abffcd9f94
FIX: Blacklist <textarea>
2014-02-04 12:48:33 -05:00
Sam
612001aa74
BUGFIX: deleted categories would mess up watching/tracking prefs
2014-02-04 15:14:31 +11:00
Wojciech Zawistowski
73253ce32e
Adds JS integration tests for search
2014-01-31 01:53:08 -05:00
Robin Ward
b4fef88412
Merge pull request #1884 from velesin/search_controller_refactoring
...
refactors Discourse.SearchController
2014-01-30 10:44:53 -08:00
Neil Lalonde
b5d0031105
Topic list dates formatting changes: use Dec '12 and Jan 21
2014-01-29 15:45:06 -05:00
Wojciech Zawistowski
5b897bc6a4
refactors Discourse.SearchController
2014-01-29 20:53:08 +01:00
Robin Ward
2892153712
REMOVE: Get rid of the hotness
control for good.
2014-01-29 11:54:34 -05:00
Régis Hanol
d0c55010aa
BUGFIX: clicking on links to the same domain was broken
2014-01-29 11:31:36 +01:00
Vikhyat Korrapati
fad88c6cf3
Fix sanitization of smileys like <_< and <3.
2014-01-26 18:38:47 +05:30
Régis Hanol
e393e9765f
Merge pull request #1856 from velesin/search_controller_tests
...
Adds unit tests for SearchController
2014-01-24 04:11:10 -08:00
Wojciech Zawistowski
5166abd75f
Adds new QUnit assertion ("not") complementary to built-in "ok"
2014-01-23 20:31:33 +01:00
Wojciech Zawistowski
e27c007653
Adds unit tests for SearchController
2014-01-23 20:25:37 +01:00
Régis Hanol
ae06ea6323
BUGFIX: clicking the logo when the homepage was /categories or /top would fail
2014-01-23 17:08:52 +01:00
Robin Ward
e2c361f353
FIX: Indented code blocks followed by <blockquote>
weren't working.
2014-01-21 16:18:20 -05:00
Robin Ward
3c3449aa1b
Revert "New API for replacing elements in the final JsonML. Also changes spoiler"
...
This reverts commit 6b9b2d3d6a
.
We have come up with a better solution that does not involve HTML
parsing.
2014-01-21 12:04:58 -05:00
Neil Lalonde
9be481f035
Merge pull request #1846 from velesin/admin_site_settings_controller_test_fix
...
fixes unit test broken (and commented out) after adding debounce behavio...
2014-01-20 14:26:24 -08:00
Robin Ward
6b9b2d3d6a
New API for replacing elements in the final JsonML. Also changes spoiler
...
tag handling to be more robust with repsect to HTML content.
2014-01-20 15:15:50 -05:00
Wojciech Zawistowski
8812196b81
fixes unit test broken (and commented out) after adding debounce behavior to a method
2014-01-20 17:30:12 +01:00
Robin Ward
4981525047
REFACTOR: Fixes poor class hierarchy for listing topics
...
- Upgrades Ember to latest
- Fixes a bunch of bugs with page titles and missing "active" states
2014-01-18 19:26:24 +01:00
Régis Hanol
ad8755aa70
BUGFIX: inline spoiler for text, block spoiler for images
2014-01-15 00:53:06 +01:00
Robin Ward
71aed34e64
FIX: Allow click tracking to work with different origins
2014-01-14 15:20:46 -05:00
Régis Hanol
3a6bffa05d
FEATURE: better top pages
2014-01-14 01:09:12 +01:00
Régis Hanol
70161498b6
BUGFIX: spoiler tag on lightboxed images wasn't working
2014-01-12 19:38:46 +01:00
Neil Lalonde
52580f09af
Rename favorite to starred everywhere
2014-01-10 14:54:19 -05:00
Robin Ward
456a213904
FIX: Broken qunit test
2014-01-09 13:48:58 -05:00
Robin Ward
b28a8e262f
FIX: Categories are ordered by topic_count
.
2014-01-09 13:05:32 -05:00
Sam
e0284dfef0
update fixture
2014-01-07 11:40:28 +11:00
Régis Hanol
87217d940e
Merge pull request #1457 from skisulli/keyboard-shortcuts
...
Global Gmail style keyboard shortcuts
2014-01-06 06:40:55 -08:00
Régis Hanol
0dc0740408
BUGFIX: clicking on the Logo generates a javascript error
2014-01-06 11:46:19 +01:00
Robin Ward
6c4417e0f0
Use the standard .jshintrc file for JSHint options.
2013-12-31 12:41:40 -05:00
Régis Hanol
7fd88a52c9
FEATURE: allow plugins to overwrite handlebars templates
2013-12-31 16:43:29 +01:00
Régis Hanol
54686388fb
FEATURE: display the Top tab by default for long-time-no-see users
2013-12-30 19:42:45 +01: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
8685e4079f
FEATURE: the top tab is the default for new users
2013-12-30 18:49:16 +01:00
Sam
d8c43f7b58
BUGFIX: fix username breakup so it works with IE
...
FEATURE: breakup username based on name as well
2013-12-30 16:07:35 +11:00
Régis Hanol
34cbea64d1
Merge pull request #1749 from velesin/has_current_user_test_improvement
...
adds small HasCurrentUser mixin test improvements
2013-12-23 05:47:46 -08:00
Régis Hanol
9ee404b0e6
Merge pull request #1750 from velesin/header_controller_test_fix
...
fixes HeaderController test
2013-12-23 05:47:22 -08:00
Régis Hanol
2f9c81cd75
Merge pull request #1751 from velesin/text_field_tests
...
adds unit tests for Discourse.TextField
2013-12-23 05:46:48 -08:00
Régis Hanol
ef8625caaa
Merge pull request #1753 from velesin/search_text_field_tests
...
adds unit tests for SearchTextField
2013-12-23 05:46:12 -08:00
Sam
d4819c3a65
Got rid of crazy user name split
...
instead decorate with <wbr> to hint on best
spot to split
2013-12-23 11:11:41 +11:00
Sam
90077ae98d
fix tests, clean up include logic
2013-12-23 10:41:10 +11:00
Ryan Sullivan
5100c2bbd2
Add Global Keyboard Shortcuts
...
Not all of these have been fully implemented yet.
**Jump To**
* `g` then `h` - Home (Latest)
* `g` then `l` - Latest
* `g` then `n` - New
* `g` then `u` - Unread
* `g` then `f` - Favorited
* `g` then `c` - Categories List
**Navigation**
* `u` - Back to topic list
* `k` / `j` - Newer/Older conversation or post
* `o` or `Enter` - Open selected conversation
* <code>`</code> - Go to next section
* `~` - Go to previous section
**Application**
* `c` - Create a new topic
* `n` - Open notifications menu
* `/` - Search
* `?` - Open keyboard shortcut help
**Actions**
* `f` - Favorite topic
* `s` - Share topic
* `<Shift>` + `s` - Share selected post
* `r` - Reply to topic
* `<Shift>` + `r` - Reply to selected post
* `l` - Like selected post
* `!` - Flag selected post
* `b` - Bookmark selected post
* `e` - Edit selected post
* `d` - Delete selected post
* `m` then `m` - Mark topic as muted
* `m` then `r` - Mark topic as regular
* `m` then `t` - Mark topic as tracking
* `m` then `w` - Mark topic as watching
2013-12-22 12:16:42 -07:00
Wojciech Zawistowski
965fb78b06
adds unit tests for SearchTextField
2013-12-20 21:00:48 +01:00
Neil Lalonde
854d9c8fc6
Minimum password length is configurable with the min_password_length site setting. FIX: reset password needs to validate password length.
2013-12-19 16:15:47 -05:00
Wojciech Zawistowski
c2e590b343
adds unit tests for Discourse.TextField
2013-12-19 19:29:15 +01:00
Wojciech Zawistowski
89bdebac3c
fixes HeaderController test
2013-12-19 18:59:30 +01:00
Wojciech Zawistowski
e5269ab3e0
adds small HasCurrentUser mixin test improvements
2013-12-19 18:54:24 +01:00
Neil Lalonde
47c6bb4cf2
Improve how category stats are rendered
2013-12-17 17:43:04 -05:00
Sam
29ba471db6
missing site setting, this should be auto generated
2013-12-17 12:35:09 +11:00
Neil Lalonde
49c3482464
Show topic and post counts by day/week/month/year on categories page
2013-12-13 15:37:45 -05:00
Robin Ward
a7a7387da1
Automatically convert some quotes to blockquotes
2013-12-13 15:31:25 -05:00
Neil Lalonde
6fa2e68742
Show more than one topic per category on the wide categories page. Disable support for the 2-column categories page. The category_featured_topics site setting controls how many topics to show.
2013-12-12 15:52:30 -05:00
Neil Lalonde
ed3d3ae1e1
Upgrade font-awesome to version 4
2013-12-11 10:31:09 -05:00
Wojciech Zawistowski
9dbc2f1039
adds unit tests for the search dropdown template
2013-12-09 18:15:38 +01:00
Robin Ward
8cc6cd933a
Don't allow filtering by user in summary mode and vice versa. It's just confusing.
2013-12-06 13:53:19 -05:00
Robin Ward
19987c1cbf
Merge pull request #1704 from velesin/site_map_integration_tests_clean_up
...
cleans up site map integration tests
2013-12-06 08:31:18 -08:00
Robin Ward
79427732b2
Show Gaps in the post stream when filters are active
...
Conflicts:
app/assets/javascripts/discourse/templates/topic.js.handlebars
2013-12-05 16:46:59 -05:00
Robin Ward
0ece195723
Blacklist <center>
2013-12-04 11:43:20 -05:00
Robin Ward
cb9fb2acfa
FIX: A post via the message bus wasn't updating highest_post_number
properly.
2013-12-03 16:25:51 -05:00
Robin Ward
274743b877
Refactor: Move initialization code into separate initializers that use the API we
...
developed for plugins.
2013-12-03 14:22:32 -05:00
Robin Ward
de78ee302a
- Extract Browser capabilities from Discourse namespace into a Singleton.
...
- Change Scrolling slack based on Android / Touch / Desktop
2013-12-03 13:03:19 -05:00
Robin Ward
48bfcfadd9
Upgrade Ember.js, fix swallowing of template errors, report unresolved promises in development mode.
2013-12-02 13:15:58 -05:00
Wojciech Zawistowski
66de19790e
cleans up site map integration tests
2013-11-29 21:01:46 +01:00
Régis Hanol
9b6538832d
whitelist google.com/maps iframes
2013-11-29 18:08:53 +01:00
Wojciech Zawistowski
8eef779d38
refactors site map
2013-11-27 21:58:36 +01:00
Robin Ward
40f86829f7
Post Cloaking:
...
* We now use a new custom view, {{cloaked-collection}} to display posts in a topic.
* Posts are removed and inserted (cloaked/uncloaked) into the DOM dynamically based on whether they
are visible in the current browser viewport.
* There's been a lot of refactoring to ensure the relationship between the post views and the topic
controller is sane.
* Lots of fixes involving jumping to a post, including a new LockOn component to that tries to stay
focused on an element even if stuff is loading before it in the DOM that would normally push it
down.
2013-11-27 12:53:32 -05:00
Sam
2eee7433f0
update message bus for .stop() support, stop the message bus during test
2013-11-25 18:01:03 +11:00
Sam
95c968d7b7
fix js specs
2013-11-25 17:50:48 +11:00
Wojciech Zawistowski
1d3097245c
header sitemap integration tests
2013-11-21 20:38:56 +01:00
Robin Ward
0bab3f9b4e
Revert "Revert "FIX: Markdown bug", breaks build"
...
This reverts commit 08ad5d479e
.
2013-11-20 11:53:06 -05:00
Sam
08ad5d479e
Revert "FIX: Markdown bug", breaks build
...
This reverts commit 4a32cddf80
.
2013-11-20 10:41:21 +11:00
Robin Ward
4a32cddf80
FIX: Markdown bug
2013-11-19 16:23:04 -05:00
Neil Lalonde
981d8f6aea
Signup form: prefill username if Discourse Hub has a match for the email address. Also, fix some bad specs in username_checker_service_spec that were passing...
2013-11-19 14:15:28 -05:00
Robin Ward
20e4a2ef80
Renamed components so they don't all have the annoying discourse- prefix
2013-11-19 11:59:50 -05:00
Robin Ward
4ce81e1b01
Rename "Best Of" to "Summary"
2013-11-18 12:48:26 -05:00
Neil Lalonde
674887dafc
Debouncing broke my js tests. Fix them later.
2013-11-15 17:14:25 -05:00
Neil Lalonde
e01ce546e8
When you click Quote Reply, and then cancel the reply, don't ask if you're sure.
2013-11-15 13:13:58 -05:00
Neil Lalonde
df213d7b23
Filter on site settings across all categories
2013-11-14 16:02:14 -05:00
Robin Ward
df568df9dc
Controls for sorting topic columns
2013-11-13 11:48:38 -05:00
Régis Hanol
9165769da2
Merge pull request #1647 from velesin/notifications_controller_test_fix
...
fixes Ember's deprecation errors in NotificationsController unit tests
2013-11-13 00:27:27 -08:00
Régis Hanol
758a31e524
Merge pull request #1646 from velesin/logo_component_test_fix
...
fixes missing imege url errors in logo component tests
2013-11-13 00:27:06 -08:00
Wojciech Zawistowski
e41774a0ea
fixes Ember's deprecation errors in NotificationsController unit tests
2013-11-12 21:52:07 +01:00
Wojciech Zawistowski
a957a23b66
fixes missing imege url errors in logo component tests
2013-11-12 21:21:02 +01:00
Wojciech Zawistowski
a2dd197256
fixes the problem with perceived not mocked xhr call in tests
2013-11-12 20:40:46 +01:00
Wojciech Zawistowski
3359813624
cleans up header notifications integration tests
2013-11-11 21:51:49 +01:00
Régis Hanol
ed5eb469d5
Merge pull request #1635 from velesin/header_notifications_refactoring
...
refactors header notifications (renders them via separate controller)
2013-11-09 01:33:40 -08:00
Régis Hanol
345960e194
Merge pull request #1634 from velesin/click_track_tests_fixture_helper
...
refactors click track tests to use fixture helper
2013-11-09 01:31:41 -08:00
Wojciech Zawistowski
67a1da7af4
refactors header notifications (renders them via separate controller / template)
2013-11-08 21:06:27 +01:00
Wojciech Zawistowski
e31559b05f
refactors click track tests to use fixture helper
2013-11-08 20:30:20 +01:00
Wojciech Zawistowski
db002e9294
refactors logo component unit tests to use fixture helper
2013-11-08 20:23:29 +01:00
Robin Ward
cabde46fe4
Merge pull request #1631 from velesin/fixture_jshint_fix
...
FIX: adds fixture test helper to JSHint config
2013-11-08 09:53:36 -08:00
Wojciech Zawistowski
bdbddddbdd
cleans up setup of header integration test
2013-11-08 17:38:35 +01:00
Wojciech Zawistowski
e3e2d66ae4
FIX: adds fixture test helper to JSHint config
2013-11-08 17:28:57 +01:00
Robin Ward
ac9a763ab3
FIX: Extra space before tags in blockquotes
2013-11-07 16:06:50 -05:00
Robin Ward
35d4229847
Merge pull request #1624 from velesin/qunit_fixture_helpers
...
adds QUnit test helper simplifying usage of #qunit-fixture
2013-11-07 12:34:42 -08:00
Robin Ward
43c577adf5
Merge pull request #1623 from velesin/remove_qunit_scratch
...
removes redundant #qunit-scratch (use standard #qunit-fixture instead)
2013-11-07 12:33:58 -08:00
Robin Ward
0a692d00da
Merge pull request #1615 from velesin/header_notifications_tests
...
adds integration tests for notifications dropdown in header
2013-11-07 12:33:38 -08:00
Wojciech Zawistowski
89d33c5f3f
adds QUnit test helper simplifying usage of #qunit-fixture
2013-11-07 19:46:38 +01:00
Wojciech Zawistowski
74cbb18f67
removes redundant #qunit-scratch (replaces it with standard #qunit-fixture)
2013-11-07 18:18:07 +01:00
Wojciech Zawistowski
52208b4eb7
adds integration tests for notifications dropdown in header
2013-11-05 17:56:13 +01:00
Wojciech Zawistowski
1dcd2d903b
enhances integration test helper with the ability to invoke additional setup / teardown code
2013-11-05 17:42:37 +01:00
Robin Ward
b8e63719f8
FIX: Don't autolink within a markdown link.
2013-11-04 14:24:40 -05:00
Neil Lalonde
ede59a4386
FIX: issue 1538. After upgrading and before a new version check request has been made, dashboard might still say that an update is available.
2013-11-04 12:51:09 -05:00
Wojciech Zawistowski
2bd3cc4e16
cleans up logo integration tests
2013-10-31 17:27:28 +01:00
Wojciech Zawistowski
489dab333a
extracts logo component from header
2013-10-30 21:56:48 +01:00
Robin Ward
49abdbaaf7
Merge pull request #1587 from velesin/logo_tests
...
integration tests for the logo part of header
2013-10-29 12:39:02 -07:00
Robin Ward
5689e314c5
Upgrade Ember to 1.1.2
2013-10-29 13:01:57 -04:00
Wojciech Zawistowski
97b907e309
integration tests for the logo part of header
2013-10-29 17:33:53 +01:00
Robin Ward
84d531cff7
Merge pull request #1583 from velesin/header_test_fix
...
fixes wrong placement of expect in header integration test
2013-10-29 08:04:19 -07:00
Wojciech Zawistowski
37e56249be
fixes wrong placement of expect in View Topic integration test
2013-10-28 19:15:40 +01:00
Wojciech Zawistowski
76602f6353
fixes wrong placement of expect in header integration test
2013-10-28 19:01:36 +01:00
Robin Ward
e9c4465ec7
FIX: Various bugs with Category breadcrumbs
2013-10-25 15:24:03 -04:00
Sam
8ad103abb0
correct fixture
2013-10-25 14:59:57 +11:00
Sam
e57967c6c3
better exception when discourse.ajax is called, still need to figure out how to fix it though :)
2013-10-25 14:30:45 +11:00
Robin Ward
9adcd1579d
Renamed components
to lib
in the JS project, as Ember has components and they mean something different.
2013-10-24 12:36:46 -04:00
Robin Ward
541620c115
Routes and support for sub-categories
2013-10-23 15:22:49 -04:00
Robin Ward
49a11e51df
Ember support for parent categories
2013-10-23 15:22:49 -04:00
Régis Hanol
a12a1bcc66
bring back attachment icons
2013-10-23 09:52:15 +02:00
Robin Ward
e94a8cf62e
Remove some autogenerated stuff we don't use.
2013-10-22 17:38:32 -04:00
Robin Ward
348e2e3ef2
Support for per-user API keys
2013-10-22 17:34:39 -04:00
Robin Ward
e2845f7f16
Restrict SIZE= to numbers
2013-10-22 11:08:13 -04:00
Robin Ward
e527cbf884
FIX: Link reference-style text without a url
2013-10-21 14:16:49 -04:00
Robin Ward
d9a16079a5
FIX: Do not allow users to create tables
2013-10-21 13:32:15 -04:00
Robin Ward
7a5c3bfcd8
whitelist acceptable syntax highlighting classes
2013-10-21 13:11:10 -04:00
Robin Ward
d10f9f756f
FIX: [code]
blocks with #
headers within
2013-10-21 12:12:58 -04:00
Robin Ward
1783089d64
FIX: [quote] without params was failing.
2013-10-21 11:12:47 -04:00
Robin Ward
4d9ca99929
Merge pull request #1542 from velesin/debounce_refactoring
...
refactors Discourse.debounce
2013-10-21 07:50:26 -07:00
Robin Ward
c5f14cdd0e
Merge pull request #1549 from velesin/debounce_promise_refactoring
...
refactors Discourse.debouncePromise
2013-10-21 07:49:47 -07:00
Régis Hanol
533006a5ec
Merge pull request #1536 from velesin/computed_tests_refactoring
...
Discourse.Computed tests refactoring
2013-10-20 07:01:26 -07:00
Wojciech Zawistowski
4c4a2f220e
refactors Discourse.debouncePromise
2013-10-20 10:38:26 +02:00
Wojciech Zawistowski
d0f3765967
refactors Discourse.debounce
2013-10-19 09:13:00 +02:00
Robin Ward
1113b8d7a8
FIX: Don't double sanitize values, allow blockquotes with leading text
2013-10-18 17:34:54 -04:00
Robin Ward
d7182d0b14
FIX: Only wrap inline html tags in <p>
2013-10-18 15:21:05 -04:00
Wojciech Zawistowski
42c12206c3
Discourse.Computed tests refactoring
2013-10-17 18:52:24 +02:00
Neil Lalonde
71571b9316
Never show preview pane in composer on mobile.
2013-10-17 12:19:28 -04:00
Robin Ward
665a07f004
Merge pull request #1532 from velesin/container_view_tests
...
unit tests for Discourse.ContainerView
2013-10-17 06:55:23 -07:00
Robin Ward
5126ed757e
Merge pull request #1530 from velesin/view_tests
...
adds unit tests for Discourse.View
2013-10-17 06:55:00 -07:00
Robin Ward
dd63e6d28f
Two Column User View
2013-10-16 15:51:01 -04:00
Wojciech Zawistowski
07ec58a89d
unit tests for Discourse.ContainerView
2013-10-16 17:47:51 +02:00
Robin Ward
8d016092cd
FIX: Heading with style
2013-10-16 10:39:06 -04:00
Robin Ward
67771d6bdf
FIX: New line after blockquote
2013-10-16 10:28:48 -04:00
Robin Ward
f27413219e
Support for MDTest
2013-10-16 10:28:42 -04:00
Wojciech Zawistowski
349588630f
adds unit tests for Discourse.View
2013-10-15 18:00:10 +02:00
Robin Ward
5281b7f80c
Upgraded and refactored Sanitizing. Much less crap should get through now!
...
Conflicts:
app/assets/javascripts/discourse/components/syntax_highlighting.js
2013-10-15 10:53:11 -04:00
Robin Ward
af931f0444
Reverting the Sanitizer commit in case we have to do something urgent
...
before we deploy it early next week. It's in the branch `sanitizer` for
now.
This reverts commit 9e93d8ed52
.
2013-10-11 16:44:26 -04:00
Robin Ward
9e93d8ed52
Upgraded and refactored Sanitizing. Much less crap should get through now!
...
Conflicts:
app/assets/javascripts/discourse/components/syntax_highlighting.js
2013-10-11 16:25:40 -04:00
Wojciech Zawistowski
708a55cb38
refactors Discourse.Computed to bind context to self
2013-10-09 18:24:33 +02:00
Neil Lalonde
bccb37b6f3
When creating a topic, don't select a category by default when allow_uncategorized_topics is false. Also, added category validation on the server to enforce allow_uncategorized_topics.
2013-10-08 14:41:20 -04:00
Robin Ward
e7935d4263
Merge pull request #1501 from velesin/debounce_promise_tests
...
adds unit tests for Discourse.debouncePromise
2013-10-08 07:56:07 -07:00
Wojciech Zawistowski
034d00b83a
adds unit tests for Discourse.debouncePromise
2013-10-07 17:45:09 +02:00
Wojciech Zawistowski
7106b27860
refactors asyncTestDiscourse to bind context as self
2013-10-07 17:36:20 +02:00
Robin Ward
fc00269b7f
Pop up with user information when clicking avatar on topic page
2013-10-03 13:06:30 -04:00
Wojciech Zawistowski
4fc4831efc
adds unit tests for Discourse.debounce
2013-10-02 20:03:04 +02:00
Régis Hanol
af96ef2994
FIX: deleting a flagged post issue
...
cf. http://meta.discourse.org/t/deleting-a-flagged-post-issue/10061
The bug was only happening when you were about the delete the first post, which means deleting the entire topic.
2013-10-02 16:59:57 +02:00
Robin Ward
0b5df524c7
Merge pull request #1487 from velesin/has_current_user_tests
...
adds unit tests for Discourse.HasCurrentUser
2013-10-02 07:27:06 -07:00
Robin Ward
be0ce08cc2
Ember Upgrade: 1.0
2013-10-01 11:16:27 -04:00
Wojciech Zawistowski
363a8d6e4f
adds unit tests for Discourse.HasCurrentUser
2013-09-30 21:46:42 +02:00
Wojciech Zawistowski
2f9a467453
adds unit tests for Discourse.Controller
2013-09-30 18:12:12 +02:00
Robin Ward
37304b7eba
FIX: Too many new lines in long quotes
2013-09-27 15:08:56 -04:00
Robin Ward
19d94f3576
Merge pull request #1467 from velesin/resolver_tests
...
adds unit tests for Discourse.Resolver
2013-09-27 09:19:11 -07:00
Sam
191dc77482
Merge pull request #1451 from velesin/remove_return_from_router_map
...
remove unnecessary return statement inside Discourse.Router.map
2013-09-26 14:39:47 -07:00
Wojciech Zawistowski
95d8014931
adds unit tests for Discourse.Model
2013-09-26 19:03:43 +02:00
Wojciech Zawistowski
9b7b70920a
adds unit tests for Discourse.Resolver
2013-09-25 18:30:22 +02:00
Wojciech Zawistowski
cd3a2143d2
remove unnecessary return statement inside Discourse.Router.map
...
Ember's Router.map(callback) method doesn't expect any value to be
returned by callback function. Therefore, return statements present
inside Discourse.Router.map are unnecessary (and are silently ignored by
Ember).
2013-09-19 17:26:43 +02:00
Wojciech Zawistowski
7da10c0149
Remove duplicate mixing in of Discourse.Presence
...
AdminEmailIndexController and AdminEmailPreviewDigestController explicitely mix in Discourse.Presence, but they extend base classes Discourse.Controller and Discourse.ObjectController that already mix in Discourse.Presence, so this explicit inclusion is redundant.
2013-09-18 18:40:57 +02:00
Viktor Palmkvist
37673e3412
Make the composer and TopicCreator use category id instead of category name
...
Also fixes #1171
Includes backwards compatibility for topic creation
2013-09-17 12:13:19 +02:00
Régis Hanol
eae30d7816
staff can always upload a file
2013-09-07 10:49:11 +02:00
Robin Ward
a9f3489237
FIX: Don't onebox links with labels unless the labels are the same as the URL
2013-09-06 16:47:26 -04:00
Robin Ward
63be950e5f
FIX: Quotes inside a list
2013-09-05 17:04:01 -04:00
Neil Lalonde
45d7765936
Merge branch 'master' into mobile
2013-09-05 15:54:22 -04:00
Robin Ward
f157ec1f91
Select +Replies for bulk operations
2013-09-05 11:03:29 -04:00
Sam
61d3e43744
better split logic for names starting with capitols eg: ABBob should split to AB Bob
2013-09-04 15:02:04 +10:00
Robin Ward
63f2187d72
FIX: Don't do intraword italics when prefixed by a forward slash
2013-08-30 10:56:41 -04:00
Neil Lalonde
82bc6b677f
Add link in hamburger menu to switch between mobile and desktop views
2013-08-29 15:19:28 -04:00
Robin Ward
380a6c9e9d
FIX: Blockquotes prefixed by spaces
2013-08-29 15:18:27 -04:00