Commit graph

4003 commits

Author SHA1 Message Date
Sam
29acbfb611 improve probing diag tool, add a clear button 2015-01-05 12:00:55 +11:00
Sam
9aba6ab265 Merge branch 'master' of github.com:discourse/discourse 2015-01-05 09:01:54 +11:00
Robin Ward
1e441522c0 Don't use a string buffer to refactor loading outlet 2015-01-02 16:35:56 -05:00
Robin Ward
030bab92a2 Small optimization: remove a template with an {{if}} 2015-01-02 16:29:08 -05:00
Robin Ward
5beac44731 If transmitting an empty array, mark it as such 2015-01-02 16:12:06 -05:00
Robin Ward
6f72f265cb A trigger when a topic is updated, adds a couple of custom field tests 2015-01-02 15:57:08 -05: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
9523b26af2 Move emoji autocomplete into its own file, remove ceremony around
decorating the `ComposerView` for it since it's part of core now.
2015-01-02 11:57:48 -05:00
Robin Ward
701d896912 FIX: Link domains were not showing up in the topic map 2015-01-02 10:46:04 -05:00
Régis Hanol
9fcaf090ec Merge pull request #3068 from fantasticfears/category_slug
support setting category slug
2015-01-02 11:55:27 +01:00
Arpit Jalan
bfe95966b4 better filenames for export 2015-01-02 15:30:50 +05:30
Sam
faa583cd95 No need for heat mapped numbers in the topic info panel 2015-01-02 11:34:05 +11:00
Sam
049ae70f94 FEATURE: maximize button for customization css/html editor 2015-01-02 11:25:15 +11:00
Sam
9744802be9 FIX: category not hidden correctly 2015-01-02 09:54:54 +11:00
Robin Ward
3d42c2d515 Merge pull request #3070 from techAPJ/patch-3
FIX: rate limit user posts export
2014-12-31 11:37:11 -05:00
Sam
7ff96241a2 automatically register dom templates 2014-12-31 13:29:14 +11:00
Sam
f0ca6150d8 refactor topic list header to use a raw template 2014-12-31 12:32:43 +11:00
Sam
3f0a4b9e52 FEATURE: default string buffer will use a raw template 2014-12-31 12:31:45 +11:00
Sam
7707803201 helper should retain context 2014-12-31 12:30:48 +11:00
Sam
8524a9d94b FEATURE: raw helper has access to parent and options view object 2014-12-31 12:30:14 +11:00
Robin Ward
0e0d8e79df For plugin outlets, automatically assign the unique name as a class to
the connector.
2014-12-30 17:08:39 -05:00
Robin Ward
57b89a2c7f Plugin stuff:
* Allow plugins to work with only autoloaded assets.
* Give a plugin outlet a class name based on its name if no view class
* Give the `topic-title` outlet a default class of `clear: both`
2014-12-30 16:29:28 -05:00
Arpit Jalan
78537aad39 FIX: rate limit user posts export 2014-12-31 00:54:23 +05:30
Robin Ward
7b9768aa7f FIX: jsHint fail 2014-12-30 13:18:25 -05:00
Robin Ward
2681717a87 FIX: Keep topic list items on screen when using keyboard. 2014-12-30 12:50:58 -05:00
Robin Ward
47d821cd31 FIX: We should only intercept enter as a keypress when a selector
matches it.
2014-12-30 12:05:52 -05:00
Sam
d0fe1725c8 FIX: users should be allowed to add @ to the to field of a PM 2014-12-30 13:26:39 +11:00
Sam
8cfd14120c allow forcing of name if needed 2014-12-30 11:07:16 +11:00
Régis Hanol
7bcecb54fd FEATURE: remember last emoji group used 2014-12-29 23:04:37 +01: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
Régis Hanol
25e5031fb1 FIX: site setting search 2014-12-29 21:56:33 +01:00
Robin Ward
6df00df1ae FIX: Some query params were showing up as undefined 2014-12-29 14:51:04 -05:00
Erick Guan
1e166d89ff support setting category slug 2014-12-30 03:14:54 +08:00
Robin Ward
07b8dc4eca FIX: Clicking on pin/unpin would refresh the page 2014-12-29 12:29:50 -05:00
Régis Hanol
432413d3da FEATURE: 🍬 cool transition when expanding lightbox 2014-12-29 18:00:18 +01:00
Régis Hanol
a115b4b7f0 FIX: hide emoji toolbar button when emoji are disabled 2014-12-29 17:29:04 +01:00
Erick Guan
489feac121 FIX: user card can't expand when the username is number 2014-12-29 19:15:58 +08:00
Sam
b48f04e772 possible regression fix 2014-12-29 16:32:31 +11:00
Sam
a6fbf7d86b PERF: improve rendering speed of topic header
This also ensures we have a clean point to override rendering of topic list header
in case we decide to add/remove columns, you no longer need to override the
entire discovery template, only the header and item templates.
2014-12-29 16:27:41 +11:00
Régis Hanol
8edf2afb83 FIX: proper redirection when deleting a user 2014-12-25 18:25:07 +01:00
Régis Hanol
b65ac132b7 FIX: 1.9 regression on i18n strings with variables 2014-12-25 18:04:23 +01:00
Jeff Atwood
b91f9f4142 remove a bunch of needless css prefixes 2014-12-25 01:05:45 -08:00
Arpit Jalan
bb152a5b3f FEATURE: download user posts archive 2014-12-24 15:13:48 +05:30
Jeff Atwood
1e29f6cbe9 stop rendering spinner in composer for now 2014-12-23 23:44:21 -08:00
Sam
e23e008682 FIX: buggy unhoisting of escaped \* 2014-12-23 18:25:10 +11:00
Sam
f6f50ffc72 correct live reload code 2014-12-23 13:03:48 +11:00
Sam
5b844f5320 FEATURE: more than 1 site customization can be enabled at once
FIX: more robust site customizations

Rewrote site customization to use distributed cache and a much cleaner
css delivery mechanism
2014-12-23 13:03:48 +11:00
Sam
f23eb475a4 FEATURE: remove override stylesheet option, too confusing 2014-12-23 13:03:48 +11:00
Régis Hanol
45dbdb6896 FEATURE: custom emojis 2014-12-23 01:12:26 +01:00
Robin Ward
6e1601c10d Second try at making heart pulse. Go faster, stay coloured. 2014-12-22 14:51:11 -05:00
Sam
9e4942eeeb FIX: don't pop up "cancel" when returning to topic 2014-12-22 16:08:39 +11:00
Sam
a75b9db4a2 FIX: sane badge ordering on user page 2014-12-22 14:30:37 +11:00
Sam
27d43ad6c0 PERF: hold back rendering of suggested topics 1 run loop. 2014-12-22 13:18:19 +11:00
Robin Ward
b06cb26f7f Revert "UX: Let's try an animating heart out"
This reverts commit eb445ca2fc.
2014-12-19 17:24:45 -05:00
Robin Ward
eb445ca2fc UX: Let's try an animating heart out 2014-12-19 16:48:43 -05:00
Robin Ward
043a93dfd5 FIX: Sharing buttons broke in 1.9 template upgrade 2014-12-19 15:26:05 -05:00
Robin Ward
faabdad04e FIX: Regression with ember upgrade on notifications 2014-12-19 10:34:09 -05:00
Robin Ward
de027d1f97 FIX: Regression in badges linking to a post 2014-12-19 10:29:02 -05:00
Robin Ward
2d3a9b334d FIX: LazyYT was not being applied when a post was edited 2014-12-18 12:28:14 -05:00
Robin Ward
db89695d4d FIX: Load order of Javascript 2014-12-18 11:22:02 -05:00
Robin Ward
8b51176f2e FIX: Category badges were missing stripes in some places 2014-12-18 11:03:17 -05:00
Robin Ward
a8acbc37a2 Refactor selector components for extensibility 2014-12-18 10:36:58 -05:00
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
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
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
Régis Hanol
6096c88454 FIX: automatically use uploaded avatar when uploading an avatar 2014-12-16 18:36:28 +01: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
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
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
Arpit Jalan
42cbe6ef2a FEATURE: export csv for all the logs 2014-12-11 23:33:26 +05:30
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
Sam
0542c080b3 PERF: optimise rendering of posts 2014-12-10 18:05:04 +11: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
4de412365e The {{i18n}} helper should use quotes when looking up keys, always. 2014-12-08 16:36:18 -05:00
Robin Ward
5fd3f2547c FIX: Fix rerendering issues on some components. 2014-12-08 14:47:49 -05: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
khalid al-hussayen
9fc0a3f6f9 add arabic local files 2014-12-07 23:05:24 +03: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
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
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
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
Sam
8977d5917b revert 2014-12-04 09:35:11 +11:00
Sam
665ff94ff7 Revert "FIX: Don't show undefined in the footer text."
This reverts commit 7bf669ccf3.
2014-12-04 09:33:21 +11:00
Sam
a8d2f4b6d0 Revert "FIX: Word null appearing in user card"
This reverts commit 7f60276d66.
2014-12-04 09:32:49 +11:00
Sam
dbe6a70209 Revert "FIX: Check if the bio_cooked exists before outputting it."
This reverts commit 52f7f8e471.
2014-12-04 09:32:30 +11:00
Sam
6175973fda Revert "Patch Ember to fix https://github.com/emberjs/ember.js/issues/9805"
This reverts commit 393607d25c.
2014-12-04 09:32:02 +11:00
Sam
08501f53b4 Revert "FIX: Broken comboboxes. Workaround Ember bug that needs triaging"
This reverts commit d1cb946594.
2014-12-04 09:31:49 +11:00
Robin Ward
d1cb946594 FIX: Broken comboboxes. Workaround Ember bug that needs triaging 2014-12-03 17:17:45 -05:00
Robin Ward
393607d25c Patch Ember to fix https://github.com/emberjs/ember.js/issues/9805 2014-12-03 16:41:27 -05: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
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
Robin Ward
b547be44b2 Better error message output 2014-12-01 14:53:37 -05: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
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
c3a47aee70 use shorter Export button copy 2014-11-26 23:57:18 -08:00