Commit graph

7753 commits

Author SHA1 Message Date
James Kiesel
3b2dcf12b5 Rerender actions on like/dislike 2015-01-29 23:27:05 +13:00
Arpit Jalan
4e4bb736a8 build is failing :fired: 2015-01-29 15:18:38 +05:30
Jeff Atwood
605ae8a1a3 Merge pull request #3143 from techAPJ/patch-1
FIX: PMs were not allowed to be edited in some cases
2015-01-29 01:35:05 -08:00
Arpit Jalan
e8db47a1fe FIX: PMs were not allowed to be edited in some cases 2015-01-29 15:00:11 +05:30
Sam
ffee7ba789 fix style 2015-01-29 18:37:38 +11:00
Sam
8792909ff8 less rules ... less ie problems ... 2015-01-29 18:22:29 +11:00
Sam
a591c019d4 correct tests 2015-01-29 17:57:34 +11:00
Sam
1a694c04e4 correct box styles 2015-01-29 17:49:14 +11:00
Sam
cd5564f623 more styling tweaks 2015-01-29 17:49:14 +11:00
Sam
57dd4554f1 bar style fixes 2015-01-29 17:49:14 +11:00
Sam
6495bca540 bar style fixes 2015-01-29 17:49:14 +11:00
Sam
844467015d FEATURE: allow simple selection for category badge styles
clean up category badge styling
2015-01-29 17:49:14 +11:00
Robin Ward
d491d817a6 UX: Alwasy skip headers on topic lists on mobile.
Fixes topic lists filtered by tag on mobile.
2015-01-28 15:20:26 -05:00
Robin Ward
d6fa248093 UX: Update 404 page category badge to use centralized helper and style 2015-01-28 14:56:38 -05:00
Régis Hanol
cd2c9edb46 FIX: 🐛 upload on IE9 wasn't working :'(
- FIX: make sure we set a default name to a pasted image only on Chrome (the only browser that supports it)
- FIX: use ".json" extension to uploads endpoints since IE9 doesn't pass the correct header
- FIX: pass the CSRF token in a query parameter since IE9 doesn't pass it in the headers
- FIX: display error messages comming from the server when there is one over the default error message
- FIX: HACK around IE9 security issue when clicking a file input via JavaScript (use a label and set `visibility:hidden` on the input)
- FIX: hide the "cancel" upload on IE9 since it's not supported
- FIX: return "text/plain" content-type when uploading a file for IE9 in order to prevent it from displaying the save dialog
- FIX: check the maximum file size on the server 💥
- update jQuery File Upload Plugin to v. 5.42.2
- update JQuery IFram Transport Plugin to v. 1.8.5
- update jQuery UI Widget to v. 1.11.1
2015-01-28 19:43:20 +01:00
Robin Ward
053d3120f7 Updated incorrect comment 2015-01-28 13:38:40 -05:00
Robin Ward
8fc477ab07 More refactoring to support extensibility of history 2015-01-28 13:37:06 -05:00
Robin Ward
4a46d4ee35 Refactor and enable extensibility in PostRevisionSerializer 2015-01-28 13:37:06 -05:00
Robin Ward
d43944b3ed Extensibility for tracking changes to a topic 2015-01-28 13:37:06 -05:00
Dan Singerman
dbf2f4efec Fix bug when sso_overrides_avatar is true but no avatar_url is passed
If a user has a current avatar, and sso_overrides_avatar is true, but no avatar_url is
passed in the sso attributes, the current code errors, as it tries to parse a nil
as a URL. It seems to me valid that a third party system may not pass an avatar_url in
some cases (e.g. avatars may not be mandatory, so not all users may have them)

This might warrant a discussion about what should happen in this case; maybe the current
avatar in discourse should be removed? This branch merely stops the login process erroring.
2015-01-28 16:01:39 +00:00
Régis Hanol
b003c2b4f3 let's try category class again 2015-01-27 23:44:47 +01:00
Arpit Jalan
5128aa1052 Minor code optimization 2015-01-27 22:51:57 +05:30
Arpit Jalan
12c82bed59 Disable digest emails site setting 2015-01-27 22:41:36 +05:30
Greg Kempe
d99ccf6d27 FIX: creating a user shouldn't error when optional fields aren't provided
This fixes a bug where the server would 500 if the only user fields
where optional ones, and the create_user call didn't provide any
values so that params[:user_fields] was nil.

Additionally, don't bother double-checked for required fields, since we
iterate over all fields and will catch any that are required and blank.
2015-01-27 11:48:27 +02:00
Sam
fbd18f3b69 Merge pull request #3132 from lidlanca/patch-4
Perf UX : reduce page paint on scrolling, due to fixed header element union with progress bar area
2015-01-27 14:40:49 +11:00
Sam
d52b0a2458 temporarily disable category class on body while debugging issue with missing docking header 2015-01-27 13:43:40 +11:00
lidlanca
0ffea11ccb Perf UX : reduce page paint on scrolling, due to fixed header element union with progress bar
Should provide some performance improvement for scrolling on chrome
The fixed header and the fixed progress bar on both ends  of the screen will invoke a complete visible page redraw.

For whatever reason this css should make things better for low performance devices. only tested on chrome superficially.
2015-01-26 20:47:43 -05:00
Sam
497042ddf2 FIX: don't restrict to local filesystem for df check
FIX: check correct directory when looking at backup limits
2015-01-27 08:25:57 +11:00
Régis Hanol
efd65dcc8c hard match domains for automatic group membership 2015-01-26 23:17:29 +01:00
Régis Hanol
088260f053 BREAK: improve consistency by using 'category-<slug>' instead of 'category-<id>' as css class 2015-01-26 23:11:41 +01:00
Robin Ward
51827b06ac Merge pull request #3130 from techAPJ/master
FEATURE: suppress digest emails for users not seen on the site for more ...
2015-01-26 13:12:47 -05:00
Régis Hanol
3b3c0d7088 add category name as a css class to topic list item (props to @lagwagon) - closes #3129 2015-01-26 18:43:55 +01:00
Arpit Jalan
5c2ee8ec2a FEATURE: suppress digest emails for users not seen on the site for more than (n) days. 2015-01-26 22:04:02 +05:30
Robin Ward
30cd341b0d UX: Max width of .gifv videos 2015-01-26 11:00:18 -05:00
Robin Ward
b3a9f91bd3 UX: You should be able to tab to the "This is a warning" checkbox 2015-01-26 10:52:17 -05:00
Jeff Atwood
8ef2a111a0 fix left margin on tablet portrait w/topic + list 2015-01-25 23:45:36 -08:00
Régis Hanol
78a7fb4b07 Merge pull request #3125 from gschlager/bugfix_01
FIX: Loading of Emoji files depended on working directory
2015-01-25 17:42:16 +01:00
Jeff Atwood
bab5167566 tighten up suggested topic table layout 2015-01-25 00:33:52 -08:00
riking
9e9119d1c1 FEATURE: Enable pagination of /posts.json 2015-01-23 21:22:19 -08:00
riking
1d24d8471e FEATURE: Latest posts endpoint at /posts.json 2015-01-23 21:16:03 -08:00
riking
fb72e2665f PERF 🐎 Don't calculate preload data for non-xhr json requests
This will help out anyone querying as API instead of through a
browser.
2015-01-23 21:14:58 -08:00
Jeff Atwood
246ae75a31 FIX: language was not being inserted into RSS 2015-01-23 15:57:29 -08:00
Gerhard Schlager
361b3fb07a FIX: Loading of Emoji files depended on working directory
The importer scripts could not be used unless the working directory was
the Discourse root directory.
2015-01-24 00:07:39 +01:00
Jeff Atwood
4904eeaa67 more pastel (desaturated) progress bar 2015-01-23 14:03:27 -08:00
Jeff Atwood
545d5b4906 turn down lightness scale of progress bar a bit 2015-01-23 12:39:07 -08:00
Robin Ward
d06d050eb7 UX: When oneboxing a topic, use the stripe category badge 2015-01-23 15:12:42 -05:00
Régis Hanol
f7f5e39f75 FIX: Minor Admin bug with a setting when creating a new group 2015-01-23 20:31:48 +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
Régis Hanol
256519dddf FEATURE: automatic group membership based on email address 2015-01-23 18:25:43 +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
848d60d459 FIX: Posts weren't highlighting on initial load 2015-01-23 10:46:44 -05:00
Régis Hanol
ea1d53f848 Merge pull request #3121 from techAPJ/patch-1
FIX: full user names were showing up in crawlers and rss feeds in spite ...
2015-01-22 18:28:50 +01:00
Robin Ward
b3a2c0c45b SECURITY: The SSO return_path was an open redirect
This security fix needs SSO to be configured, and the user has to go
through the entire auth process before being redirected to the wrong host so
it is probably lower priority for most installs.
2015-01-22 12:20:17 -05:00
Arpit Jalan
63556a904a FIX: full user names were showing up in crawlers and rss feeds in spite enables_names setting being disabled 2015-01-22 22:34:35 +05:30
Robin Ward
7741e4dc02 Change the admin-menu outlet to use a tagName of li 2015-01-21 16:21:27 -05:00
Robin Ward
9e82c41576 Merge pull request #3119 from techAPJ/patch-3
FIX: user name and title were not showing on post creation
2015-01-21 16:04:00 -05:00
Arpit Jalan
62c1291548 FIX: user name and title were not showing on post creation 2015-01-22 02:28:04 +05:30
Régis Hanol
141f697482 remove unused route 2015-01-21 20:54:07 +01:00
Régis Hanol
e300945879 FEATURE: split group admin in 2 tabs (custom & automatic)
FIX: clear the user-selector when adding new members
2015-01-21 20:52:48 +01:00
Robin Ward
03eb4752d1 Add categories-list css class to body for customization purposes 2015-01-21 14:34:01 -05:00
Robin Ward
48c7e20d80 DRY up the displaying of topic categories. Should not be duplicated. 2015-01-21 12:20:39 -05:00
Robin Ward
df8880a71a FIX: (for IE9) if console.log doesn't exist, make it an noop. 2015-01-21 11:53:41 -05:00
Jeff Atwood
1ed34be1b9 make topic list pin color consistent with lock 2015-01-21 03:15:56 -08:00
Jeff Atwood
e5cad726fd further tweaks to get post selection OK on mobile 2015-01-20 22:51:15 -08:00
Jeff Atwood
c4ddc5b983 quick mobile css fix for post selection buttons 2015-01-20 17:28:06 -08:00
Jeff Atwood
aa423212a0 make topic list bookmark color consistent with lock 2015-01-20 16:39:11 -08:00
Robin Ward
614ad4daa7 UX: Formatting on search categories looked weird 2015-01-20 17:51:12 -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
e3b4d12e46 Merge pull request #3110 from riking/notification_lanaguage
FIX: Respect user locale for reply notifications
2015-01-20 15:17:18 -05:00
Robin Ward
350554e198 UX: Change category badge style to use stripes 2015-01-20 14:56:06 -05:00
Robin Ward
f3c9310e12 Merge pull request #3117 from techAPJ/patch-1
FEATURE: rate limit invites for non-staff users
2015-01-20 10:45:00 -05:00
Neil Lalonde
4c0129ccdd PERF: slow user pages in admin. add an index for trust level 3 calculations, and memoize query results 2015-01-19 15:30:16 -05:00
Arpit Jalan
5e751ce90a FEATURE: 🎁 rate limit invites for non-staff users 2015-01-20 01:12:24 +05:30
Neil Lalonde
7412ff4da7 FIX: suspended users are logged out when they are suspended. Show a reason for suspension when they try to log in. 2015-01-19 12:37:02 -05:00
Arpit Jalan
7687c95e7b UX: add file size in CSV export notification 2015-01-19 19:21:53 +05:30
Jeff Atwood
90ff92e008 don't show self-bookmark avatar in user stream 2015-01-19 01:08:39 -08:00
Jeff Atwood
3f7fa46af7 remove unnecessary site header title height 2015-01-19 00:44:23 -08:00
Jeff Atwood
3d0e59942c IE9 doesn't support console.log 2015-01-19 00:33:51 -08:00
riking
03fd275b45 FIX: Respect user locale for reply notifications 2015-01-17 23:17:50 -08:00
riking
1ab0d6bd82 FEATURE: Log username changes by staff
Also fix the tests for changing username
2015-01-17 02:26:12 -08:00
Robin Ward
37d73ec488 Support customizing the composer below the textarea 2015-01-16 12:52:40 -05:00
Jeff Atwood
24b282e5e9 clicking expanded post date also jumps to post 2015-01-16 03:06:19 -08:00
Régis Hanol
7a86abd105 Merge pull request #3084 from jmay/group-managers
table & model changes for group managers with permission to edit members
2015-01-16 12:02:38 +01:00
Jeff Atwood
2b877e4fc4 post expansion arrow CSS cleanup 2015-01-16 02:24:49 -08:00
Jeff Atwood
d890248963 normalize post expansion arrow on right 2015-01-16 01:56:36 -08:00
Jeff Atwood
992ad7991b UX: change private category to lock glyph 2015-01-15 14:07:21 -08:00
Robin Ward
987504c6ab Rename no_js layout to no_ember
While *sometimes* `no_js` was used for visitors without js (for example
disabling it on your browser) it was also used for some pages that were
disabled to JS capable browsers, including the 404 page.

Even worse, sometimes it was used on pages that *had* Javascript, such
as our `/activate-account` route. It has been renamed to `no_ember` to
indicate what it really is, a layout for the site that doesn't load our
Ember.js application.
2015-01-15 15:56:53 -05:00
Robin Ward
e4e239c159 Add some safety when rendering a dropdown button to make sure it has
content.
2015-01-15 15:43:37 -05:00
Robin Ward
dc801bb442 Merge pull request #3102 from techAPJ/patch-2
Add username and date-time in exported file name
2015-01-15 15:35:06 -05:00
Robin Ward
505fa9f1cf FIX: 🐛 Saving the same custom field array twice would raise an error 2015-01-15 15:31:50 -05:00
Jeff Atwood
3ab2f105b4 switch no_js view back to old layout 2015-01-15 12:29:37 -08:00
Arpit Jalan
c619aed8f9 💄 add username and date-time in exported file name 2015-01-16 01:39:46 +05:30
Robin Ward
9c977a08cd FIX: 🐛 supress the category badge even when refreshing 2015-01-15 14:59:51 -05:00
Jason W. May
a2b284a0a4 table & model changes for group managers with permission to edit membership 2015-01-15 11:44:42 -08:00
Régis Hanol
20d2908c50 FEATURE: add a global notice whenever emails are disabled (disable_emails site setting) 2015-01-15 19:32:19 +01:00
Robin Ward
6c4c542ae3 FIX: Triggering a refresh while subcategory lists was broken.
It would then list all categories isntead of the subcategory you were
viewing at that time.
2015-01-15 13:01:35 -05:00
Régis Hanol
b4e5937850 FIX: 🐛 ensure emoji are case insensitive 2015-01-15 19:00:55 +01:00
Régis Hanol
beea92a74b FIX: 🐛 show email button wasn't working on user's profile page 2015-01-15 17:58:50 +01:00
Jeff Atwood
ef8976d68a better no-js and crawler image sizing 2015-01-15 02:20:38 -08:00
Jeff Atwood
71bfde3b4d meant device-width there, oops 2015-01-15 01:37:02 -08:00
Jeff Atwood
6b30f8444e normalize crawler and no-js views 2015-01-15 01:31:30 -08:00
Jeff Atwood
4cf4f1f252 Merge pull request #3101 from techAPJ/patch-1
set csv compression to optimal speed/size
2015-01-15 00:43:38 -08:00
Jeff Atwood
5c92c39003 remove csrf, font-face, css from js-off + crawler 2015-01-15 00:41:30 -08:00
Jeff Atwood
6a6e254096 move viewport meta tag out of shared header 2015-01-15 00:24:39 -08:00
Arpit Jalan
5039213840 set csv compression to optimal speed/size 2015-01-15 09:07:53 +05:30
Jeff Atwood
655dd66884 change JS-off "emergency" viewport to 720px 2015-01-14 17:06:45 -08:00
Jeff Atwood
0a4582fbc7 add meta viewport tag to JS-off view just in case 2015-01-14 16:56:01 -08:00
Robin Ward
a28784c8f7 Add a {{plugin-outlet}} for the admin-menu 2015-01-14 16:05:29 -05:00
Robin Ward
f8d3764d5e Convert many buttons to d-button 2015-01-14 15:50:20 -05:00
Robin Ward
e7443247dd Adds plugin-outlet for topic menu buttons. Also a d-button component. 2015-01-14 15:50:20 -05:00
Robin Ward
28f702a5b6 Refactor app events to more efficiently handle post highlighting 2015-01-14 15:50:19 -05:00
Robin Ward
78d5d22776 FIX: Posts weren't highlighting when jumping using the progress widget 2015-01-14 15:50:19 -05:00
Régis Hanol
07d3f0fc26 Merge pull request #3100 from riking/patch-1
Set Turkish pluralization rules
2015-01-14 19:52:37 +01:00
Kane York
31c8b5763f Set Turkish pluralization rules
Turkish does not have different forms for singulars next to numerals
https://meta.discourse.org/t/turkish-translation-missing-many-singular-strings/23334/
2015-01-14 10:39:31 -08:00
Arpit Jalan
c4da9ce62f FIX: old csv's were not getting deleted 2015-01-15 00:00:39 +05:30
Régis Hanol
6734a51b6a move SiteText.{head,top,bottom} to SiteCustomization 2015-01-14 12:15:53 +01:00
Arpit Jalan
835835832f FIX: user list export was failing 2015-01-14 16:24:42 +05:30
Régis Hanol
b34ef26f90 Merge pull request #3096 from techAPJ/patch-1
gzip csv export files
2015-01-14 09:23:15 +01:00
Arpit Jalan
b94c7922c5 🐎 gzip csv export files 2015-01-14 13:38:37 +05:30
Robin Ward
8b87d8ac2d Refactor sharing dialog for extensibility 2015-01-13 17:26:05 -05:00
Robin Ward
0de6226a20 FIX: Remove Bookmark was broken on bookmarks page
This was particularaly bad now that we removed stars :)
2015-01-13 13:14:58 -05:00
Arpit Jalan
7771d2fb31 remove enable_email_names setting 2015-01-13 13:35:40 +05:30
Jeff Atwood
935df99acf fix minor mobile topic styling issue 2015-01-12 17:26:04 -08:00
Robin Ward
f3b72f5d96 Revert "move SiteText.{head,bottom} to SiteCustomization and remove redundant SiteText.top"
This reverts commit 6ee2849df6.
2015-01-12 20:21:22 -05:00
Robin Ward
1e6dea46dd FIX: Jump to post was not respecting gaps 2015-01-12 18:10:30 -05:00
Arpit Jalan
bbb23bb736 FIX: users tab in admin panel doesn’t stay highlighted 2015-01-13 02:04:59 +05:30
Robin Ward
dba57a4a25 Add title to user header. Refactor statusIcon a bit. 2015-01-12 14:45:43 -05:00
Régis Hanol
6ee2849df6 move SiteText.{head,bottom} to SiteCustomization and remove redundant SiteText.top 2015-01-12 19:59:43 +01:00
Régis Hanol
03b053c800 FIX: bookmark button is now solid black by default & blue when bookmarked 2015-01-12 17:48:54 +01:00
Régis Hanol
645a22fdd5 FIX: background fade-in for modal dialogs 2015-01-12 16:29:38 +01:00
Régis Hanol
f0f1afff03 FIX: forgot i18n associated with bookmark button (:fired:) 2015-01-12 16:05:17 +01:00
Régis Hanol
c681b353f2 FEATURE: bookmark topic button 2015-01-12 12:10:15 +01:00
Jeff Atwood
a9ef92f3d8 latest topics on category page too damn small 2015-01-12 02:56:55 -08:00
Jeff Atwood
84286fb501 normalize topic post first element top-margins:0 2015-01-12 02:24:06 -08:00
Jeff Atwood
5f05e1394b consistent post top margins 2015-01-12 00:35:04 -08:00
Jeff Atwood
8d49aec789 clean up leftover bottom-round padding 2015-01-11 23:51:19 -08:00
Jeff Atwood
76c750be68 get rid of .bottom-round css class used once 2015-01-11 23:39:48 -08:00
Jeff Atwood
e572ad35ad new topic/post alert div regressed a bit on mobile 2015-01-23 23:39:44 -08:00
Jeff Atwood
7d268ff49f give home icon more breathing room 2015-01-09 15:18:42 -08:00
Robin Ward
38e4defaee Support adding items to the site map via plugin outlet. 2015-01-09 16:15:16 -05:00
Sam
d54e2770a1 correct build 2015-01-09 16:54:58 +11:00
Jeff Atwood
625c920c4f fix mobile layout issue with download posts btn 2015-01-08 17:32:24 -08:00
Sam
1358ed2aad FEATURE: show bookmarked topics in topic list 2015-01-09 11:41:10 +11:00
Robin Ward
7124456ae4 Merge pull request #3083 from cpradio/pr-add-class-to-gutter-links
UX: Add class to gutter links so you can infer if they are inbound or outbound using CSS
2015-01-08 17:35:25 -05:00
Robin Ward
0bc0bd7a21 Pass the current_user to the topic saved event 2015-01-08 17:29:11 -05:00
cpradio
fdfde22d0b UX: Add class to gutter links so you can infer if they are inbound or outbound using CSS 2015-01-08 17:20:50 -05:00
Robin Ward
74051a2df4 Allow plugins to build topic lists 2015-01-08 16:44:27 -05:00
Sam
69cfab62b8 PERF: don't bind all these things
TODO - cleaner pattern and helper for this
2015-01-08 14:50:20 +11:00
Sam
3347a48275 FEATURE: add liked and bookmarked classes to topic list item rows 2015-01-08 14:35:56 +11:00
Sam
df7def6628 annotate 2015-01-08 11:18:43 +11:00
Robin Ward
c02a31d8b4 Raw templates should resolve their views with the resolver 2015-01-07 14:21:31 -05:00
Régis Hanol
8627a1e507 FIX: making sure {{fa-icon}} don't break when we'll update to latest ember 2015-01-07 18:14:31 +01:00
Régis Hanol
2b3e311e8e FIX: emoji rebuild when changing emoji set for the 1st time 2015-01-07 17:54:09 +01:00
Robin Ward
114cc1c851 FIX: We missed some references to /category/xyz in the ruby code base. 2015-01-07 11:47:01 -05:00
Régis Hanol
65f0339146 FIX: un-delete topic wasn't working 2015-01-07 10:53:12 +01:00
Régis Hanol
66882155f0 FIX: emoji toolbar wasn't showing up after a page reload 2015-01-07 10:46:43 +01:00
Régis Hanol
6512e403ae FIX: each helper in raw templates 2015-01-07 09:30:32 +01:00
Sam
6785675150 clean up support for filter=liked and filter=bookmarked 2015-01-07 18:50:28 +11:00
Sam
984f8f0c27 FEATURE: show bookmarked topics when doing filter=bookmarked 2015-01-07 18:20:41 +11:00
Sam
ea87f5fd8a FEATURE: support for filter=bookmarked and filter=liked in topic list 2015-01-07 18:20:10 +11:00
Sam
da3da6feee each ... in ... support for ember compat handlebars 2015-01-07 18:18:26 +11:00
Sam
95f9788a77 FEATURE: add ?bookmarked=true for topic lists 2015-01-07 13:58:34 +11:00
Sam
efc717c14a FEATURE: remove star concept from Discourse 2015-01-07 13:43:27 +11:00
Jeff Atwood
fa8493118b remove underline on composer cancel, hide preview 2015-01-06 16:35:57 -08:00
Jeff Atwood
86c13ada44 fix a few places we were using /category vs /c 2015-01-06 15:56:07 -08:00
Neil Lalonde
880dcbb365 Merge branch 'master' of github.com:discourse/discourse 2015-01-06 17:28:58 -05:00
Neil Lalonde
58385248a6 Show contact_email on about page 2015-01-06 17:28:42 -05:00
Jeff Atwood
a398f356ae clean up unused category page CSS 2015-01-06 14:15:12 -08:00
Robin Ward
704ac91a22 FIX: Broken spec 2015-01-06 17:06:24 -05:00
Robin Ward
6d539c0afd You don't need to call buildRoutes anymore.
Just export a function in a module called `route-map` and discourse's
rotuer will do the rest. This makes it a lot easier to define routes in
plugins.
2015-01-06 17:00:25 -05:00
Jeff Atwood
b9d773ddcd private category layout on /categories was busted 2015-01-06 13:42:41 -08:00
Robin Ward
5667478b4d A common, extensible interface for sending topic columns across the wire
This allows plugins to specify topic columns to serialize and save in
the database via the composer when creating topics and editing their
first posts.
2015-01-06 14:53:12 -05:00
Robin Ward
97b4dec96c Move the new composer-fields outlet into the proper div 2015-01-06 12:19:52 -05:00
Robin Ward
8ee0f4d1e7 Use javascript to resize the composer properly rather than using the
type of composer being used.
2015-01-06 12:05:11 -05:00
Robin Ward
4318d6a2bd FIX: Deactivate check was removed from JSON by accident 2015-01-06 11:06:05 -05:00
Jeff Atwood
9497258912 billions and billions of stars? I DONT THINK SO 2015-01-06 01:53:20 -08:00
Jeff Atwood
76b9aa22d6 f**k stars right in their little star-holes 2015-01-06 01:38:00 -08:00
Jeff Atwood
d1b0939e02 add contact info to /about 2015-01-05 22:42:13 -08:00
Sam
a99c3c3df9 FEATURE: allow users to persist customization with &sticky=true 2015-01-06 17:39:08 +11:00
Sam
e6dba8adc2 SECURITY: don't echo the "strategy" param returned by auto provider 2015-01-06 16:28:45 +11:00
Jeff Atwood
77f5c74ddd FEATURE: add std /staff page link from /faq 2015-01-05 16:33:21 -08:00
Sam
d036d461dc FEATURE: only expand globally pinned topics on front page 2015-01-06 07:44:52 +11:00
Robin Ward
c7d86f89e4 Add more plugin outlets for the topic header 2015-01-05 15:34:41 -05:00
Sam
e089f699c1 upgrade pg to version 0.18, may fix encoding issue 2015-01-06 06:16:22 +11:00
Régis Hanol
e20078a9dc PERF: fix performance issue when displaying the user card for admins 2015-01-05 19:49:32 +01:00
Régis Hanol
47c4179e29 make jshint happy ❤️ 2015-01-05 18:58:36 +01:00
Régis Hanol
060cda7772 FIX: proper handling of group memberships 2015-01-05 18:51:45 +01:00
Neil Lalonde
4975fc2890 Remove old access_password_removal cruft from 1.5 years ago 2015-01-05 12:04:27 -05:00
Neil Lalonde
024b88e9c2 FIX: dashboard should be warning about invalid notification_email site setting 2015-01-05 12:04:27 -05:00
Sam
fce74e64a1 correct missing new/unread badges 2015-01-05 19:31:29 +11:00
Sam
e97aa3f544 fix params that are send to category route 2015-01-05 18:34:06 +11:00
Sam
9c250444ff regression, navigating to category leaves phantom columns 2015-01-05 18:18:50 +11:00
Sam
222964b27b add perf note 2015-01-05 17:54:38 +11:00
Sam
0396fd66f6 FEATURE: sorting by op likes shows the op likes count 2015-01-05 17:39:49 +11:00
Sam
ea2f892f4b FEATURE: show likes column if sorting by likes 2015-01-05 17:09:17 +11:00
Sam
d0d2a15180 Support likes column via site extension 2015-01-05 17:03:48 +11:00
Sam
69771562d7 clean up rendering and correct issues with topic list to raw commit 2015-01-05 16:37:25 +11:00
Sam
fa9bbd554e PERF: unify topic lists, remove star from lists, move to raw rendering 2015-01-05 13:04:15 +11:00
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
Neil Lalonde
4c166942ad FEATURE: Invite admin api has an optional param send_email which can prevent sending an email to the invited user. The api will return the password reset url so that the caller can send an email with it instead. 2015-01-02 15:48:54 -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
853e2ee535 FIX: rss link in category pages 2015-01-02 13:06:57 +01:00
Régis Hanol
c57a1b393f clean up 'checked_for_custom_avatars' user history entries 2015-01-02 12:37:17 +01: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
Arpit Jalan
bae432b255 FIX: show only staff actions in export and hide site setting logs from moderators 2015-01-02 11:13:25 +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
Jeff Atwood
a39831cdb1 tighten up mobile header margin 2015-01-01 01:42:50 -08:00
Jeff Atwood
911f941da5 some CSS fixes for mobile sites with text titles 2015-01-01 00:54:53 -08:00
Robin Ward
35edfb5b91 FIX: Don't truncate groups. @ZogStrIP we need to create a better fix for
this in the new year.
2014-12-31 12:58:50 -05: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
Jeff Atwood
0ef30ae43c fix weird font size on admin, customize, color 2014-12-30 23:51:32 -08: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
Sam
43c3e6b47f FIX: multisite CDN support for site customizations 2014-12-31 09:12:35 +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
Robin Ward
a33461d1c7 Temp fix: Don't use CDN for customizations 2014-12-30 14:54:50 -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
Robin Ward
09bc319fd4 Merge pull request #3071 from fantasticfears/visits-again
FIX: use utc time when generate reports; set boundary
2014-12-30 10:06:30 -05:00
Erick Guan
97b3914b70 FIX: use utc time when generate reports; set boundary 2014-12-30 22:43:03 +08: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
Régis Hanol
a04f44d65a Merge pull request #3065 from fantasticfears/fix-visits-report
FIX: today visits not shown
2014-12-29 21:23:47 +01:00
Robin Ward
f7955406cc As an optimization, don't return suspended users in the query that
determines who to send digests to.
2014-12-29 15:16:29 -05:00
Robin Ward
1b7450b5ae Merge pull request #3069 from techAPJ/patch-3
FIX: deleted topics were failing user posts archive download
2014-12-29 15:14:50 -05:00
Arpit Jalan
e7bfbe8552 FIX: deleted topics were failing user posts archive download 2014-12-30 01:42:36 +05:30
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
fb33576671 Merge pull request #3067 from techAPJ/patch-3
FEATURE: add more details in user posts archive
2014-12-29 14:09:27 -05:00
Erick Guan
fe7f2c6979 FIX: today visits not shown 2014-12-30 03:09:22 +08:00
Arpit Jalan
96608e0ef0 FEATURE: add more details in user posts archive 2014-12-30 00:00:26 +05:30
Robin Ward
07b8dc4eca FIX: Clicking on pin/unpin would refresh the page 2014-12-29 12:29:50 -05:00
Régis Hanol
0ce93f3b29 FIX: use prefixes for CSS transform 2014-12-29 18:08:56 +01:00
Régis Hanol
7ca092da17 Merge pull request #3057 from jaanus/s3-frankfurt-bucket
Add eu-central-1 to list of S3 buckets.
2014-12-29 18:02:14 +01:00
Régis Hanol
432413d3da FEATURE: 🍬 cool transition when expanding lightbox 2014-12-29 18:00:18 +01:00
jaanus
f6026ad1d0 Added eu-central-1 S3 bucket. 2014-12-29 18:31:21 +02:00
Régis Hanol
a115b4b7f0 FIX: hide emoji toolbar button when emoji are disabled 2014-12-29 17:29:04 +01:00
Robin Ward
1055fc0919 Merge pull request #3021 from jmay/custom-category-slug
optional custom value for category slug (create and update)
2014-12-29 10:34:23 -05:00
Régis Hanol
267de04e2d Merge pull request #3061 from techAPJ/patch-1
Rename CsvExportLog to UserExport
2014-12-29 12:39:53 +01:00
Régis Hanol
97c1de2040 Merge pull request #3064 from fantasticfears/fix-user-card-number
FIX: user card can't expand when the username is number
2014-12-29 12:39:00 +01:00
Erick Guan
489feac121 FIX: user card can't expand when the username is number 2014-12-29 19:15:58 +08:00
Régis Hanol
bfbc49ef6f FIX: log only 1 'show email' record 2014-12-29 11:50:36 +01: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
Arpit Jalan
68e66f3a25 Rename CsvExportLog to UserExport 2014-12-28 22:31:12 +05:30
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
Régis Hanol
9932bea7ce FEATURE: default emoji override 2014-12-25 17:58:15 +01:00
Jeff Atwood
92d61755b3 clean up CSS3 animations a bit 2014-12-25 02:29:39 -08:00
Jeff Atwood
2a46418284 add back in @-webkit-keyframes 2014-12-25 02:19:06 -08:00
Jeff Atwood
8b3babdbde add back in a few -webkit- css3 prefixes
due to http://shouldiprefix.com/ and iOS mainly!
2014-12-25 01:41:44 -08:00
Jeff Atwood
a82fda0a50 who the hell puts a } in front of a SASS line? 2014-12-25 01:14:20 -08:00
Jeff Atwood
b91f9f4142 remove a bunch of needless css prefixes 2014-12-25 01:05:45 -08:00
Jeff Atwood
3b945920d4 copy improvements on data export 2014-12-24 15:41:21 -08:00
Robin Ward
26129e95dc Merge pull request #3051 from RauchF/api_absolute_days
Added absolute dates to user list serializer
2014-12-24 11:32:31 -05:00
Arpit Jalan
7c7474aa10 create a new table to maintain csv export log 2014-12-24 16:25:36 +05:30
Arpit Jalan
bb152a5b3f FEATURE: download user posts archive 2014-12-24 15:13:48 +05:30
Jeff Atwood
cd3703e441 remove image opengraph tags 2014-12-24 00:30:55 -08:00
Jeff Atwood
3bad0e3a33 fix touch device link sharing in Firefox 2014-12-24 00:11:43 -08:00
Jeff Atwood
1e29f6cbe9 stop rendering spinner in composer for now 2014-12-23 23:44:21 -08:00
Jeff Atwood
b69832cf66 make expansion quote titles unselectable 2014-12-23 23:23:47 -08:00
Jeff Atwood
e122e52fb8 kill some -webkit-transition CSS 2014-12-23 23:18:57 -08:00
Jeff Atwood
576861505e just use plain CSS3 transition 2014-12-23 03:09:17 -08:00
Jeff Atwood
0b0e9be22f standardize on @transition mixin 2014-12-23 02:52:20 -08:00
Jeff Atwood
e41ae020fa add back ade-soft CSS transition on post actions 2014-12-23 02:16:57 -08:00
Sam
e23e008682 FIX: buggy unhoisting of escaped \* 2014-12-23 18:25:10 +11:00
Sam
e959e7c9df FIX: no way to remove site text 2014-12-23 13:15:54 +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
ba68eee20b FIX: stable ordering for site customisations 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
23aede6eb5 FIX: use cache to store custom emoji 2014-12-23 01:55:13 +01: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
Régis Hanol
c5a7bce557 FIX: only create animated thumbnails for GIFs 2014-12-22 12:56:19 +01: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
Felix Rauch
a45024de6c Added absolute dates to user list serializer
Added fields last_seen_at, last_emailed_at, and created_at to the admin user list serializer, to allow client applications to use those dates without having to parse the age string.

Referred to at: https://meta.discourse.org/t/api-returns-relative-times-instead-of-absolute-time-values
2014-12-20 10:24:16 +01:00
Jeff Atwood
157378bfcc edit pencil glyph too big mon TOO BIG 2014-12-19 00:46:24 -08:00
Jeff Atwood
24f1ef024e topic status glyphs too big mon TOO BIG 2014-12-19 00:35:08 -08: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
9bb2ab6265 Merge pull request #3034 from fantasticfears/filter_system_user
disable sending email or show presence when forgot system user password
2014-12-19 16:52:01 -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
25755efeee FIX: Safari 7 changed popstate behavior 2014-12-19 10:56:19 -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
Erick Guan
ceca85c9eb use system user helper and constant when it's referred 2014-12-18 18:21:14 +08:00
Jason W. May
18a00d2dd7 remove commented-out code 2014-12-17 08:59:05 -08: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
Kris Aubuchon
bcb03474d6 fixing base line-height and big/small abuse 2014-12-17 14:51:47 -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
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