Régis Hanol
c4f93846f9
add linebreaks when uploading a file
2016-05-20 11:35:47 +02:00
Jeff Atwood
80082f0e2b
UX: hide flag behind ellipsis by default
2016-05-18 16:50:43 -07:00
Robin Ward
47720ba1ca
UX: Clicking a participant in the topic map should just show the card
2016-05-11 15:09:36 -04:00
Robin Ward
0fcfc6bed9
Add acceptance tests for all mobile templates
2016-05-05 12:49:12 -04:00
Régis Hanol
ad15049ef0
FIX: don't track clicks on links in quotes
2016-05-03 18:47:01 +02:00
Arpit Jalan
706ea28ef9
FIX: prepend 'continue discussion' link to topic template
2016-05-03 15:01:02 +05:30
cpradio
b7b5caa50e
FEATURE: Apply external window setting to Revision History ( #4207 )
2016-05-02 14:48:34 -04:00
cpradio
5c583ff5bb
FEATURE: Extend clicking tracking to the user profile page. ( #4203 )
...
* Extend clicking tracking to the user profile page.
Added qunit tests
Fixed click-track-test so it uses the correct data attribute for topic_id in its fixture
* Added a second excerpt to verify test pulls from the appropriate one.
2016-05-02 11:43:58 -04:00
Robin Ward
1a3b63e07d
createWithMixins
is deprecated.
2016-04-29 16:50:52 -04:00
Robin Ward
400c061046
Ember.keys
is deprected in favor of Object.keys
2016-04-28 16:37:20 -04:00
Robin Ward
187d7d6f96
Remove more views and deprecations.
2016-04-28 16:17:18 -04:00
Robin Ward
2f911d9435
FIX: Broken test, data-auto-route
is no longer needed
2016-04-27 14:03:45 -04:00
Robin Ward
514c3976f0
PERF: Migrate header to discourse widgets
2016-04-25 10:48:04 -04:00
Régis Hanol
4960b62110
FEATURE: new 'block_auto_generated_emails' site setting
2016-04-20 21:29:27 +02:00
Guo Xiang Tan
256d7a00e9
Update sprockets. ( #4167 )
...
* Update sass-rails.
* FIX: Tilt dependency has been removed from Ember::Handlebars::Template.
* Update `DiscourseIIFE` to new Sprockets API.
* `Rails.application.assets` returns `nil` in production.
* Move sprockets-rails out of the assets group.
* Pin ember-rails to 0.18.5 which works with Sprockets 3.x.
* Update sprockets to 3.6.0.
* Make `DiscourseSassCompiler` work with Sprockets 3.
* Use `Sass::Rails::SassImporterGlobbing` instead of haxxing our own.
* Moneky patch so that we don't add dependencies for our custom css.
* FIX: Missing class.
* Upgrade ember-handlebars-template.
* FIX: require path needs to share the same root as the folder's path.
* Bump discourse-qunit-rails.
* Update ember-template-compiler.js to 1.12.2.
* `prepend` is private in Ruby 2.0.0.
2016-04-18 10:47:52 +08:00
Sam
9e50f36c50
Merge pull request #4137 from cpradio/add-warning-to-flag
...
FEATURE: Add warning input to flag dialog when notifying a user
2016-04-15 16:23:22 +10:00
Régis Hanol
6ee11adf58
FIX: 'Discourse.isInternal' wasn't working with protocol-less URLs
2016-04-11 22:21:39 +02:00
Robin Ward
f6c460c207
Add tests for groups pages, DRY html into a component
2016-04-11 13:17:34 -04:00
Peter Lejeck
9bba68ed74
Allow disabling link tracking with .no-track-link ( #4160 )
2016-04-11 11:39:49 -04:00
Robin Ward
c948d53d91
UX: Use separate input fields for link and description in d-editor
2016-04-08 16:13:42 -04:00
cpradio
67cd08af9b
Add qunit tests
2016-04-03 20:26:42 -04:00
Sam
fe51f84aa7
FEATURE: allow admins to enter badge long descriptions
...
FIX: fallback to description if badge long description is missing
Also moves all badge localization into server.en, this slims the client down
serializers pass down localized names/descriptions/long descriptions
2016-03-28 18:38:57 +11:00
Jeff Atwood
0f11bc0beb
fix tests
2016-03-27 09:58:16 -07:00
Jeff Atwood
b3a028acc0
remove built-in support for bbcode size
2016-03-27 09:29:27 -07:00
Robin Ward
27c793a990
UX: Show badges as cards on the badges index and show page
2016-03-25 15:33:06 -04:00
Robin Ward
e51259ee7b
FIX: Broken test
2016-03-24 13:50:45 -04:00
Robin Ward
db15772ab1
UX: Make user info rendering more consistent
2016-03-24 13:49:35 -04:00
Robin Ward
d1b9a9370a
PERF: Render logo significantly faster
2016-03-21 15:14:31 -04:00
Robin Ward
a9daa33953
Add tests to home-logo
component
2016-03-21 14:16:33 -04:00
Robin Ward
fbf45426e4
Autoload widgets since they are named when created, not by file
2016-03-18 16:31:59 -04:00
Jared Reisinger
973f8a5254
FIX: plugin links.
...
Change from `https://meta.discourse.org/category/extensibility/plugin ` to `https://meta.discourse.org/c/plugin ` so that they actually work! Note that `/category/...` would continue to work (it just redirects to `/c/...`), but since the site itself appears to normalize to `/c/`, it makes sense for the links to follow the same pattern.
2016-03-16 11:42:39 -07:00
Sam Saffron
7be90a885c
FIX: bolding text when selection has a leading space
2016-03-10 22:43:48 +11:00
Sam Saffron
f3efe657fa
FEATURE: Automatically add http:// when adding links without them via composer
2016-03-10 18:25:02 +11:00
Robin Ward
396713718b
FEATURE: Adds ~200 more emoji
...
This includes all new emoji from Unicode 7 and Unicode 8 with the
exception of skin tones which will require a new interface.
2016-03-04 15:10:14 -05:00
Régis Hanol
71911a4c67
fix build
2016-03-04 10:52:23 +01:00
Robin Ward
79cc602bcc
FIX: Broken test :fired:
2016-03-03 11:40:35 -05:00
Neil Lalonde
c1aea91d63
FEATURE: More digest email frequency options. Digests can be sent as often as every 30 minutes.
2016-03-02 15:43:47 -05:00
Robin Ward
627ef54efe
New PluginAPI for widget settings
2016-02-26 14:26:29 -05:00
Robin Ward
98ab64dc89
FIX: Some re-render functionality in widgets, added more coverage
2016-02-26 14:01:20 -05:00
Robin Ward
6b46092aa2
FIX: Disable cloaking in the test environment
2016-02-24 17:44:01 -05:00
Robin Ward
026bba1876
Merge branch 'master' into vdom
2016-02-22 15:28:07 -05:00
Jeff Atwood
f6b1238d6c
reduce maximum_backups default from 7 to 5
2016-02-22 00:56:26 -08:00
Robin Ward
f6aa1ac37a
Migrate onToolbarCreate
to the DiscourseAPI
2016-02-18 15:23:43 -05:00
Robin Ward
f77ec0b610
FIX: broken tests
2016-02-18 12:19:00 -05:00
Robin Ward
849c99f83d
Remove Discourse.Mobile
constants
2016-02-18 12:19:00 -05:00
Sam
1e131a120c
Merge branch 'master' into vdom
2016-02-17 18:39:11 +11:00
Sam
8981ca41f0
correct acceptance test
2016-02-17 18:38:57 +11:00
Robin Ward
482a65821b
FIX: Latest eslint doesn't recognize TypedArray
2016-02-15 11:12:57 +01:00
Robin Ward
878ced8920
FIX: Latest eslint doesn't recognize TypedArray
2016-02-12 13:31:26 -05:00
Robin Ward
960f9ed132
FIX: Broken test
2016-02-11 16:51:50 -05:00
Robin Ward
d1e85bdd8b
FEATURE: Use virtual dom framework for faster post rendering
2016-02-11 11:00:40 -05:00
Guo Xiang Tan
c0feea4629
Add tests for category hashtag.
2016-02-04 15:52:40 +08:00
Guo Xiang Tan
4cd07fbb29
Fix broken tests.
2016-02-04 15:24:49 +08:00
Guo Xiang Tan
2c19e7f73d
Fix the build.
2016-01-29 17:52:30 +08:00
Guo Xiang Tan
07b244741c
FIX: the build.
2016-01-21 16:21:54 +08:00
Guo Xiang Tan
bd86e88b05
UX: Remove category hashtag decoration.
2016-01-21 12:27:52 +08:00
Guo Xiang Tan
fa794ef59d
FIX: Deleting characters on category hashtag was not triggering autocomplete.
2016-01-20 17:18:04 +08:00
Guo Xiang Tan
9652c3df4f
FIX: Don't track category-badges links.
2016-01-20 12:48:00 +08:00
Guo Xiang Tan
4a7f560a35
FEATURE: Decorate category hashtag links.
2016-01-19 10:58:15 +08:00
Robin Ward
57c3d65777
Change d-editor
to use _
instead of *
for italics.
2016-01-18 14:54:54 -05:00
Guo Xiang Tan
f519834824
FIX: Don't include child categories when term is black.
2016-01-08 11:26:06 +08:00
Guo Xiang Tan
c947c75de3
FIX: Make eslint happy.
2016-01-05 15:22:29 +08:00
Guo Xiang Tan
0fa9a50378
FIX: Ignore case when comparing category name and search term.
2016-01-05 15:15:04 +08:00
Guo Xiang Tan
d6b5b9436c
UX: Prioritize categories autocomplete with new rules.
2016-01-05 14:59:18 +08:00
Guo Xiang Tan
a549229a0d
Remove unused code.
2016-01-05 09:37:46 +08:00
Guo Xiang Tan
c1dbf5c1c4
FEATURE: Autolinking to category using hashtags.
2016-01-05 00:12:24 +08:00
Régis Hanol
bebeeffc30
FIX: ico are images too
2015-12-31 11:40:23 +01:00
Robin Ward
fd6bbc69e2
FIX: On chrome, focusing on a recently changed textarea would scroll
2015-12-29 14:59:12 -05:00
Jeff Atwood
e03861da7e
change all emoji image tests to use ?v=1
2015-12-22 14:36:21 -08:00
Robin Ward
67c08e8aae
FIX: Broken tests for slightly_smiling
2015-12-22 16:07:28 -05:00
Sam
33df5372f6
comment out some tests for now
2015-12-20 17:49:35 +11:00
Sam
d20f6e0cb0
fix test and comment out js test for now
2015-12-20 17:34:15 +11:00
Sam Saffron
f97a754b30
Revert "Try adding an ALT tag for avatars"
2015-12-15 19:57:54 +11:00
Sam Saffron
dd6e38133a
correct tests and implemenation
2015-12-15 19:46:00 +11:00
Sam Saffron
b7f6df7d0c
fix specs and tests
2015-12-15 18:18:20 +11:00
Robin Ward
4e80323567
FIX: Remove useless stub tests
2015-12-07 14:27:43 -05:00
Robin Ward
255a5be015
Revert "Cleaner implementation of postsWithPlaceholders
and more tests."
...
This reverts commit 4c0670a109
.
2015-12-04 15:59:46 -05:00
Robin Ward
a51c91ac05
Revert "FIX: Errors with summary views and placeholders"
...
This reverts commit 5be3bf80eb
.
2015-12-04 15:59:39 -05:00
Robin Ward
5be3bf80eb
FIX: Errors with summary views and placeholders
2015-12-04 15:10:13 -05:00
Robin Ward
4c0670a109
Cleaner implementation of postsWithPlaceholders
and more tests.
2015-12-04 15:10:13 -05:00
Robin Ward
40c8d39137
FEATURE: Reply Placeholders in Stream
2015-12-04 10:02:58 -05:00
Robin Ward
949f51ffe0
Remove ajax stubbing from post-stream tests
2015-12-04 10:02:37 -05:00
Robin Ward
2006be41cf
Split up pretender a bit. It was getting unwieldly.
2015-12-01 15:31:15 -05:00
Robin Ward
de88be2fbc
Support for "Only show overridden" in site text customization
2015-11-30 15:25:08 -05:00
Sam
ad3dd161e7
FEATURE: first class group mentions built in
...
If you allow a group to be mentioned it can be mentioned with the @ symbol.
Keep in mind as a safety mechanism max_users_notified_per_group_mention is set to 100
2015-11-30 17:08:43 +11:00
Robin Ward
5e93140f85
FEATURE: Can override any translation via an admin interface
2015-11-27 11:35:19 -05:00
Sam
0844350308
correct production mode due to ember loading changes
2015-11-25 13:57:10 +11:00
Robin Ward
49bda0b17d
FIX: Improve windows double clicking on words in editor
2015-11-24 13:42:22 -05:00
Robin Ward
c76caca109
FIX: Perform the same operation on multilines in d-editor
2015-11-24 13:03:37 -05:00
Sam
5c899c765b
Revert "Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS""
...
This reverts commit c21457d6a7
.
2015-11-21 12:27:06 +11:00
Arpit Jalan
e25ee74209
FIX: handle topic/post creation when the language highlighting is turned off
2015-11-21 02:10:54 +05:30
Robin Ward
c21457d6a7
Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS"
...
This reverts commit c0b277d273
.
2015-11-20 10:00:12 -05:00
Sam
c0b277d273
REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS
...
This change is discussed here: https://meta.discourse.org/t/deprecating-es6-compatibility-layer/35821
Prior to this change we were not booting correctly with DISCOURSE_NO_CONSTANTS
2015-11-21 00:14:50 +11:00
Robin Ward
4aab904ff6
FIX: Test in phantom environment with different selection defaults
2015-11-18 13:35:36 -05:00
Robin Ward
84a50a1260
FIX: Keyboard handling regression
2015-11-18 12:35:17 -05:00
Robin Ward
8dc0fa97d4
Better behavior When inserting a link with no description
2015-11-17 13:26:55 -05:00
Régis Hanol
896c23fadc
fix build
2015-11-12 18:02:13 +01:00
Robin Ward
a7d87d1530
Merge pull request #3891 from cpradio/fix-selected-link-text
...
FIX: Use selected text in the link if text is already selected, otherwise, put the URL
2015-11-09 16:24:07 -05:00
cpradio
8f39f25cad
FIX: Use selected text in the link if text is already selected, otherwise, put the URL
2015-11-09 15:29:19 -05:00
Sam Saffron
6dd4bc7d57
FEATURE: support group owner, capable of controlling group membership
...
Group owners are regular users that can add or remove users to a group
The Admin UX allows admins to appoint group owners
The public group UX will display group owners first and unlock UI to
add and remove members
Group owners can only be appointed on non automatic groups
Group owners may not appoint another group owner
2015-11-10 00:56:57 +11:00
Robin Ward
52579179bd
FIX: Broken tests in phantom, not in browser
2015-11-06 16:44:38 -05:00
Robin Ward
15931fce1e
FIX: Allow us to insert things between words.
2015-11-06 15:40:52 -05:00
Robin Ward
8ba7c06b7d
Merge pull request #3735 from riking/patch-4
...
FIX: Discourse.BaseUri should not default to /
2015-11-06 14:52:19 -05:00
Robin Ward
47495a5713
FEATURE: Replace composer editor with ember version
2015-11-06 09:49:16 -05:00
Sam Saffron
04856dac10
structure changed ...
2015-11-05 21:21:52 +11:00
Robin Ward
5cd6308850
API for adding buttons to the new composer
2015-11-02 16:18:09 -05:00
Seth Reeser
85da9c6ff8
Digital Ocean should be DigitalOcean https://www.digitalocean.com/legal/terms/
2015-10-30 13:31:48 -04:00
Neil Lalonde
ca98f66f7e
FIX: wrong root path on subfolder installs
2015-10-21 13:13:19 -04:00
Robin Ward
0428bacfa9
SECURITY: A user could XSS themselves on their preference page
2015-10-20 12:09:59 -04:00
Robin Ward
94b60e62a2
FEATURE: New markdown editor re-written in Ember
...
Note this commit leaves out the biggest occurrence of the editor
which is the post/topic composer.
To avoid major breakage, this replaces it everywhere else it was
used:
* User preferences (About Me)
* Admin Customizations > Text Content
* Category Templates
* Editing Queued Posts
A future commit will replace the main composer with this editor
and will remove the unused pagedown code.
2015-10-19 11:01:20 -04:00
James D
44b04e4521
Make @mentions following a slash link to usercards
...
A slash preceding an @mention was causing the markup for the usercard
link to not be generated. For example, the markdown
Pinging @bob/@joe
Would generate a usercard for @bob, but not @joe.
2015-10-16 19:18:46 -04:00
Sam Saffron
85f1cf7d1b
correct test
2015-10-05 16:45:53 +11:00
Sam
bfd08ca649
correct invalid tests
2015-09-28 17:18:46 +10:00
Gerhard Schlager
7d5e2d46c5
FIX: Only enabled badges can be granted
...
FIX: Sort badges by displayName
2015-09-24 02:06:04 +02:00
Robin Ward
b49e9fb174
FIX: Load order of TopicTrackingState
was off
2015-09-21 14:15:25 -04:00
Sam
f74c21d2e7
FIX: tracking of new/unread/latest in category/subcategory was broken
2015-09-21 10:36:20 +10:00
Robin Ward
975edceff4
Add semi colon linting to Javascript
2015-09-15 17:08:50 -04:00
Neil Lalonde
721b282d3c
Merge pull request #3701 from xfalcox/patch-1
...
Fix same domains links on subfolder installs
2015-09-15 11:49:09 -04:00
Rafael dos Santos Silva
230bc8bb6e
Add tests to isInternal on subfolder installs
2015-09-14 18:39:54 -03:00
Régis Hanol
0c58f08207
FIX: profile picture selector
2015-09-11 15:10:56 +02:00
Kane York
aca70805f1
FIX: Discourse.BaseUri should not default to /
2015-09-10 17:34:08 -07:00
Robin Ward
b34b3293a3
FIX: Broken test
2015-09-09 17:00:07 -04:00
Robin Ward
3ceadbd5b8
FIX: Allow qunit tests to run in browser by stubbing new functionality
2015-09-09 16:20:36 -04:00
Robin Ward
1c90f77d09
Merge pull request #3715 from gwwar/quote_newline_code
...
workaround for code block being parsed before quote block.
2015-09-08 16:52:46 -04:00
Sam
e06d407153
Merge pull request #3718 from tgxworld/allow_emojis_to_be_copy_and_pasted
...
FIX: Allow user to quote Emojis.
2015-09-07 08:48:34 +10:00
Robin Ward
8e776d0fd7
Move TopicTrackingState
to injected object
2015-09-04 13:00:24 -04:00
Robin Ward
286738c712
FIX: Include dummy capabilities object in component tests
2015-09-02 16:18:14 -04:00
Robin Ward
c36fdccab2
Add d-link
component to simplify menu markup
2015-09-01 16:14:34 -04:00
Robin Ward
bf2c18fddb
Migrate KeyValueStore
to ES6 modules
2015-09-01 14:45:24 -04:00
kerryliu
cb9c603b6b
workaround for code block being parsed before quote block.
2015-09-01 09:13:51 -07:00
Guo Xiang Tan
9909c715dc
FIX: Emoji can't be copy and pasted.
2015-09-01 15:45:46 +08:00
Robin Ward
ddf0db0338
Refactor notifications localStorage
cache into adapter pattern.
...
Sometimes you want stale data right away, then refresh it async.
This adds `findStale` to the store for that case. If it returns
an object with `hasResults` you can get the `results` and display
them.
It also returns a `refresh()` method to freshen up the stale data.
To enable `localStorage` support for stale data, just include the
mixin `StaleLocalStorage` into an adapter for that model. This
commit includes a sample of doing that for `Notifications`.
2015-08-31 14:12:27 -04:00
Guo Xiang Tan
d3fea106fc
FIX: Update relativeAgeMedium to be consistent with relativeAgeTiny.
2015-08-31 00:14:57 +08:00
Guo Xiang Tan
50ce95b37d
FIX: Post age time not being translated correctly.
2015-08-31 00:11:52 +08:00
Sam
6fc2300279
fix test
2015-08-30 09:54:13 +10:00
Jeff Atwood
5336677be7
missed a few spots where close-panel was used
2015-08-29 04:04:04 -07:00
Robin Ward
3ae5a0a2df
UX: Merge notifications and user dropdown
2015-08-28 16:11:40 -04:00
Robin Ward
d4b987ff32
Migrate search drop down to menu-panel
component.
2015-08-28 15:44:24 -04:00
Robin Ward
42e510753d
Support for Acceptance tests in plugins
2015-08-27 17:07:11 -04:00
Régis Hanol
fd3dd3bdeb
Merge pull request #3691 from tgxworld/toggle_edits
...
FIX: Dirty edit can toggle to another edit.
2015-08-27 14:26:51 +02:00
kerryliu
5bd1d52de2
FIX: emoji unescape
2015-08-26 21:37:57 -07:00
Robin Ward
5457684975
Split hamburger-menu
out into menu-panel
2015-08-26 16:29:10 -04:00
Robin Ward
e66f111348
UX: Use dropdown for hamburger on wide screens, full height on smaller
2015-08-26 14:43:08 -04:00
Robin Ward
9760369e4c
Clean up clicking outside the hamburger, add test
2015-08-26 14:43:08 -04:00
Robin Ward
b5b099d372
FIX: Remove broken test, add descriptions
2015-08-25 17:34:26 -04:00
Robin Ward
c5460b7d3f
FEATURE: Full height hamburger menu
...
- Rename `site-map` to `hamburger-menu`
- Includes acceptance tests
2015-08-25 16:48:43 -04:00
Régis Hanol
294669c856
FIX qunit test runner for phantomjs 2.0
2015-08-25 10:42:19 +02:00
Guo Xiang Tan
f98eddb675
FIX: Dirty edit can toggle to another edit.
2015-08-24 22:55:56 +08:00
Régis Hanol
07d6bb8d31
FIX: remove client side maximum filesize check
2015-08-21 12:19:35 +02:00
Sam
5658119a36
Merge pull request #3649 from tgxworld/click_reply_should_clear_edit
...
Click reply should clear edit
2015-08-21 10:36:21 +10:00
Robin Ward
d1c69189f3
FEATURE: Can edit category/host relationships for embedding
2015-08-20 15:56:04 -04:00
Régis Hanol
c002845b1a
Merge pull request #3668 from gwwar/image_and_text_spoiler
...
spoiler tag uses replaceBBCode
2015-08-20 16:28:54 +02:00
kerryliu
ee804f608f
spoiler tag uses replaceBBCode instead of rawBBCode for emoji and text formatting support.
2015-08-19 15:52:06 -07:00
Robin Ward
abd9b26642
Convert Badges / User Badges to ES6.
2015-08-19 12:09:10 -04:00
Robin Ward
b0541500b4
FIX: eslint deprecations
2015-08-13 15:14:08 -04:00
Guo Xiang Tan
5e215a87c2
Add more acceptance tests for composer.
2015-08-14 00:49:13 +08:00
Robin Ward
22844b9e46
Ember 1.12 support
2015-08-13 11:14:16 -04:00
Robin Ward
02a968bd27
Remove ObjectController, Discouse Controllers + Presence
2015-08-13 10:49:08 -04:00
Robin Ward
e2e3e7c0e0
Add ES6 support to more files
2015-08-13 10:49:08 -04:00
Régis Hanol
2f6788342e
fix build
2015-08-12 19:23:41 +02:00
Robin Ward
d37accb5bc
FIX: broken debounce in search terms.
2015-08-10 16:33:24 -04:00
Robin Ward
b7e6eaa961
ES6ify some of the remaining files
2015-08-10 10:21:05 -04:00
Robin Ward
0932e82508
Refactor Customizations to have deeper URLs
2015-08-10 10:21:04 -04:00
Sam
0889f71268
comment out tests till Discourse.ajax is stubbed correctly
2015-08-10 18:25:44 +10:00
Robin Ward
7ef83913b6
FIX: Couldn't select values of 0 in the combo-box
2015-08-05 16:19:44 -04:00
Régis Hanol
b8c8348e5b
FIX: remove bookmark from user stream
2015-08-05 12:40:43 +02:00
Régis Hanol
64dd28d885
FIX: time to first response metric
2015-08-04 18:23:56 +02:00
Robin Ward
aa6f792ce1
FEATURE: Custom orders for user fields
2015-07-30 14:53:13 -04:00
Robin Ward
33b03c1503
FIX: Broken js tests
2015-07-28 17:23:24 -04:00
Neil Lalonde
7518918b8f
FEATURE: add quarterly period to Top page
2015-07-28 12:31:42 -04:00
Robin Ward
dc8a68fd29
FEATURE: New "Dropdown" user field type
2015-07-28 12:30:21 -04:00
Régis Hanol
1eb8f710f1
commented search acceptance tests out
2015-07-27 10:32:02 +02:00
Guo Xiang Tan
3c25ca2f9f
FIX: Encode percent character in search terms.
2015-07-21 10:54:39 +08:00
Robin Ward
f647174c95
Add acceptance test for full page search
2015-07-15 11:17:04 -04:00
Robin Ward
cc2a33617f
Refactor likes/flags to simplify things a lot
2015-07-14 15:50:27 -04:00
Robin Ward
fcfcda099f
Component tests for like button
2015-07-14 14:46:46 -04:00
Robin Ward
7a58d64f37
Upgrade ember qunit, create new interface for testing components
2015-07-14 13:56:59 -04:00
Robin Ward
20a338362f
FIX: Allow multiple pagedown editors at once.
2015-07-13 16:36:38 -04:00
Sam
f533276507
FIX: do not publish all categories when a category changes.
...
minor fixes to UI, still needs more work for live refresh of category listing
2015-07-10 12:09:43 +10:00
Robin Ward
db75774440
UX: Move likes into drop down instead of its own status line
2015-07-03 17:15:20 -04:00
Robin Ward
7676c5dfe7
Can add topic templates to categories, prepopulated on compose
2015-07-03 10:01:46 -04:00
Robin Ward
23daa9d8ce
Refactor and add tests for category editing
2015-07-03 10:01:46 -04:00
Robin Ward
c4b685469e
Merge pull request #3569 from gschlager/i18n
...
FEATURE: Make abbreviated numbers (k, M) localizable
2015-07-01 15:27:17 -04:00
Robin Ward
e026dc16d8
FIX: Broken tests :fired:
2015-06-29 15:38:28 -04:00
Gerhard Schlager
d08693edce
FEATURE: Make abbreviated numbers (k, M) localizable
...
- Make the decimal separator and thousands delimiter localizable
- Add translations for all languages, otherwise this will look very ugly
2015-06-26 00:51:12 +02:00
Robin Ward
7ed309666b
Refactor search results to be components instead of views for reuse
2015-06-22 15:08:51 -04:00
Régis Hanol
6dfef49392
fix the build...
2015-06-22 19:57:02 +02:00
Robin Ward
00572c4f11
FIX: The time gap would disappear after a post was comitted
2015-06-19 10:32:58 -04:00
Robin Ward
42bd9b6199
FEATURE: Show time gap between posts if more than a few days
2015-06-18 17:06:25 -04:00
Régis Hanol
01a23203c7
FIX: slightly improve emoji support in titles (no need for spaces between emojis)
2015-06-16 10:15:42 +02:00
Régis Hanol
50e705a078
fix the build
2015-06-15 16:02:30 +02:00
Régis Hanol
2d03163be0
FEATURE: add support for emojis in title
2015-06-15 15:27:22 +02:00
Régis Hanol
34a0389ff3
FIX: time read column was empty in user directory
2015-06-12 12:40:07 +02:00
Robin Ward
e54125b5dc
FIX: Endless spinner when anonymous users navigated to 404s
2015-06-10 13:12:37 -04:00
Robin Ward
7b6d6b76eb
FEATURE: Multiple embeddable hosts
...
- Also refactors two site settings components into one, with tests
2015-06-09 13:25:43 -04:00
Sam Saffron
7942b28780
FIX: Emoji aliases not autocompleted
2015-06-01 12:33:42 +10:00
Régis Hanol
e101396ea1
FEATURE: add support for device pixel ratio = 3
2015-05-28 01:48:07 +02:00
Robin Ward
23eadc3fb1
The entire qunit suite runs without any deprecations
2015-05-27 15:07:09 -04:00
Robin Ward
5890dae64c
FIX: Inappropriate error message when you couldn't access a topic
2015-05-27 13:54:11 -04:00
Régis Hanol
85d4d3223c
FIX: crop avatars on the server instead of the client
...
FIX: support for dots in S3 bucket names
2015-05-26 15:54:25 +02:00
Régis Hanol
566b267981
FIX: cropAvatar
2015-05-20 16:45:48 +02:00
Robin Ward
4685d833b5
FIX: Broken acceptance test
2015-05-19 13:00:50 -04:00
Robin Ward
0362c50698
Remove deprecations from edit-category and add skeleton acceptance test
2015-05-15 11:12:41 -04:00
Robin Ward
8e395a94d4
FIX: Modal asking where to post was missing
2015-05-14 18:18:28 -04:00
Robin Ward
d90063fc59
FIX: Error with ace editor and new ember.
...
Fix upgrades ace editor, which was a huge headache due to AMD.
2015-05-13 16:25:33 -04:00
Robin Ward
01d4085125
Removed bad JS tests, upgrade QUnit + ember-qunit
2015-05-13 14:13:37 -04:00
Robin Ward
ea51095ef9
Adds acceptance test for user preferences
2015-05-13 11:15:41 -04:00
Marcus Rückert
9460ed1b60
Plain text files do not need to be executable
...
Found with rpmlint.
2015-05-12 13:21:22 +02:00
Régis Hanol
ff227eabe6
FIX: select posts
2015-05-12 12:54:28 +02:00
Robin Ward
d337da532a
FIX: jsHINT issues with recent broken build
2015-05-11 13:36:28 -04:00
Robin Ward
b6357e4d48
FIX: Return promises from async tests.
2015-05-11 11:30:14 -04:00
Robin Ward
fa69d4cec5
FIX: Missing colspan
on raw topic list
2015-05-11 11:20:46 -04:00
Robin Ward
0b65c88003
Upgrade Notifications to fix deprecations and use store
2015-05-11 11:20:45 -04:00
Robin Ward
aab9706b7a
Fixes deprecations on user routes
2015-05-11 11:20:45 -04:00
Robin Ward
c6d99bd141
Fixes routing in tests
2015-05-11 11:18:38 -04:00
Robin Ward
ed398e65e0
Fixes issues with composer
2015-05-11 11:18:38 -04:00
Robin Ward
8294205f7c
Ember 1.11 broken WIP
2015-05-11 11:18:37 -04:00
Robin Ward
b3b4fd21ed
Broken WIP
2015-05-11 11:18:37 -04:00
Erick Guan
b772ff6e13
FEATURE: add slug geneartion options
2015-05-05 18:08:30 +08:00
Robin Ward
ecafbb0a63
Can delete users via the moderation queue
2015-04-27 15:06:20 -04:00
Robin Ward
3cb4554bbb
Can refresh queued posts via button
2015-04-27 13:52:54 -04:00
Robin Ward
5bf8c31af4
Users can see their pending posts
2015-04-21 16:44:47 -04:00
Robin Ward
b2ab95f9c2
Fix an issue with the store hydrating embedded objects
2015-04-21 13:15:40 -04:00
Robin Ward
e912b698ac
FIX: Updating the category was not updating the UI
2015-04-16 13:56:27 -04:00
Robin Ward
c216b3affe
FIX: Don't cloak in test mode. Should help with intermittant failures
2015-04-16 11:47:37 -04:00
Régis Hanol
295eebddc3
less noise in JS specs
2015-04-16 10:15:06 +02:00
Robin Ward
08b4b7b7ff
Moderators can edit posts that are queued before they approve/reject
2015-04-15 17:20:34 -04:00
Robin Ward
2303b1dcd0
FIX: Broken Qunit specs
2015-04-15 17:16:44 -04:00
Robin Ward
0c233e4e25
Interface is wired up for Approving/Rejecting posts
2015-04-15 14:54:37 -04:00
Robin Ward
96d2c5069b
Interface for reviewing queued posts
2015-04-15 14:54:37 -04:00
Robin Ward
7f501a0c41
When a post returns enqueued
don't insert it in the stream and notify
...
- Includes removal of a lot of modal boilerplate
2015-04-15 14:54:37 -04:00
Robin Ward
76f7786d0d
Support saving posts via Store
2015-04-15 14:54:36 -04:00
Robin Ward
d4a05825da
Convert Composer
to use Store
...
- Uses store for `PostStream`, `TopicList` too
2015-04-15 14:54:36 -04:00
Robin Ward
a83a19f6ce
ES6 module migrations
2015-04-15 14:54:36 -04:00
Robin Ward
22ffcba8e6
Convert Discourse.Post
to ES6 and use Store model
...
- Includes acceptance tests for composer (post, edit)
- Supports acceptance testing of bootbox
2015-04-15 14:54:36 -04:00
Ben Hadley-Evans
c3b461f58d
Add blank alt attribute to avatars.
...
This was giving an ugly border to avatars in the user card as the full size version loaded in Firefox.
2015-04-14 14:39:40 +01:00
Robin Ward
ee3442e562
Also rename the integration
directory to be acceptance
2015-04-06 15:47:39 -04:00
Robin Ward
7aa68eaeab
Rename "Integration" tests to "Acceptance" tests.
...
The term "Acceptance" seems to have won out everywhere and I don't want
our codebase to be confusing.
2015-04-06 14:14:00 -04:00
Robin Ward
da9e2792eb
FIX: Bugs with autocomplete
...
It wasn't tearing itself down properly. It was swallowing events.
2015-04-06 14:04:42 -04:00
Sam
e11802f5c5
bypass test while @eviltrout helps me to fix it
2015-04-02 17:39:41 +11:00
Régis Hanol
0f4a4651a9
FIX: youtube preview video title link doesn't work
2015-04-01 18:23:27 +02:00
Régis Hanol
b277e71c15
FIX: login-required tests
2015-03-26 12:09:30 +01:00
Sam
512ad4dae3
not sure why this is failing
2015-03-26 17:24:35 +11:00
Régis Hanol
3954f69514
FIX: hoisting issue with regexp replacement patterns
2015-03-23 16:33:41 +01:00
Ben Hadley-Evans
38fbbb28e3
Fix Discourse.Utilities.avatarImg test on Fx.
...
This qUnit test was failing in Firefox 36 with "setting a property that has only a getter" because devicePixelRatio was being changed directly. The fix uses defineProperty to redefine devicePixelRatio instead.
2015-03-20 12:53:56 +00:00
Régis Hanol
11bf7da63c
FIX: profile picture wasn't properly updating
2015-03-19 19:57:07 +01:00
Régis Hanol
5084e2bdf1
Merge pull request #3284 from techAPJ/patch-1
...
FEATURE: new site setting min_first_post_length
2015-03-19 19:55:27 +01:00
Arpit Jalan
b706307ac7
FEATURE: new site setting min_first_post_length
2015-03-20 00:20:38 +05:30
Robin Ward
7ef306cd3b
A bunch of tweaks to the Users directory
...
- Move user directory from `/directory` to `/users/`
- Defaults to 'weekly' time period
- Don't include deleted topics/posts in the results
- Move heart icon to header instead of on each row
- "Users" instead of "Users found"
2015-03-19 12:29:38 -04:00
Régis Hanol
df3b1f6968
FIX: editing a post wasn't showing error messages from the server
2015-03-19 12:25:15 +01:00
Robin Ward
3d2d224312
FEATURE: User Directory, with sorting and time period filter
2015-03-18 15:20:34 -04:00
Régis Hanol
aa41a9ce70
FIX: remove empty lines but keep whitespace on first line in code blocks
2015-03-17 17:27:16 +01:00
Sam
8b4469a3f0
improve tests, ensure stream grows if all posts are loaded on commit
2015-03-16 17:40:49 +11:00
Régis Hanol
424a3b042a
FEATURE: unified UI for pinning/banner topics
...
REFACTOR: ES6ified all the modals
2015-03-14 01:18:05 +01:00
Robin Ward
77f9d1e223
Use pretender's passthrough for dynamically loaded scripts
2015-03-13 12:14:22 -04:00
Sam
01fcc7503a
big hacks to get tests to pass
2015-03-13 17:45:55 +11:00
Sam
a82530012a
FEATURE: Allow selection of highlight js languages
...
PERF: stop loading highlight js on load
To get latest highlight js run bin/rake highlightjs:update
2015-03-13 16:18:59 +11:00
Robin Ward
69851bc6cf
Deprecates global use of Discourse.MessageBus
...
We can use DI for this, which makes it easier for plugins to subscribe
to the message bus.
2015-03-12 12:27:30 -04:00
Régis Hanol
9395bbbbea
add test for fix in 9061c26e52
2015-03-12 16:20:14 +01:00
Robin Ward
7c9fb5d3fc
Refactored SiteMap/Header to support more dynamic flag counts
...
Also fixes deprecation in `plugin-outlet`
2015-03-11 16:12:53 -04:00
Régis Hanol
70f00e31df
FIX: pre-hoist code blocks & spans
2015-03-09 12:32:37 +01:00
Régis Hanol
9b9bd9c0a1
fix my git foo
2015-03-07 02:36:35 +01:00
Régis Hanol
f95c86ac72
FIX: hoist code blocks content before doing any kind of processing
2015-03-07 02:16:27 +01:00
Robin Ward
7c25efc095
Move identity map into the store, shouldn't have been in the adapter
2015-03-06 13:23:38 -05:00
Robin Ward
ecb553af3f
Add tests for our store
2015-03-06 12:37:24 -05:00
Sam
db7a225df7
correct specs
2015-03-06 14:36:00 +11:00
Régis Hanol
809edd4da3
FIX: user-card tests
2015-03-04 13:02:36 +01:00
Robin Ward
9974a26c47
FEATURE: Can specify a list of default_avatars
urls.
...
These new avatars will be used by new users until they upload their own
avatars. If left blank, letter avatars are used.
2015-03-03 16:19:29 -05:00
Régis Hanol
8ebab581ad
temporarily disable test
2015-03-02 20:02:20 +01:00
Neil Lalonde
c04b214910
FEATURE: don't allow username and email to be the same
2015-02-27 13:47:43 -05:00
Robin Ward
be9feeb918
Replace CurrentUserMixin
with an injected currentUser
...
This is a lot simpler and removes the need for stubbing singletons
in unit tests.
2015-02-27 10:33:39 -05:00
Neil Lalonde
cf81b3f86d
FEATURE: don't allow username and password to be the same
2015-02-25 12:00:13 -05:00
Robin Ward
9264a7914f
Removed a bunch of Discourse.Site
globals
2015-02-23 12:36:04 -05:00
Ed Gibbs
c50205725f
FIX: Default sort grantable badges by name
...
Currently has no default sort and was stated as a bug here:
https://meta.discourse.org/t/badges-not-sorted-in-grant-badge-dropdown/23739
(Post was recently deleted or made private?)
2015-02-15 17:37:11 -08:00
Robin Ward
a519fd5bcf
FIX: Highlighting was not being applied after some rendering.
...
Also includes a bunch of ES6 stuff.
2015-02-12 15:37:02 -05:00
Robin Ward
cf3582bedb
FIX: JSHint wasn't validating ES6 files, this fixes a bunch of errors.
2015-02-10 17:21:16 -05:00
Régis Hanol
b809e02c6c
FIX: clicking an attachment link works only once
2015-02-09 17:49:59 +01:00
Robin Ward
a65e0a80ba
Add support for more ES6 features
2015-02-06 13:26:33 -05:00
Régis Hanol
42ab39ce18
fix the build (cc @riking)
2015-02-05 12:57:33 +01:00
Régis Hanol
0a252d7785
FIX: quote whote post should insert at cursor position
2015-02-02 19:08:28 +01:00
Sam
a591c019d4
correct tests
2015-01-29 17:57:34 +11:00
Régis Hanol
b003c2b4f3
let's try category class again
2015-01-27 23:44:47 +01:00
Sam
d52b0a2458
temporarily disable category class on body while debugging issue with missing docking header
2015-01-27 13:43:40 +11:00
Régis Hanol
40da065930
fix the build (:fired:)
2015-01-26 23:49:15 +01:00
Régis Hanol
e6f849f873
FIX: make sure pasting an image in the composer is considered as an image instead of an attachment
2015-01-23 19:17:33 +01:00
Robin Ward
2ea4c1c9de
FIX: Groups post page was broken.
...
Also added integration tests so we don't miss this breaking in the
future.
2015-01-23 11:13:27 -05:00
Robin Ward
03eb4752d1
Add categories-list
css class to body for customization purposes
2015-01-21 14:34:01 -05:00
Robin Ward
649dfd8d23
Revert "Convert html.js to ES6 module format"
...
This reverts commit 60523d8e02
.
2015-01-20 16:13:42 -05:00
Robin Ward
60523d8e02
Convert html.js to ES6 module format
2015-01-20 16:07:29 -05:00
Robin Ward
350554e198
UX: Change category badge style to use stripes
2015-01-20 14:56:06 -05:00
Robin Ward
1e6dea46dd
FIX: Jump to post was not respecting gaps
2015-01-12 18:10:30 -05:00
Robin Ward
38e4defaee
Support adding items to the site map via plugin outlet.
2015-01-09 16:15:16 -05:00
Jeff Atwood
6953923a03
remove |starred| from topnav default options
2015-01-06 16:03:45 -08:00
Robin Ward
7182767349
Refactor topic title/category saving to support easier changing of
...
attributes via plugins.
2015-01-02 14:25:41 -05:00
Robin Ward
36f53790f4
Added test for markdown bug with linking [ul]
and [poll]
2014-12-31 11:45:23 -05:00
Régis Hanol
386b0a2587
fix the build
2014-12-29 22:36:25 +01:00
Robin Ward
13bf8e1e46
FIX: Markdown bug when a heading preceeded a code block.
2014-12-29 15:59:39 -05:00
Sam
ae16186100
FEATURE: post chunk size should not be configurable
...
If people need to configure post chunk size use a plugin
Core only supports out of the box settings, if changed can lead to
severe performance issues.
2014-12-15 10:57:34 +11:00
Robin Ward
f42a5c1ba3
Convert a lot of Globals to ES6 modules
2014-12-17 09:31:42 -05:00
Robin Ward
331bba4b6d
Correct the last few test failures in the 1.9.0 branch
2014-12-17 09:31:42 -05:00
Robin Ward
1948b41875
Fix resolve errors
2014-12-17 09:31:41 -05:00
Robin Ward
7aaf2fcb65
Fix broken qunit tests in 1.9.0
2014-12-17 09:31:41 -05:00
Robin Ward
2d6b15a34d
Load fewer posts when the android platform is detected
2014-12-12 11:47:39 -05:00
Robin Ward
5fd3f2547c
FIX: Fix rerendering issues on some components.
2014-12-08 14:47:49 -05:00
Robin Ward
e035b07e92
Put Ember 1.8.1 + fixes back.
2014-12-04 08:51:35 -05:00
Sam
8977d5917b
revert
2014-12-04 09:35:11 +11:00
Robin Ward
39fde5b9fb
Upgrade to 1.8.1: So long, metamorphs!
2014-12-03 10:49:18 -05:00
Régis Hanol
a06bf0b7be
fix the build
2014-11-17 15:47:07 +01:00
Marcin Rataj
9dccd975d9
UX: whitelist OpenStreetMap iframes
2014-11-17 14:30:25 +01:00
Robin Ward
564e7a988c
Merge pull request #2848 from riking/whitelist-api
...
Improve Markdown.whiteListTag, code dialect
2014-11-07 11:33:37 -05:00
Sam
d4224a64e8
correct spec
2014-10-22 15:50:04 +11:00
Robin Ward
1cf4a0d604
Rename "User Expansion" to the much clearer "User Card"
2014-10-20 12:11:59 -04:00
Sam
a0f74daf6b
correct dodgy test
2014-10-18 20:16:19 +11:00
Jeff Atwood
92b615b503
reorganize site settings a bit
2014-10-19 23:14:50 -07:00
Dean Taylor
c2614543b1
Correct minor spelling mistakes
...
@sam highlighted I made a spelling mistake in a commit - thought I would throw a few more in.
2014-10-19 23:55:19 +01:00
Robin Ward
0cbdf6f5bb
FIX: Many bugs with admin badges interface
...
* Editing a badge's title would show it as changed in the side even if
you didn't hit save
* Clicking a badge would not scroll to the top
* If there was an error saving a badge there was a missing i18n key
* URLs were using queryParams instead of paths
* User `label` tags for checkboxes for larger click targets
* Saved! text would persist when viewing another badge
* After creating a new badge it would show nothing
* Validation errors were not being properly released to the client
* Query errors were surrounded by an extra array
2014-10-17 16:14:49 -04:00
Dean Taylor
b023e81078
FIX: Censored word match fail if earlier partial match
...
Previously a list containing `one|two|three|four|twoagain` would fail to censor the word `twoagain` in the text `test1 twoagain test2`.
2014-10-17 03:10:30 +01:00
Robin Ward
d2ac5a9ac6
Rename /category/xyz
paths to /c/xyz
-- @SamSaffron did most of the
...
work even though I'm merging the patch!
2014-10-16 12:15:31 -04:00
Robin Ward
27e68518df
FIX: BBCode was trimming leading space in [code]
blocks
2014-10-10 15:11:30 -04:00
Robin Ward
3b38667274
FIX: Check for word boundaries with censored words.
2014-10-09 16:35:27 -04:00
Robin Ward
285c66b899
FIX: Say the file uploaded is too large, not "image" as you can upload
...
other kinds of files.
2014-10-09 16:03:04 -04:00
Robin Ward
f9a8f6d6ce
FEATURE: Support for a required
setting on user fields.
2014-10-08 15:10:19 -04:00
Robin Ward
11b52d1334
More deprecations to allow us to work on future versions of Ember
2014-10-07 16:04:19 -04:00
riking
ef36a619c3
Update Markdown tests
2014-10-05 17:30:29 -07:00
Robin Ward
9564ecde76
FEATURE: Site setting for words to censor in posts
2014-10-02 13:58:58 -04:00
Robin Ward
edb34c178a
FEATURE: Show user fields when the user is signing up
2014-09-30 10:45:18 -04:00
Sam
8371837b21
Merge pull request #2808 from gschlager/i18n_fix07
...
FIX: Category creation failed when translation was missing
2014-09-29 16:20:02 +10:00
Sam
1d2c7206e6
Merge pull request #2820 from Elberet/fix-url-bbcode
...
FIX: reworked handling URL bbcode tags
2014-09-25 09:36:55 +10:00
Robin Ward
98d21ed21f
Remove deprecated Ember.Deferred
2014-09-24 14:17:29 -04:00
Jens Maier
dcd7a149e2
FIX: reworked handling URL bbcode tags
2014-09-24 20:02:02 +02:00
Robin Ward
d1d3e5dd8c
Remove broken debouncePromise
and clean up some deprecations
2014-09-23 16:16:44 -04:00
Arpit Jalan
b3838c2c1c
Trigger browser password manager after sigining up
2014-09-24 01:04:36 +05:30
Robin Ward
537e6b193d
FIX: Allow proper escaping of bold and italics markdown, even when
...
nested.
2014-09-22 16:52:14 -04:00
Robin Ward
914217f78a
FIX: Allow BBCode images within BBCode links
2014-09-22 14:42:24 -04:00
Jens Maier
9cca64cf69
FIX: BBCode blocks parser no longer mangles JsonML arrays
2014-09-22 03:27:39 +02:00
Gerhard Schlager
a6714e252e
FIX: Category creation failed when translation was missing
2014-09-20 22:06:00 +02:00
Jeff Atwood
5646ebf4c7
fix tests expecting "name said:" to "name:"
2014-09-18 20:39:27 -07:00
Jens Maier
543bc53598
FIX: double-escaped single quotes in URLs
2014-09-18 22:07:42 +02:00
Sam Saffron
33c6a2d341
correct tests
2014-09-18 15:26:45 +10:00
Robin Ward
c16b8364ab
FIX: Support ember app routing to topics with only slugs
2014-09-17 11:18:59 -04:00
Sam
306d31b92e
fix test
2014-09-11 11:15:49 +10:00
Jens Maier
30dbb570e5
FIX: fix dialect block ordering
2014-09-10 13:29:40 +02:00
riking
69bc552054
FEATURE: Actually show more notifications
...
The "Show more notifications..." link in the notifications dropdown now
links to /my/notifications, which is a historical view of all
notifications you have recieved.
Notification history is loaded in blocks of 60 at a time.
Admins can see others' notification history. (This was requested for
'debugging purposes', though that's what impersonation is for, IMO.)
2014-09-09 16:29:08 -07:00
Robin Ward
504d61de94
FIX: Clicking on expanded user actions uses user expansion. Also added
...
integration test.
2014-09-09 15:18:04 -04:00
Robin Ward
2f04b53c9f
FIX: Clicking outside of modal wasn't closing it
2014-09-08 16:53:05 -04:00
Robin Ward
4bec839d9d
Using Discourse.XYZ
in templates is deprecated. This fixes that, plus
...
adds some more integration tests to make sure login required is working.
2014-09-05 13:09:01 -04:00
Jeff Atwood
fad0394a40
more renaming of trust level settings
2014-09-04 13:32:00 -07:00
Jeff Atwood
fcca64c0cf
rename site settings for trust levels as numbers
2014-09-04 13:16:51 -07:00
Robin Ward
dac4ed5a1e
Prune dead code for search keyboard navigation in search, remove bad
...
tests.
2014-09-03 15:05:22 -04:00
Robin Ward
40b1558f83
Merge pull request #2747 from cpradio/remove-additional-search-code
...
FIX: Remove additional search code related to the up/down navigation
2014-09-03 14:46:09 -04:00
Robin Ward
a71640c15f
Add the integration test for search back using a fixture.
2014-09-03 13:43:26 -04:00
cpradio
44a25271f1
FIX: Remove additional search code related to the up/down navigation
...
Removed additional search code that was related to the up/down navigation and their related tests.
https://meta.discourse.org/t/magic-search-code-for-keyboard-shortcuts/19563
2014-09-03 06:51:52 -04:00
Sam
921dd75dd9
FIX: anonymous had <a> items for pin/unpin
...
FEATURE: display category in search results
FEATURE: display topic state (locked/pinned/etc) in search results
UI cleanup for search results, clearing floats and so on.
2014-09-03 12:13:26 +10:00
Jens Maier
9be5c98c8c
FIX: Markdown parser: empty links and bbcode parsed as link refs
2014-08-31 02:55:43 +02:00
Arpit Jalan
289d9e4fe1
FIX: use short date format for topic summary
2014-08-30 12:07:43 +05:30
cpradio
2e200ffbf0
Merge remote-tracking branch 'origin/master' into keyboard-binding-incoming-updated-topics
...
Conflicts:
config/locales/client.en.yml
2014-08-29 20:05:59 -04:00
cpradio
875b39fb5f
Merge remote-tracking branch 'origin/master' into keyboard-binding-incoming-updated-topics
2014-08-29 19:56:39 -04:00
cpradio
8a8552019a
Fixed qunit test assertion
2014-08-29 18:03:27 -04:00
cpradio
80cb8f3a96
Fixed qunit test assertion
2014-08-29 17:54:50 -04:00
Neil Lalonde
1291e94c78
Merge pull request #2715 from cpradio/master
...
UX: Add focus to menu only if it comes from a keyboard shortcut and improve keyboard functionality for search
2014-08-29 17:04:52 -04:00
cpradio
096bc0c0ae
Merge branch 'keyboard-binding-new-topics-banner' into dismiss-keyboard-bindings
...
Conflicts:
app/assets/javascripts/discourse/lib/keyboard_shortcuts.js
2014-08-29 09:36:34 -04:00
cpradio
723798cc30
Correct Perform Search Test
2014-08-28 23:32:56 -04:00
cpradio
185769c07b
Correct Perform Search Test
2014-08-28 23:21:43 -04:00
Robin Ward
69cb5bc425
FIX: Centralize Top rendering, remove old code paths. Fix some bugs.
2014-08-28 14:34:31 -04:00
Sam
53e60030bc
FIX: broken tests
2014-08-27 14:47:23 +10:00
Jens Maier
c58565d09f
Fix: dialect block parser should not eat next block's whitespace
2014-08-26 14:11:23 +02:00
Jens Maier
b8f5c21df0
Workaround markdown-js links parser bug
2014-08-24 01:56:14 +02:00
Robin Ward
2ae46b4742
REMOVE: Auto quoting confused more people than it helped.
2014-08-22 14:51:31 -04:00
Robin Ward
300dbdc88b
FIX: BBCode contents can span multiple lines
2014-08-22 14:32:29 -04:00
Robin Ward
104b39540a
FIX: BBCode with params couldn't span lines
2014-08-22 12:14:10 -04:00
Régis Hanol
5b1785157d
TRIVIAL: fix deprecations due to momentjs upgrade
2014-08-20 22:22:58 +02:00
Robin Ward
49f0eaea13
Merge pull request #2650 from Elberet/fix-parser
...
Fix: block parser uses regexes for stop tags, allows stricter matching
2014-08-18 11:06:08 -04:00
Robin Ward
a0d0f859ba
Add login buttons to create account template.
2014-08-14 12:51:16 -04:00
Jens Maier
23002ae01c
Fix: block parser now uses regexes for end tags. solves code block case, where end tag must be on a line of its own.
2014-08-14 01:58:01 +02:00
Robin Ward
0adfeb1cff
ES6: Mega update of controllers
2014-08-13 10:22:47 -04:00
Robin Ward
233305e96f
FIX: On devices with a weird pixel ratio, tests were failing.
2014-08-12 17:29:18 -04:00
Robin Ward
11e43bd434
FIX: Don't show Sign Up button in cases where users can't sign up
2014-08-12 16:55:23 -04:00
Robin Ward
1684ff3015
UX: Add a separate "Sign Up" button
2014-08-12 13:47:23 -04:00
Robin Ward
d1f6c31382
TESTS: Adds integration test for new about route
2014-08-12 11:15:32 -04:00
Robin Ward
37a9747f53
ES6: Convert Discourse.Resolver to ES6
2014-08-07 11:48:02 -04:00
Robin Ward
b323c86302
TESTS: Remove home logo tests, they are written in the incorrect way and
...
don't test much of value.
2014-08-07 11:48:02 -04:00
Robin Ward
8279752d3c
REFACTOR: Don't use Discourse.Capabilities
, instead use injection.
...
Also fix broken test. /cc @Sam
2014-08-06 18:28:02 -04:00
Robin Ward
f977843391
ES6: Convert all test files over
2014-08-06 17:51:03 -04:00
Robin Ward
417d287813
FIX: Don't link to notifications without URLs
2014-08-06 15:24:20 -04:00
Régis Hanol
3330f5907c
FEATURE: restructure notification HTML layout
2014-08-05 23:36:37 +02:00
Robin Ward
d29822e4cb
TWEAK: Sum new and unread in the site map category list
2014-08-05 16:01:49 -04:00
Robin Ward
3c66e48573
TESTS: Remove URL_FIXTURES
constant for pretender
2014-08-01 17:27:01 -04:00
Neil Lalonde
443caaa8f7
FIX: don't let admins skip post validations, unless it's faq, tos, or privacy
2014-08-01 14:53:35 -04:00
Robin Ward
d7ad3bb2b6
TESTS: Integration tests for badge pages
2014-07-31 18:44:47 -04:00
Robin Ward
77332e8b57
TESTS: Add integration test for /top
2014-07-31 18:44:47 -04:00
Robin Ward
adea5b36a0
TESTS: Integration tests for login_required
2014-07-31 17:59:52 -04:00
Robin Ward
e63cdc50bb
TESTS: Add JSON.stringify
step to prepareBody
where it should be.
2014-07-31 17:26:44 -04:00
Robin Ward
c30ab6d428
Return a CSRF in case it's requested
2014-07-31 17:06:16 -04:00
Robin Ward
d3cc85c784
TESTS: Use Pretender in test mode for more flexible server responses
2014-07-31 16:49:30 -04:00
Robin Ward
bf16ff275a
TESTS: Sign in tests
2014-07-31 14:17:18 -04:00
Robin Ward
c5b5db48cf
TESTS: Reset the preload store for testing
2014-07-31 13:25:40 -04:00
Robin Ward
c3e1dd4707
TESTS: Remove non-idiomatic tests. Too much pain to maintain or convert.
2014-07-31 13:25:40 -04:00
Robin Ward
b8bfbcb3cb
ES6: Tests
2014-07-31 13:25:39 -04:00
Robin Ward
6f36d5996d
Lots of work on tests
2014-07-30 20:09:45 -04:00
Robin Ward
b6684e7168
Upgrade to ember-qunit
2014-07-30 20:09:44 -04:00
Robin Ward
d29157dab9
TESTS: Refactored integration tests
2014-07-30 20:09:44 -04:00
Robin Ward
aeb0ea1f25
FIX: Broken test
2014-07-30 12:08:07 -04:00
Régis Hanol
b196de0821
TRIVIAL: use class instead of id for the 'topic-list'
2014-07-29 23:38:36 +02:00
Sam
b00b5609e6
Merge pull request #2599 from riking/disable-logster
...
Disable logster error reporting during tests
2014-07-29 12:29:23 +10:00
riking
f80502ea0e
Disable logster error reporting during tests
2014-07-28 13:41:45 -07:00
Neil Lalonde
e1be478ef4
FIX: admins bypass some post validations. This allows them to edit legal docs even if those docs are longer than max post length, for example.
2014-07-28 16:40:14 -04:00
Robin Ward
717f57c968
Revert "FIX: You couldn't span multiple lines with bold or italics"
...
This reverts commit 423d37a2b6
.
Conflicts:
test/javascripts/lib/markdown_test.js
2014-07-28 13:17:39 -04:00
Robin Ward
8866141ba2
Merge pull request #2592 from Elberet/fix-parser
...
Fixes for quirky markdown parser behaviours
2014-07-28 13:12:22 -04:00
Sam
f7c7d38a30
FIX: broken tests
2014-07-28 12:05:27 +10:00
Jens Maier
479eb64a76
FIX: rewrite replaceBlock logic to better handle mismatched nested quotes.
2014-07-27 16:07:47 +02:00
Jens Maier
9124cf0eaf
FIX: auto-quote should not trigger when the first " is preceded by bbcode-like garbage.
2014-07-27 16:05:29 +02:00
riking
5841e10b59
Extra test for spanning italics
2014-07-25 13:15:14 -07:00
Robin Ward
423d37a2b6
FIX: You couldn't span multiple lines with bold or italics
2014-07-25 16:08:00 -04:00
Robin Ward
b2f2e7b1d2
REFACTOR: Move Markdown tests to Javascript land
2014-07-25 16:08:00 -04:00
Joshua Gorner
e242368266
Convert admin section controllers to ES6 modules
2014-07-25 14:17:58 -04:00
Robin Ward
f3bb8902c1
Make a mocked test that broke pending for now. The logic works, will
...
replace with a new test later.
2014-07-24 15:14:36 -04:00
Jens Maier
b19ad15086
FIX: improve list bbcodes: ignore newlines resulting in unnecessary blank lines
2014-07-24 19:39:16 +02:00
Jens Maier
79dc68512f
FIX: dialects accept nested inline markup
2014-07-24 17:34:13 +02:00
Sam
ec03d135fa
FEATURE: allow advanced badge options in admin screen
...
clean up serializer, allow simplistic preview
2014-07-24 18:28:23 +10:00
Robin Ward
0a0d32efb4
TRIVIAL: Rename map
to idMap
because map
means something for
...
enumerables.
2014-07-23 11:11:13 -04:00
Peter Le Bek
f63e6e6dab
Optimize Category find-by-id by using a hash.
2014-07-22 23:49:49 -04:00
Robin Ward
7c0e723464
TWEAK: If show_subcategory_list
is enabled, hide subcategories from
...
the site map.
2014-07-22 16:27:33 -04:00
Robin Ward
4c51258526
PERF: Speed up JSHint tests by using local buffers instead of AJAX
...
requests.
2014-07-22 14:13:37 -04:00
Neil Lalonde
386b6213a5
FEATURE: warn when caps lock is on during password input
2014-07-22 13:53:58 -04:00
Robin Ward
d9e5c2317f
FIX: If a topic title edit fails, revert to previous title.
2014-07-21 13:39:23 -04:00
Régis Hanol
7ebfe86100
TEST: allows data images
2014-07-18 20:38:01 +02:00
Robin Ward
75f6b43e62
ES6: Discourse.ContainerView
2014-07-18 12:20:07 -04:00
riking
de3633235b
Add JS tests for deleted post hiding (fix the build)
2014-07-17 11:13:42 -07:00
Sam
fecb9ddb43
FIX: invalid test
2014-07-17 16:11:10 +10:00
Robin Ward
d6589d4c53
FIX: Cooking issue with paragraphs in a list
2014-07-15 16:42:14 -04:00
Régis Hanol
a9342dbf92
SECURITY: fix XSS in link's href
2014-07-15 16:11:37 +02:00
Robin Ward
1886ffaff2
FIX: Work with phpBB import style links with ellipsis
2014-07-14 14:27:17 -04:00
Robin Ward
186ce78cb5
FIX: BBCode sanitization and tests
2014-07-14 11:24:25 -04:00
Neil Lalonde
e565ae2528
FEATURE: /guidelines route will always show our FAQ, ignoring the faq_url site setting
2014-07-10 12:58:41 -04:00
Régis Hanol
6b45b635f8
FIX: properly whitelist <code> classes needed for syntax highlighting
2014-07-09 16:27:47 +02:00
Robin Ward
7ab98bb0e7
FIX: Missing formatting for oneboxes in preview
2014-07-04 14:15:07 -04:00
Robin Ward
fc1ce96dbb
FIX: Change the approach to sanitization. Includes a more detailed API
...
for allowing classes and attributes for only certain tag names.
2014-07-03 16:55:36 -04:00
Robin Ward
9c48f8f154
FIX: Don't surround <aside>
with <p>
as that is malformed HTML.
2014-06-30 18:11:22 -04:00
Robin Ward
a7ad7f6a45
Remove some obscure HTML tags from sanitization
2014-06-24 11:03:45 -04:00
Robin Ward
ff55a30dd7
FIX: <pre>
blocks were adding too many new lines.
2014-06-23 15:21:07 -04:00
Robin Ward
42d1fcbbc2
[code]
should work just like other kinda of code formatting.
2014-06-23 13:19:27 -04:00
Arpit Jalan
7e946a718e
Make bookmarks menu appear all the time
2014-06-23 10:21:33 +05:30
Robin Ward
9d82111813
TRIVIAL: Remove some output from qunit test suite.
2014-06-19 16:00:01 -04:00
Sam
806ddb4ccb
FEATURE: Quote reply at cursor
2014-06-18 15:17:55 +10:00
Sam
a288ff331d
BUGFIX/FEATURE: call out context for search.
2014-06-17 17:53:45 +10:00
Jeff Atwood
5db621c5fe
normalize to search.title for search help
2014-06-16 16:20:57 -07:00
Jeff Atwood
6ceebc3f1c
Merge pull request #2435 from techAPJ/add-bookmark-menu
...
FEATURE: Add Bookmarks menu to user dropdown
2014-06-12 03:28:40 -07:00
Sam
8ff4536a08
BUGFIX: fragile test corrected, stubbing is not needed here.
2014-06-12 10:59:07 +10:00
Arpit Jalan
aed2483bb9
FEATURE: User Bookmarks Menu
2014-06-12 01:54:54 +05:30
Robin Ward
176120cbc1
REFACTOR: Keyboard Shortcuts should send their actions directly to
...
posts, not by activating clicks on buttons.
2014-06-11 14:31:03 -04:00
Robin Ward
580a1bf8b0
ES6: Migrated and deprecated a bunch of views
2014-06-10 11:54:38 -04:00
Neil Lalonde
56cd60f226
FIX: there are site settings for username min and max lengths. Neat.
2014-06-09 18:26:42 -04:00
Robin Ward
c6b92f0ef7
FIX: Support for nested bold/italics in MD
2014-06-09 17:46:36 -04:00
Neil Lalonde
78d46a81e1
FIX: js needs to use same max username length as server
2014-06-09 15:28:03 -04:00
Robin Ward
a63ac64931
FIX: Obscure emoji fail with a colon surrounded by spaces
2014-06-09 14:44:34 -04:00
Robin Ward
7adb545168
ES6: Convert {{pagedown}} to {{pagedown-editor}} with deprecations
2014-06-09 12:16:27 -04:00
Robin Ward
1df3214773
ES6: Convert header view
2014-06-09 11:34:38 -04:00
Sam
a4de1f25c1
Fix broken tests
2014-06-05 21:16:36 +10:00
Robin Ward
411985de3b
FIX: Recursion with a computed property that was pointing to itself.
2014-06-04 16:33:22 -04:00
Régis Hanol
897f219d61
BUGFIX: change the image upload icon when only images are authorized ( fixes #2359 )
2014-06-04 19:51:26 +02:00
Neil Lalonde
72abb6e274
Disable external auths by default. Don't change settings for existing sites.
2014-06-04 11:35:18 -04:00
Neil Lalonde
5b39913766
FIX: qunit tests pass, re-enable the category notifications dropdown button
2014-06-02 15:51:03 -04:00
Sam
ddc3c992b7
Correct unit tests
2014-06-02 13:35:59 +10:00
Robin Ward
1af2ff6201
ES6: More components moved over.
2014-05-30 12:28:05 -04:00
Sam
fe594f5d1e
Merge pull request #2372 from vikhyat/badge-system
...
Multiple grant badges
2014-05-30 10:18:00 +10:00
Ben Lubar
73946e5402
quoting fixes
...
- allow bbcode quotes to be nested
- don't allow the '=' to be omitted from quotes
- fix some css that made assumptions about nested quotes
2014-05-27 21:46:31 -05:00
Sam
d1f0dda636
FIX spec
2014-05-27 23:39:02 +10:00
Sam Saffron
4295644247
oops, had trouble with qunit locally
2014-05-27 15:04:22 +10:00
Sam Saffron
8e19e9b84e
jshint oops
2014-05-27 14:51:04 +10:00
Sam Saffron
252e93d0f2
BUGFIX: support CDN for avatars
...
Correct broken spec
Implement S3 support
2014-05-27 14:40:46 +10:00
Vikhyat Korrapati
a79bf11edb
Admin badge creation bug fixes.
2014-05-27 09:03:55 +05:30
Robin Ward
919ae73709
ES6: A few more controllers on a Holiday Monday
2014-05-26 14:40:06 -04:00
Sam
570c4b6300
certain keyboard shortcuts were never tested ever.
2014-05-25 14:59:05 +10:00
Sam
2a1f5876cc
attempt to fix odd travis fail
2014-05-23 15:10:34 +10:00
Sam
cc681c729d
FIX broken test
2014-05-23 12:23:12 +10:00
Vikhyat Korrapati
d208e4d517
Multiple grant badges.
2014-05-21 12:54:55 +05:30
Vikhyat Korrapati
6225b83f4a
Show system badges in the admin interface but don't allow editing them.
2014-05-19 10:27:04 +05:30
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
Robin Ward
c99cf64d70
FIX: Quoting within code blocks.
2013-08-29 14:42:31 -04:00
Robin Ward
1204eb62c3
FIX: Escape contents when using the quote tool.
2013-08-29 14:15:05 -04:00
Robin Ward
3cec95a2c3
Better API for parsing out blocks in the parser.
2013-08-29 11:47:44 -04:00
Robin Ward
550ef104c6
FIX: Markdown references within a list were not working properly.
2013-08-28 13:06:41 -04:00
Robin Ward
f7ad80ff7b
A couple of important markdown fixes.
2013-08-28 11:14:31 -04:00
Robin Ward
8f94760cd4
Better API for adding on to our Dialect
2013-08-27 18:17:34 -04:00
Régis Hanol
96772af35b
FIX: avatar thumbnail won't save after upload
2013-08-27 23:01:35 +02:00
Robin Ward
73489b652e
FIX: Allow intra-word underscores.
2013-08-27 12:25:05 -04:00
Robin Ward
6c3cb9023c
FIX: Allow backticks in code blocks
2013-08-26 16:53:10 -04:00
Robin Ward
2d45c56ba5
Replace Markdown Linebreak Regexp with node parser.
2013-08-26 15:21:23 -04:00
Robin Ward
373b525ec1
Revert "FIX: New line insertion when a line begins with []"
...
This reverts commit f84630a54d
.
2013-08-26 12:46:15 -04:00
Robin Ward
f84630a54d
FIX: New line insertion when a line begins with []
2013-08-26 11:42:52 -04:00
Robin Ward
20e8a8a38a
FIX: Don't onebox @mentions
2013-08-24 15:01:00 -04:00
Robin Ward
5e286443a8
FIX: Code blocks were trimming leading spaces sometimes when they should have only
...
trimmed trailing spaces.
2013-08-24 13:24:27 -04:00
Robin Ward
093ead7855
Support for ***bold and italics***
2013-08-24 13:06:07 -04:00
Régis Hanol
43a8bff652
add a site setting for allowing animated avatars
2013-08-23 18:55:02 +02:00
Robin Ward
612c0ccccb
FIX: Autolinking within a list
2013-08-22 18:03:01 -04:00
Robin Ward
513f941f50
Fixes @mentions inside of lists
2013-08-22 17:50:36 -04:00
Robin Ward
f2c4b3e37f
FIX: Following a mention with a coded mention.
2013-08-22 16:13:02 -04:00
Robin Ward
6fe0d29a01
FIX: @mentions within backticks followed by proper @mentions.
2013-08-22 15:55:29 -04:00
Robin Ward
5e50c4624f
FIX: New lines in code blocks were somewhat unpredictable
2013-08-22 13:46:51 -04:00
Robin Ward
0f27232711
FIX: Support inline code blocks with @mentions in them.
2013-08-22 12:18:36 -04:00
Robin Ward
ae93fcebde
FIX: Autolines were duplicating some text
2013-08-21 22:49:55 -04:00
Robin Ward
a3757016d9
FIX: Quotes with new lines were broken
2013-08-21 22:36:02 -04:00
Neil Lalonde
adbb6a19bb
Fix 'You must choose a category' when a category is already chosen
2013-08-21 16:14:22 -04:00
Robin Ward
30cfa33629
FIX: @mentions within simple quotes
2013-08-21 16:10:16 -04:00
Robin Ward
7f69a58439
Replace Markdown parser.
2013-08-21 10:10:57 -04:00
Régis Hanol
c867b67a0b
custom avatar support
2013-08-13 22:08:29 +02:00
Robin Ward
ffcf3f7e7d
Have BBCode tests go through the cooked code path, as in the future
...
both parsers will be present in the same module.
2013-08-12 14:05:58 -04:00
Neil Lalonde
ce05b43c1d
Fix delete user button on admin/user page so it's enabled at the right times, and update its title attribute to be more helpful
2013-08-08 12:54:38 -04:00
Robin Ward
86246a64eb
Convert Discourse.Site
and Discourse.ScreenTrack
to use Discourse.Singleton
2013-08-08 12:49:58 -04:00
Robin Ward
51f5cf77fb
Convert Discourse.User
to use Discourse.Singleton
2013-08-08 12:42:08 -04:00
Robin Ward
8e1fae0459
Add Discourse.Singleton
class mixin for creating singletons.
2013-08-08 12:00:58 -04:00
Robin Ward
1c3804934e
Show the entire history of replies above a post when you expend "in reply to"
2013-08-06 17:43:10 -04:00
Neil Lalonde
879aa06601
Change tiny date formatting for dates in past years. Example: 10 Dec '12
2013-08-06 13:47:24 -04:00
Robin Ward
8d08391ff5
FIX: Allow Discourse.Session.current()
API to update to 0
2013-08-02 18:48:02 -04:00
Neil Lalonde
9db0ac16a9
Add site setting delete_removed_posts_after to configure after how many hour posts that were deleted by their authors will be deleted
2013-08-02 13:35:52 -04:00
Robin Ward
ef82b66e95
Easier to group bindings. Perf improvements.
2013-08-02 13:18:09 -04:00
Robin Ward
4a0ea7f776
Upgrade jQuery to 2.0.3
2013-08-01 11:58:22 -04:00
Neil Lalonde
4fd5087f91
Add button to delete a spammer in the flag modal
...
Add SiteSettings: delete_user_max_age, delete_all_posts_max. Add delete spammer button to admin flags UI
Moderators can delete users too
2013-07-29 15:29:44 -04:00
Robin Ward
385b2fbde2
Some tests for the user stream
2013-07-26 17:09:54 -04:00
Robin Ward
e77ee1eaa8
Moved highestSeenByTopic to the Discourse.Session
2013-07-26 15:18:46 -04:00
Robin Ward
773823c41f
Remove Discourse.transient. Use a singleton for session data, it's a lot cleaner.
2013-07-26 14:59:28 -04:00
Robin Ward
0317cf9608
Show topics as a list of topics on the User Stream.
2013-07-25 15:56:20 -04:00
Sam
3f5ea1ef79
oops ... I keep forgetting to run qunit, really need to get it into autospec
2013-07-25 12:06:02 +10:00
Régis Hanol
be9217d4c8
add server-side filesize check on uploads
2013-07-24 00:54:41 +02:00
Robin Ward
96af490d7c
FIX: Deleting posts in bulk was broken.
2013-07-23 14:59:05 -04:00
Robin Ward
b9a5a0460d
Have JSHint depend on the files it includes. Doesn't work for adding files but it helps
...
a lot in development mode.
2013-07-23 13:17:42 -04:00
Robin Ward
8b181e0803
Merge pull request #1230 from ZogStriP/add-newuser-max-attachments-setting
...
add newuser-max-attachments setting
2013-07-22 07:22:23 -07:00
Sam
239d8b6795
fix spec
2013-07-22 18:04:20 +10:00
Régis Hanol
2986798ba7
add newuser-max-attachments setting
2013-07-22 02:39:17 +02:00
Régis Hanol
8406a4230c
FIX: click tracking on attachments wasn't working
2013-07-19 01:27:09 +02:00
Robin Ward
7d4b089cd1
FIX: Suggested Topics were sometimes disappearing
2013-07-18 16:09:03 -04:00
Robin Ward
e3bbb2c8bb
Never render an avatar img if we know the username is invalid.
2013-07-18 12:03:09 -04:00
Robin Ward
3761ccb018
FIX: Sometimes the total post count could be incorrect
2013-07-17 16:50:20 -04:00
Robin Ward
19f3a8d640
Each user activity filter has its own URL now.
2013-07-17 15:42:31 -04:00
Sam
c2be81a76e
Merge pull request #1199 from ZogStriP/uploads
...
adds the `max_attachment_size_kb` setting
2013-07-16 23:03:42 -07:00
Robin Ward
1927263d1d
FIX: Compile templates with the correct ember
2013-07-16 11:47:26 -04:00
Robin Ward
d466d11e71
Ember RC6 update
2013-07-16 10:35:18 -04:00
Sam
6a2ffa9415
fix qunit tests
2013-07-16 17:52:25 +10:00
Régis Hanol
5ce05ff5cb
adds the max_attachment_size_kb
setting
...
so that we can specify a different max upload size for attachments and images.
2013-07-16 02:01:36 +02:00
Régis Hanol
3397c2235f
display the size of the attachment in the preview
...
instead of adding it during post processing
2013-07-14 12:28:24 +02:00
Robin Ward
62d161fd70
Show number before trust level. Also use less memory for trust levels.
2013-07-12 16:18:32 -04:00
Robin Ward
6ca5df0a09
Can recover deleted topics. Deleted topics show the first post as deleted in the UI.
2013-07-12 12:09:17 -04:00
Robin Ward
5eaae063f0
Discourse Macro Helpers + Minor Fix to Admin User View
2013-07-11 19:35:52 -04:00
Robin Ward
19c169540c
Staff can enter and view deleted topics
2013-07-11 16:39:35 -04:00
Régis Hanol
360695bb0a
update front-end specs
2013-07-10 22:59:54 +02:00
Robin Ward
8ffe9e28d6
Shows who deleted a post
2013-07-10 16:22:49 -04:00
Robin Ward
1fef617818
Qunit tests for deleting posts on the front end. Support for deleted_by
...
property.
2013-07-10 16:21:13 -04:00
Neil Lalonde
0e3e5bf533
Add relative_date_duration site setting
2013-07-10 12:38:43 -04:00
Neil Lalonde
3c38062802
Check for updates: edge cases when the message on the dashboard doesn't make sense.
2013-07-09 14:01:08 -04:00
Robin Ward
efd631296e
FIX: Don't allow a user to stage a post while another is being staged.
2013-07-09 12:34:28 -04:00
Régis Hanol
924c5d65cb
wrapped I18n.lookup to inject the "js" namespace
2013-07-09 02:10:55 +02:00
Robin Ward
d1a0b5dd44
FIX: Editing a title would not clear it out on your next edit.
2013-07-05 13:04:54 -04:00
Robin Ward
11bb9aafc7
Extra tests for composer
2013-07-05 13:04:49 -04:00
Régis Hanol
7c82d6d4d0
FIX: new users are allowed to upload images to your servers
2013-07-05 00:44:18 +02:00
Robin Ward
2d821d1ff4
Clicking the #site-logo will refresh the latest list.
2013-07-04 17:31:06 -04:00
Robin Ward
4a3bc1fb43
More Javascript Tests + Fixtures. Also a rake task to crawl them.
2013-07-04 16:20:43 -04:00
Robin Ward
28c168fc2b
FIX: Unintended edits with composer
2013-07-04 13:35:15 -04:00
Sam
f08e9d8822
Merge pull request #1142 from ZogStriP/fix-can-no-longer-paste-image-in-chrome-post-editor
...
FIX: can no longer paste image in Chrome post editor
2013-07-03 16:08:51 -07:00
Régis Hanol
5a56af03bc
FIX: can no longer paste image in Chrome post editor
2013-07-04 00:39:23 +02:00
Robin Ward
4331bba549
FIX: Quotes with text against them had the wrong spacing
2013-07-03 18:26:08 -04:00
Robin Ward
b0e10673a2
FIX: Small bugs with progress indicator
2013-07-03 12:31:00 -04:00
Robin Ward
f328804488
Merge branch 'add-list-of-authorized-extensions' of git://github.com/ZogStriP/discourse into ZogStriP-add-list-of-authorized-extensions
...
Conflicts:
app/models/site_setting.rb
2013-07-03 11:18:42 -04:00
Robin Ward
a04924deea
FIX: Progress wasn't docking properly
2013-07-02 13:10:38 -04:00
Robin Ward
5770879472
Refactor: Move Topic Details into better objects, identity map, tests, query string filters
2013-07-02 10:36:46 -04:00
Régis Hanol
6723ba6014
Add a list of for file uploads
2013-07-01 02:19:03 +02:00
Neil Lalonde
2d6118297d
Changes to tiny date format to remove mon and show short format dates instead
2013-06-28 13:10:04 -04:00
Sam
87f7bd921b
minor tweak for name splitter (split on number)
2013-06-28 16:15:13 +10:00
Sam
e63bfd2f4c
improve the breakUp user name algorithm, add some tests
2013-06-28 13:56:38 +10:00
Neil Lalonde
948fc62b4a
Handle configurable routes for statics in static_controller.js. Make it better when we can use ember's new async routing.
2013-06-27 13:01:12 -04:00
Neil Lalonde
94b8286819
Configurable FAQ url
2013-06-27 12:10:43 -04:00
Régis Hanol
689b296204
FIX: urls in BBCode tags weren't working
2013-06-27 00:42:11 +02:00
Neil Lalonde
6b58713fa6
Fix title attributes on post info
2013-06-26 16:27:18 -04:00
Régis Hanol
573c4b41f0
reverting changes to the markdown conversion pipeline order
2013-06-25 17:13:41 +02:00
Régis Hanol
3d2ef18bb7
move BBCode formating before the markdown conversion
2013-06-24 22:25:08 +02:00
Robin Ward
82c21868f3
Moved JSHint into Qunit suite. It's much harder to forget about now!
2013-06-21 14:07:11 -04:00
Robin Ward
bb908d5913
Email parsing uses Traditional Markdown Linebreaks by default. Added JS tests for line breaks.
2013-06-21 11:37:26 -04:00
Amos L King
777e8c2012
Correct spelling of suppress
...
supress => suppress
Amos King @adkron <amos.l.king@gmail.com>
2013-06-20 23:44:27 -05:00
Robin Ward
3257bef387
Category List and Topic View Integration Test
2013-06-20 15:02:26 -04:00
Robin Ward
a8b5716421
FIX: Coudln't scroll while on Qunit page due to browser bindings
2013-06-20 14:29:59 -04:00
Robin Ward
4cd71972be
Cleaned up QUnit test structure
2013-06-20 13:58:54 -04:00
Neil Lalonde
94853f0295
Fix length check of pm body; refactor composer length and title length validation
2013-06-20 12:33:34 -04:00
Sam
91a1864a53
fix invalid tests due to formatting rule changes
2013-06-20 18:00:31 +10:00
Robin Ward
8c4aac7f94
Migrate all jasmine specs to Qunit. Removed Jasmine.
2013-06-19 18:18:35 -04:00
Robin Ward
62e21b8175
Markdown moved to Qunit
2013-06-18 18:05:08 -04:00
Robin Ward
f0ebca51cc
Moved Formatter, KeyValueStore and Onebox jasmine tests to QUnit.
2013-06-18 17:23:00 -04:00
Robin Ward
60fce196c7
More Qunit tests including a CLI runner
2013-06-18 13:44:20 -04:00
Robin Ward
8e96299653
FIX: Discourse.Presence
was broken on arrays. The flag button was showing for anonymous users.
2013-06-18 11:36:48 -04:00
Neil Lalonde
9540112d32
Use a helper function in nav_item_test.js
2013-06-17 13:23:22 -04:00
Neil Lalonde
014db4c2e9
Discourse.Site.instance now returns a singleton object; add js test for NavItem
2013-06-17 13:05:08 -04:00
Robin Ward
b0cc45b14e
FIX: Long line in JS fixtures
2013-06-17 11:59:04 -04:00
Robin Ward
797b99db7c
Moved a bunch of tests to QUnit. Added basic Discourse.Site
support to test suite.
2013-06-17 11:38:30 -04:00
Robin Ward
66f7d77663
Fix JSHint in test helper
2013-06-13 15:15:53 -04:00
Robin Ward
5193ddc72f
Super basic test support for listing topics
2013-06-13 15:08:42 -04:00
Robin Ward
a104c37d63
Experiment: QUnit for integration Ember integration tests
2013-06-12 11:56:59 -04:00