Robin Ward
435a9913a4
REFACTOR: Replace global `find` with `queryAll`
...
In newer Embers jQuery is removed. There is a `find` but it only returns
one element and not a jQuery selector. This patch migrates our code to a
new helper `queryAll` which allows us to remove the global.
2020-10-29 14:45:51 -04:00
Bianca Nenciu
bdfb370f19
FIX: Disallow email invites if enable_local_logins is disabled ( #10805 )
...
allowEmails used to always be set to true and did not use
can_invite_via_email, which checks for enable_local_logins.
It was a problem because on sites with local logins
disabled users were allowed to enter email addresses, but
received a generic error "error inviting that user".
2020-10-05 19:38:22 +03:00
Robin Ward
23f24bfb51
REFACTOR: Move javascript tests inside discourse app
...
This is where they should be as far as ember is concerned. Note this is
a huge commit and we should be really careful everything continues to
work properly.
2020-10-02 11:29:36 -04:00
Robin Ward
445d6ba45f
REFACTOR: Move qunit tests to a different directory structure
...
This structure is closer to how ember-cli expects tests to be placed. It
is not their final position, just the first step towards it.
2020-09-30 10:36:49 -04: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
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
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
424a3b042a
FEATURE: unified UI for pinning/banner topics
...
REFACTOR: ES6ified all the modals
2015-03-14 01:18:05 +01:00
Régis Hanol
809edd4da3
FIX: user-card tests
2015-03-04 13:02:36 +01:00
Régis Hanol
8ebab581ad
temporarily disable test
2015-03-02 20:02:20 +01: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
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
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
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
f9a8f6d6ce
FEATURE: Support for a `required` setting on user fields.
2014-10-08 15:10:19 -04:00
Robin Ward
edb34c178a
FEATURE: Show user fields when the user is signing up
2014-09-30 10:45:18 -04:00
Arpit Jalan
b3838c2c1c
Trigger browser password manager after sigining up
2014-09-24 01:04:36 +05:30
Robin Ward
c16b8364ab
FIX: Support ember app routing to topics with only slugs
2014-09-17 11:18:59 -04: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
Robin Ward
a71640c15f
Add the integration test for search back using a fixture.
2014-09-03 13:43:26 -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
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
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
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
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
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
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
d29157dab9
TESTS: Refactored integration tests
2014-07-30 20:09:44 -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
f7c7d38a30
FIX: broken tests
2014-07-28 12:05:27 +10:00