Commit Graph

7237 Commits

Author SHA1 Message Date
Régis Hanol
c17b111b6d FIX: 1.9.0 regressions with i18n 2014-12-17 19:21:06 +01:00
Robin Ward
0d1bb7763a FIX: 1.9.0 regression with i18n 2014-12-17 12:57:23 -05:00
Robin Ward
01904c6ca3 FIX: Sometimes loading blank topic list 2014-12-17 11:34:20 -05:00
Robin Ward
768027f0e3 Merge pull request #3046 from gdpelican/feature/insensitive-group-names
Remove group name validation case sensitivity
2014-12-17 10:52:45 -05:00
Régis Hanol
fc85760bc0 FIX: add topic-owner class to all the posts created by the OP 2014-12-17 16:25:31 +01:00
Robin Ward
2ca0a307de FIX: When using {{avatar}} within autocomplete 2014-12-17 10:05:38 -05:00
Robin Ward
f42a5c1ba3 Convert a lot of Globals to ES6 modules 2014-12-17 09:31:42 -05:00
Robin Ward
124f47529a Fix regression in {{each}} fixes 2014-12-17 09:31:42 -05:00
Robin Ward
f3babdb319 Fixes many Ember 1.9.0 deprecations 2014-12-17 09:31:42 -05:00
Robin Ward
3e8d8bf90d Revert i18n initializer, it breaks tests. 2014-12-17 09:31:42 -05:00
Robin Ward
1948b41875 Fix resolve errors 2014-12-17 09:31:41 -05:00
Robin Ward
3e408f9caa Fix more deprecated helpers 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
bdc075b266 Minimize use of stream calls 2014-12-17 09:31:41 -05:00
Sam
51c4cb3de1 fix helper 2014-12-17 09:31:41 -05:00
Sam
f8f1611035 compatibility fixes 2014-12-17 09:31:41 -05:00
Sam
a0787103c1 fix raw helper so its handlebars 2.0 compliant 2014-12-17 09:31:41 -05:00
Robin Ward
008a19f997 More 1.9.0 fixes 2014-12-17 09:31:41 -05:00
Robin Ward
02f3a2d115 Fix more deprecations for 1.9.0 2014-12-17 09:31:41 -05:00
Robin Ward
5659b93c71 Many fixes for Ember 1.9.0 2014-12-17 09:31:40 -05:00
Robin Ward
61101736cb Ember.empty has been renamed to Ember.isEmpty 2014-12-17 09:31:40 -05:00
Régis Hanol
f5317a519f Merge pull request #3035 from oblakeerickson/update_username_return_json
Update username should return a json response
2014-12-17 11:23:33 +01:00
Régis Hanol
aff49a1e0d Merge pull request #3043 from fantasticfears/patch-9
expanding active column width
2014-12-17 11:22:05 +01:00
Régis Hanol
cdbee4f5d9 Merge pull request #3045 from techAPJ/patch-2
FIX: redirect client to the original url after logging in for private in...
2014-12-17 11:21:56 +01:00
Jeff Atwood
004cfabe81 remove extra font-size declaration 2014-12-17 00:45:32 -08:00
Jeff Atwood
1c8ddccb45 try to correct font scaling problems on Firefox 2014-12-16 23:26:29 -08:00
James Kiesel
84bed4f9ce Remove group name validation case sensitivity 2014-12-17 18:44:30 +13:00
Régis Hanol
6096c88454 FIX: automatically use uploaded avatar when uploading an avatar 2014-12-16 18:36:28 +01:00
Kris Aubuchon
c7d7393d80 setting static base font size 2014-12-16 09:24:15 -05:00
Jeff Atwood
23899281d8 minor font sizing CSS fixups 2014-12-16 01:12:52 -08:00
Arpit Jalan
9f8e73303a FIX: redirect client to the original url after logging in for private instances 2014-12-16 13:19:26 +05:30
Jeff Atwood
dfd7e69df7 Merge pull request #3044 from awesomerobot/master
changing font sizes to ems, so fonts scale a bit more gracefully
2014-12-15 19:22:35 -08:00
Kris Aubuchon
3eebc0e589 changing font sizes to ems, so fonts scale a bit more gracefully 2014-12-15 22:12:56 -05:00
Régis Hanol
521226f4c9 FIX: registration fails with timeout on gravatar 2014-12-15 22:10:27 +01:00
Robin Ward
b2e2a99898 FIX: Don't raise an error when trying to log nothing 2014-12-15 14:14:12 -05:00
Robin Ward
748c13f4a7 Fixes broken test 2014-12-15 13:13:39 -05:00
Robin Ward
a2c97b9e6b FIX: If a user uses the keyboard to navigate, don't bubble up the event. 2014-12-15 12:54:05 -05:00
Robin Ward
da7fefa263 Merge pull request #3039 from techAPJ/patch-1
Optimize user csv export
2014-12-15 12:26:23 -05:00
Robin Ward
b1bc4741b1 FEATURE: Load fewer topics in the topic list on slow platforms (Android) 2014-12-15 11:54:26 -05:00
Régis Hanol
a014507da4 FIX: semantic HTML for category with images 2014-12-15 15:39:13 +01:00
Erick Guan
6e59a450c1 expanding active column width
When the post gets older, its translation text needs more space
2014-12-15 22:33:37 +08:00
Robin Ward
2d6b15a34d Load fewer posts when the android platform is detected 2014-12-12 11:47:39 -05:00
Arpit Jalan
2492c41f74 Optimize user csv export 2014-12-12 21:19:57 +05:30
Arpit Jalan
02e1d17ac7 Add Turkish translation files 2014-12-12 12:13:12 +05:30
Robin Ward
b366ec7f15 Merge pull request #3036 from techAPJ/patch-4
FEATURE: export csv for all the logs
2014-12-11 14:56:05 -05:00
Régis Hanol
1353557575 FIX: custom flags not possible on very long topic titles 2014-12-11 19:34:52 +01:00
Arpit Jalan
42cbe6ef2a FEATURE: export csv for all the logs 2014-12-11 23:33:26 +05:30
Régis Hanol
e6e7948617 FEATURE: support for emoji sets
Added following emoji sets
  - Apple/International
  - Emoji One (default)
  - Android/Google
  - Twitter

FIX: translations from plugins weren't properly merged with default translations
FEATURE: new 'site_setting_changed' event
2014-12-11 17:08:47 +01:00
Sam
32b52642ab PERF: don't render composer until we need it 2014-12-11 16:21:39 +11:00
Sam
8b87f095c6 PERF: don't render share dialog until we have a link. 2014-12-11 15:46:08 +11:00
Sam
46720b1017 PERF: don't render user card until displayed 2014-12-11 15:42:12 +11:00
Blake Erickson
02ade72ceb Update username should return a json response
- Have update username return json response that contains the updated
  username and id. I figured this would be better than just return "OK".
- Add test to verify that the new username is returned.
2014-12-10 09:43:16 -07:00
Robin Ward
d2a7904bf2 UX: Banner topics should be readable even with dark color schemes. 2014-12-10 10:46:30 -05:00
Robin Ward
ff758cea11 FIX: Text in select2 dropdowns should not be variable since the
background is always white.
2014-12-10 10:25:35 -05:00
Jeff Atwood
7e609e1834 do we need #list-area margin-bottom so big? 2014-12-10 00:33:45 -08:00
Sam
0542c080b3 PERF: optimise rendering of posts 2014-12-10 18:05:04 +11:00
Erick Guan
9937af7ac4 disable sending email or show presence when forgot system user password 2014-12-10 14:17:56 +08:00
Robin Ward
e76449d800 When using automatic file includes (es6, hbs) from plugins, allow the
asset pipeline to find new and deleted files with deleting the `tmp`
folder and restarting the server.
2014-12-09 15:23:14 -05:00
Robin Ward
2b817f826b Allows us to easily define routes in plugins 2014-12-09 13:26:30 -05:00
Robin Ward
72efcc8e86 UX: Make category link text black in digest emails 2014-12-09 11:28:45 -05:00
Sam
4f4c49f702 Merge pull request #3031 from oblakeerickson/activate_return_json
Have activate user return json
2014-12-09 10:12:42 +11:00
Robin Ward
4de412365e The {{i18n}} helper should use quotes when looking up keys, always. 2014-12-08 16:36:18 -05:00
Régis Hanol
63d4932549 Merge pull request #3032 from awesomerobot/master
adding max-height for embedded video
2014-12-08 21:48:19 +01:00
Kris Aubuchon
448acc627b adding max-height for embedded video 2014-12-08 15:39:36 -05:00
Robin Ward
5fd3f2547c FIX: Fix rerendering issues on some components. 2014-12-08 14:47:49 -05:00
Blake Erickson
1d0eccf710 Have activate user return json
- Change activate user from admin controller to return json
- Test that it returns json
- Remove unnessary test from log_out spec

This commit was created so that when you activate a user through the api
it returns a json response.
2014-12-08 11:16:57 -07:00
Robin Ward
7069ee16e2 FIX: Javascript error when uploading backup 2014-12-08 12:38:36 -05:00
Sam
3547c20aa7 add toolbar to pick emoji family, bump up number to 60 2014-12-08 16:45:24 +11:00
Sam
23163422e6 correct positioning when emoji is added 2014-12-08 14:22:54 +11:00
Sam
555b783864 Add shortcuts support for emoji toolbar
(CTRL E to open, ESC to close)
2014-12-08 13:32:26 +11:00
Sam
fdecd69228 Merge pull request #3026 from oblakeerickson/legacy_avatar
Remove legacy avatar code
2014-12-08 11:03:55 +11:00
Sam
a7659490c6 Merge pull request #3028 from tytkal/arabic_support
Arabic support
2014-12-08 11:03:12 +11:00
Sam
4082076e0d Merge pull request #3029 from bear-metal/master
Introduce support for being able to dump Rails heap after script/bench.rb runs
2014-12-08 11:01:08 +11:00
Régis Hanol
fe007d08b3 FIX: remove links and html 'hellips' from topic/post summaries 2014-12-08 00:23:53 +01:00
Lourens Naudé
fb60daa867 Introduce support for dumping Rails process heap at the end of a benchmark run 2014-12-07 22:55:37 +00:00
khalid al-hussayen
9fc0a3f6f9 add arabic local files 2014-12-07 23:05:24 +03:00
Blake Erickson
e9e88c9b82 Remove legacy avatar code
- Remove method that was only left around because the
  [api](https://github.com/discourse/discourse_api/pull/53) called it
- Modify test to use new route instead of legacy route

https://meta.discourse.org/t/legacy-route-for-avatars/22838/2
2014-12-07 06:13:14 -07:00
Sam
c05203d449 typo 2014-12-07 16:43:26 +11:00
Sam
16c2562e57 Add more logging aroung blank posts 2014-12-07 16:39:30 +11:00
Régis Hanol
929ff00741 FIX: use excerpt instead of the summary 2014-12-06 18:48:39 +01:00
Régis Hanol
dec881ac9d Merge pull request #3024 from oblakeerickson/avatar_return_json
Have pick_avatar return json.
2014-12-06 18:20:42 +01:00
Blake Erickson
a61519eebf Have pick_avatar return json.
I'm working on writing a test in the discourse_api gem for uploading
avatars and the pick method needs to return a json response.

I also added a test to make sure json is returned.
2014-12-06 09:26:32 -07:00
Régis Hanol
86c4c947a3 FIX: drastically simplify auto-close topic logic
Get rid of this nonsensical maximum-flow algorithm :fired:
2014-12-06 16:29:54 +01:00
Robin Ward
da4e19af5b Deprecations for future ember, {{outlet}} names need strings 2014-12-05 17:06:20 -05:00
Robin Ward
72749a24e1 FIX: Broken HTML (thanks HTMLbars) 2014-12-05 17:03:08 -05:00
Neil Lalonde
0f37ce1083 FIX: share popup on mobile layout went outside of viewport, and z-index was behind user avatars. Use a real link on touch devices instead of a text input. 2014-12-05 16:21:07 -05:00
Régis Hanol
cd170ca548 FEATURE: auto-close topics based on community flags 2014-12-05 19:37:43 +01:00
Sam
357a12f78e FEATURE: work-in-progress emoji selector toolbar item 2014-12-05 17:19:17 +11:00
Sam
bc772233a7 ramp it down to 1 second, already handled on server so it will hold you back 2014-12-05 09:58:50 +11:00
Sam
3faa220dbc ramp down "Forgot password" disable down to 5 seconds. 2014-12-05 09:56:46 +11:00
Robin Ward
50b75084bd Merge pull request #3025 from awesomerobot/master
fixing loading spinner alignment and striping
2014-12-04 17:13:22 -05:00
Robin Ward
5f6f85b182 FIX: Disable loading below HTML, we have our own spinner for that and it
broke scrolling on some custom CSS.
2014-12-04 17:12:47 -05:00
Kris Aubuchon
d8c8264b4e fixing loading spinner alignment and striping 2014-12-04 17:05:47 -05:00
Neil Lalonde
917a91eb40 FIX: permalink redirect support for url's with extensions in them, like .html and .php 2014-12-04 16:39:10 -05:00
Robin Ward
dd7b3d313e FIX: Selecting default option without changing HTML markup.
I also filed a bug on Ember.js with details on the error.
2014-12-04 15:21:47 -05:00
Robin Ward
5ec77d4be4 FIX: If a category can't be found, don't include it in the list 2014-12-04 13:04:58 -05:00
Robin Ward
5492bbe11c FIX: Couldn't click delete topic button due to missing action 2014-12-04 11:49:53 -05:00
Robin Ward
e035b07e92 Put Ember 1.8.1 + fixes back. 2014-12-04 08:51:35 -05:00
Sam
8f4e8fe8f2 FIX: only show "new pm" in pm tab when looking at your own profile 2014-12-04 13:50:36 +11:00
Sam
4aa0d88c6c FEATURE: search private messages option 2014-12-04 13:50:36 +11:00
Kris Aubuchon
96ae3eccb3 making some adjustments to how posts are laid out so they don't break at small widths 2014-12-03 20:20:19 -05:00
Jason W. May
efa872e426 optional custom value for category slug (create and update) 2014-12-03 16:23:59 -08:00
Robin Ward
52f7f8e471 FIX: Check if the bio_cooked exists before outputting it. 2014-12-03 16:05:13 -05:00
Robin Ward
7f60276d66 FIX: Word null appearing in user card 2014-12-03 16:02:17 -05:00
Robin Ward
7bf669ccf3 FIX: Don't show undefined in the footer text. 2014-12-03 12:30:42 -05:00
Robin Ward
39fde5b9fb Upgrade to 1.8.1: So long, metamorphs! 2014-12-03 10:49:18 -05:00
Régis Hanol
b4363de280 FIX: reload current page when deleting a user 2014-12-03 16:03:42 +01:00
Régis Hanol
0f0a329e7c FIX: private message button wasn't adding the recipient (cc @gdpelican) 2014-12-03 14:55:43 +01:00
Régis Hanol
f9f54e2626 refactor fix in 67c4c90159 2014-12-03 13:00:02 +01:00
Régis Hanol
8ab32396a7 Merge pull request #3009 from gdpelican/feature/new-private-message
New Private Message button for user topics
2014-12-03 12:17:45 +01:00
Régis Hanol
7edb88a5a8 FIX: change top score formula
Adds more weight to `likes` (it's now the same weight as `post_count`)
2014-12-03 11:51:49 +01:00
Arpit Jalan
f84bdfdde3 FIX: if full user name is not provided, username should be present in email From header 2014-12-03 13:12:05 +05:30
Jeff Atwood
ea269ccfb2 rename purge_inactive to purge_unactivated 2014-12-02 21:36:25 -08:00
Sam
a8ff5fe97c Merge pull request #3002 from jmay/group-membership-api
use limit & offset for pagination of group members
2014-12-03 11:11:10 +11:00
Jeff Atwood
2ad0aeea2f Merge pull request #3015 from awesomerobot/master
a few very minor visual tweaks
2014-12-02 15:16:14 -08:00
Kris Aubuchon
ea37946d00 a few very minor visual tweaks 2014-12-02 17:10:14 -05:00
Robin Ward
c90668ae53 FIX: Better protection for invites scrolling 2014-12-02 17:03:12 -05:00
Robin Ward
008337b018 FIX: Selecting one user in admin would select them all 2014-12-02 15:30:57 -05:00
Robin Ward
67c4c90159 FIX: Clicking avatars broke for non-admins 2014-12-02 15:24:05 -05:00
Régis Hanol
461196f089 FEATURE: 'delete user' button in the user card in the admin section 2014-12-02 18:52:56 +01:00
Régis Hanol
99928cac26 FEATURE: use actual time in preference > email notifications' instruction 2014-12-02 18:15:32 +01:00
Robin Ward
87667cfe17 FIX: Editing a category definition topic was clearing its permissions 2014-12-02 11:46:21 -05:00
Régis Hanol
1210486623 FIX: editing the 1st post of a private message wasn't working 2014-12-02 16:04:45 +01:00
Arpit Jalan
2ead3fca69 FIX: exportUsers action was deleted, so user export was failing 2014-12-02 16:05:43 +05:30
Jeff Atwood
3fcde72656 bit shorter max width on mobile categories 2014-12-02 00:41:51 -08:00
Jeff Atwood
0503599de7 suppress long category names on mobile 2014-12-02 00:19:42 -08:00
Régis Hanol
f226e4efc0 FIX: don't error out when updating a topic with no changes 2014-12-02 02:16:30 +01:00
Robin Ward
b547be44b2 Better error message output 2014-12-01 14:53:37 -05:00
Régis Hanol
64b06b360a Merge pull request #3008 from oblakeerickson/log_out_return_success
Have log_out method return json
2014-12-01 14:26:06 +01:00
Blake Erickson
bdc92eec70 Have log_out method return json.
This commit helps improve the discourse_api experience so that we can
check the json response if it was a success or not. This commit also
checks that a 404 is sent instead of a 500 if a bad user_id is passed
in.
2014-12-01 06:03:25 -07:00
James Kiesel
cc76087f59 Add new private message button on topics list
That'll teach me to wildly refactor things.
2014-12-02 00:53:49 +13:00
Jeff Atwood
c00c5e1024 our previous mobile avatar tap fix was incorrect 2014-12-01 03:36:25 -08:00
Jeff Atwood
003d32babe decrease size of cat color stripe in digests a bit 2014-11-29 03:58:44 -08:00
Robin Ward
cb0e7a5724 For performance reasons, use delete_all when removing a user's email logs 2014-11-28 14:20:43 -05:00
Robin Ward
37a3e956b6 UX: Link categories in digest emails 2014-11-28 13:44:40 -05:00
Jeff Atwood
a85a3da167 move digest email featured post category underneath 2014-11-28 00:38:08 -08:00
Régis Hanol
07211489f0 FIX: hide restricted profile info from TL0 users to anonymous in 'JS-off' page 2014-11-27 19:51:13 +01:00
Régis Hanol
5b90ceb71d FEATURE: rolls up 1.2.*.* IP ranges when number of entries > 10 2014-11-27 19:29:30 +01:00
Jeff Atwood
31b769d4fa remove unneeded mobile footer left margin 2014-11-27 03:35:05 -08:00
Jeff Atwood
4589f28676 remove unwanted global text input font sizing 2014-11-27 02:13:15 -08:00
Jeff Atwood
c3a47aee70 use shorter Export button copy 2014-11-26 23:57:18 -08:00
Sam
013f1a6dd0 FEATURE: allow creating admin and moderator accounts via SSO 2014-11-27 12:39:00 +11:00
Sam
800ae5265f Add admin and moderator state to sso provider 2014-11-27 12:24:37 +11:00
Régis Hanol
4e735e8aab FIX: roll up staff action wasn't working 2014-11-27 01:12:56 +01:00
Sam
3fd4fc679e a few missing spots 2014-11-27 11:02:54 +11:00
Sam
5c965dcb0b FEATURE: show card when clicking on avatar in admin user list 2014-11-27 10:46:32 +11:00
Robin Ward
8366fcd78f FIX: Don't lose focus on site settings text field (was changing routes
during filtering)
2014-11-26 18:01:45 -05:00
Robin Ward
257bde8e2b FEATURE: "Suspect" users list in admin. 2014-11-26 13:58:16 -05:00
Régis Hanol
10b5032188 FIX: auto-closing attribution when a TL4 user auto-closes a topic 2014-11-26 19:51:07 +01:00
Régis Hanol
27d78332c4 FEATURE: restrict some user fields for TL0 users when viewed by anonymous users 2014-11-26 19:20:03 +01:00