Commit Graph

12197 Commits

Author SHA1 Message Date
Robin Ward 1f5325e3f0 FIX: Only validate uploaded URLs if they change 2016-09-08 12:06:18 -04:00
Arpit Jalan 19ddf95efa FIX: add custom invite email templates 2016-09-08 00:54:48 +05:30
Robin Ward 9609a47016 Ability to skip email validation via a plugin 2016-09-07 14:05:46 -04:00
Robin Ward acaac02673 Merge pull request #4423 from SafaAlfulaij/arabic_client_plural_rules
Add Arabic Pluralization Rules for Client
2016-09-06 11:22:21 -04:00
Matt Palmer 51854e56ac Don't hide e-mail in settings behind email-in plugins 2016-09-06 14:23:43 +10:00
Guo Xiang Tan 0fbb949af5 Merge pull request #4432 from tgxworld/migrate_upload_scheme_to_scheduled_job
FIX: Make `Jobs::MigrateUploadScheme` a scheduled job.
2016-09-06 08:39:27 +08:00
Erick Guan 9ce61b4586 FEATURE: Webhooks. 2016-09-05 18:44:00 +08:00
Guo Xiang Tan aabb7a8592 FIX: DiscourseEvent should not be triggered from within the controller. 2016-09-05 15:58:04 +08:00
Guo Xiang Tan e4b75f604c FIX: Make clean up upload script a safer task to run. 2016-09-05 10:06:02 +08:00
Sam 39e6cbc442 FIX: disable double submission which invalidates nonce 2016-09-04 16:05:25 +10:00
Sam 340874d345 FIX: post notifications in JSON so we properly support arrays and so on 2016-09-04 15:51:16 +10:00
Angus McLeod 422941a606 fix order of plugin template resolution 2016-09-02 12:55:11 -04:00
Sam 1d281e02c7 id is optional if already specified in header 2016-09-02 17:08:46 +10:00
Sam be0fd5b4cc FEATURE: allow user api key revocation for read only keys 2016-09-02 17:04:00 +10:00
Guo Xiang Tan 1a4a0d7e89 FIX: Don't fail silently. 2016-09-02 11:59:03 +08:00
Guo Xiang Tan 692ecff3eb Revert "FIX: Don't fail silently."
This reverts commit baa6af93a2.
2016-09-02 11:58:56 +08:00
Guo Xiang Tan baa6af93a2 FIX: Don't fail silently. 2016-09-02 11:53:53 +08:00
Guo Xiang Tan a869d861f4 FIX: Make `Jobs::MigrateUploadScheme` a scheduled job.
This reverts https://github.com/discourse/discourse/commit/9d8db11c

If the job fails during execution or if `SiteSetting.migrate_to_new_scheme`
has been set to `false`, the job will be considered as executed even
though the migration has not been completed. As a result, the job
will have to be executed manually which is not desirable.
2016-09-02 11:48:45 +08:00
Guo Xiang Tan efd7cbd887 Remove limit default.
Having the limit makes it harder to migrate all `Upload`/`OptimizedImage`
since the count has to be figured out and passed to the method.
2016-09-02 10:55:11 +08:00
Sam 0a39ba43ed FIX: always respect avatar_force_update 2016-09-02 12:04:22 +10:00
Sam 211c374df6 Merge pull request #4213 from fantasticfears/sso
FIX: Importing user avatar when new user login by SSO
2016-09-01 18:05:18 -07:00
Sam 034dc52beb UX: adjust to show all and stat period 2016-09-02 11:03:52 +10:00
Neil Lalonde 1078d929cd Revert "see if gtm automatically pushes pageview events without our own page-tracking code" 2016-09-01 13:28:04 -04:00
Neil Lalonde 572713b801 see if gtm automatically pushes pageview events without our own page-tracking code 2016-09-01 12:16:54 -04:00
Arpit Jalan 929730c008 FIX: properly insert images in markdown inline format (take 2) 2016-09-01 17:56:39 +05:30
Arpit Jalan 54a1180140 FIX: properly insert images in markdown inline format 2016-09-01 11:55:40 +05:30
Sam 1d7df97c30 FIX: display old category style on mobile 2016-09-01 15:57:23 +10:00
Angus McLeod 18da378f9a only perform the check on mobile view 2016-08-31 10:23:56 -04:00
Angus McLeod 0b20c0b581 check the plugin mobile/list dir for templates 2016-08-31 10:12:16 -04:00
Guo Xiang Tan 90a0327fd2 FIX: Check against reserved usernames should be case insensitive. 2016-08-31 21:53:41 +08:00
Sam 282a4e1efb FIX: remove from preload store so it is not cached forever 2016-08-31 14:07:31 +10:00
Sam 55fad7b339 FIX: missing avatars from categories page when ajax loaded
UX: display last poster on categories page instead of OP
2016-08-31 14:02:30 +10:00
Rafael dos Santos Silva 8fc556f81a FIX: Avatars on new category page 2016-08-30 23:54:15 -03:00
Sam 591dab1bb5 FIX: on load categories list not showing create button 2016-08-31 09:35:23 +10:00
Jeff Atwood 329faae3e0 Merge pull request #4427 from xfalcox/patch-1
[WIP] Add text on last-visit line
2016-08-30 15:40:42 -07:00
Rafael dos Santos Silva 91840be2b9 Makes it variable topic height proof 2016-08-30 19:07:56 -03:00
Robin Ward 7da44e3bf0 FEATURE: Support author meta tags for embedding 2016-08-30 12:01:04 -04:00
Rafael dos Santos Silva a307783644 attr fallback is not yet supported =( 2016-08-30 12:37:05 -03:00
Rafael dos Santos Silva d73bbe8d8c Add i18n-able text to last visit line 2016-08-30 12:26:28 -03:00
Robin Ward 3d8e75c6ca FIX: Sometimes we hide the `in_reply_to` when a quote is present 2016-08-30 11:11:16 -04:00
Régis Hanol 8ef49a9458 add span around subcategories to allow for better styling 2016-08-30 10:27:09 +02:00
Régis Hanol 96513f3848 FIX: select a period when 2/3 of the categories matches the criteria 2016-08-29 23:50:48 +02:00
Régis Hanol e064e6f7a3 FEATURE: new 'categories_and_latest' endpoint 2016-08-29 22:47:44 +02:00
Erick Guan 0217973374
FIX: Importing user avatar when new user login by SSO 2016-08-29 20:47:19 +08:00
Régis Hanol 6c8e6e9d2a UX: post count should be right aligned in /categories page 2016-08-29 10:52:22 +02:00
Régis Hanol 5833e96017 FIX: use 'topic_all_time' as topic count failover in /categories page 2016-08-29 10:25:46 +02:00
Sam 653f94975c FIX: don't fail if targetUsernames is not set 2016-08-29 12:39:25 +10:00
Sam 0303080586 we do not define auth providers for builtins 2016-08-29 11:12:24 +10:00
Sam 22b8c0d44e FIX: fullscreen login set from client needs to be respected 2016-08-29 10:13:51 +10:00
Neil Lalonde 2251104e32 FEATURE: avatar flair can be font awesome icons 2016-08-26 17:15:37 -04:00
safaalfulaij 75f6548710 Add Arabic Pluralization Rules for Client 2016-08-26 22:52:15 +03:00
Robin Ward 58cb43884d Merge pull request #4415 from vinkas0/tweak-49070
FIX: “Your search term is too short” message when no search term is entered at all
2016-08-26 14:02:42 -04:00
Vinoth Kannan f373e3ac8d braces added for if condition 2016-08-26 22:38:34 +05:30
Robin Ward 20241a01e9 FIX: Run the regular expression against query parameters 2016-08-26 12:47:47 -04:00
Neil Lalonde 39de27a4b2 FIX: top period chooser layout on mobile 2016-08-26 12:39:09 -04:00
Sam 896732975e correct url linked in push notification 2016-08-26 13:45:56 +10:00
Sam ca79c4b276 stop eating up push_urls 2016-08-26 13:23:06 +10:00
Sam a37db9448f correctly return access rights in auth redirect 2016-08-26 13:12:38 +10:00
Sam 4fe52c8cbe FEATURE: backend support for pushing notifications to clients 2016-08-26 12:47:10 +10:00
Sam 2b15919aee missing spot where old api was used 2016-08-26 10:58:34 +10:00
Sam eaf87f0770 FIX: correctly handle api key so it uses current user provider 2016-08-26 10:39:13 +10:00
Matt Palmer 394cd43d77 Scrub only after converting strings to UTF-8
Scrubbing an ASCII-8BIT string isn't ever going to remove anything, because
there's no code point that isn't valid 8-bit ASCII.  Since we'd really
prefer it if everything were UTF-8 anyway, we'll just assume, for now, that
whatever comes out of SimpleRSS is probably UTF-8, and just nuke anything
that isn't a valid UTF-8 codepoint.

Of course, the *real* bug here is that SimpleRSS [unilaterally converts
everything to
ASCII-8BIT](https://github.com/cardmagic/simple-rss/issues/15).  It's
presumably *far* too much to ask that it detects the encoding of the source
RSS feed and marks the parsed strings with the correct encoding...
2016-08-25 16:09:07 +10:00
Arpit Jalan bfefda06f6 FIX: handle embed count when topic not found 2016-08-25 07:12:20 +05:30
Régis Hanol 7d600d9fee FIX: show topic entrance when clicking the # of replies in /categories 2016-08-24 22:25:10 +02:00
Régis Hanol 3e00672c7d FIX: clicking the timestamp next to a feature topics should link to the latest post 2016-08-24 22:07:25 +02:00
Régis Hanol 467564eb82 fix unread/new badge in /categories page 2016-08-24 22:04:30 +02:00
Régis Hanol 4fb47dd749 FIX: tag text was too big in /categories page 2016-08-24 21:50:52 +02:00
Neil Lalonde 50a8eb1810 Merge pull request #4405 from gdpelican/fix/intersection-pagination
FIX: Don't join on tags unnecessarily when matching all tags
2016-08-24 14:45:15 -04:00
Vinoth Kannan fc95764f60 Update search-menu.js.es6 2016-08-24 15:25:51 +05:30
Robin Ward 2cb4cb7b72 FIX: Don't enqueue jobs in a transaction 2016-08-23 16:07:59 -04:00
Neil Lalonde 2f68be2c5c FEATURE: custom html and text can be added to summary emails 2016-08-23 16:06:02 -04:00
Robin Ward c3a3aff120 FEATURE: Support for a whitelist for embeddable host paths 2016-08-23 14:56:12 -04:00
Robin Ward 1468616465 FIX: Support links with google analytics tracking and hashes 2016-08-23 12:13:31 -04:00
Guo Xiang Tan 17f0727b04 FIX: Don't track user profile view when viewed by system user. 2016-08-23 16:25:31 +08:00
Guo Xiang Tan 90571f0364 FIX: Format selection as multiline code only when selection spans multiple lines. 2016-08-23 15:00:16 +08:00
Sam 691f739f11 better error handling
push notifications imply read access, no need for a special permission
2016-08-23 16:48:00 +10:00
Guo Xiang Tan e9927ce5b1 Make eslint happy. 2016-08-23 09:56:24 +08:00
Guo Xiang Tan f32d8e2882 FIX: Code fences shortcut did not insert newlines before and after backticks. 2016-08-23 09:51:01 +08:00
Régis Hanol 2690ef7050 prefix setting with 'desktop_' since it's only used for desktop 2016-08-22 23:43:42 +02:00
Régis Hanol d06e2793aa fix logic for when to include topics in category list 2016-08-22 23:11:08 +02:00
Régis Hanol 9573e28df9 remove unecessary console.logsss 2016-08-22 23:03:40 +02:00
Régis Hanol 4d6028ea2d UX: new 'category_page_style' site setting 2016-08-22 23:01:43 +02:00
Robin Ward b6bcfc0426 FIX: Improper routing of https URLs 2016-08-22 16:45:11 -04:00
Arpit Jalan b4e32f20f2 FIX: disable browser autocomplete for invite modal 2016-08-22 23:20:02 +05:30
Robin Ward 9f4ef6eeb6 Add a decorator for the footer links in the hamburger 2016-08-22 13:21:41 -04:00
Robin Ward 884bdf7240 FEATURE: Ability to scrub titles when importing embeddable content 2016-08-22 12:43:02 -04:00
Régis Hanol ecaa751455 FIX: Use Ember.set to update the site settings via the Message Bus 2016-08-22 12:18:45 +02:00
Arpit Jalan f6bd114b5e FEATURE: fall back to apple_touch_icon_url if default_opengraph_image_url is not present 2016-08-22 15:30:05 +05:30
Arpit Jalan a39929d12e FEATURE: add opengraph and twitter meta tags on every page 2016-08-21 22:08:49 +05:30
Sam 0a1d7896bf Merge pull request #4407 from dtbaker/patch-1
Typo: Unmatched braces }}
2016-08-21 03:22:51 -07:00
Sam 1e9ca3c7c1 need to pass category on mobile as well 2016-08-21 20:21:07 +10:00
Sam c51fec7fda FIX: improve last visited detection
- clear line detection cache on category change
- don't show last visited unless latest / descending
- improve perf of last visited detection algorithm
2016-08-21 17:06:00 +10:00
dtbaker bbb1517d33 Typo: Unmatched braces }}
Just a little typo
2016-08-20 23:55:07 +10:00
Jeff Atwood 03ce370d5e right align category counts 2016-08-19 12:57:07 -07:00
Robin Ward 4061725a95 FIX: Don't ever grant badges when they're disabled 2016-08-19 15:16:37 -04:00
Arpit Jalan a590f35982 FEATURE: allow changing post owners without creating post revision 2016-08-19 23:34:21 +05:30
Neil Lalonde 6356c0555c FIX: topic's best post shouldn't be deleted by the author 2016-08-19 13:19:08 -04:00
Neil Lalonde a1363feec8 FIX: don't show post withdrawn by author in summary emails 2016-08-19 12:11:36 -04:00
Régis Hanol 4960365689 UX: unread/new topic counts under topic counts column in /categories 2016-08-19 18:10:42 +02:00
James Kiesel 386b8b8498 Don't join on tags unnecessarily when matching all tags 2016-08-19 10:37:32 -05:00
Sam 9b1e81cd6d Only display in discovery, correct double highlighting 2016-08-19 12:43:48 +10:00
Sam 11f9a463ac FEATURE: highlight last visited topic in topic list 2016-08-19 11:58:39 +10:00
Régis Hanol eb953c0904 FIX: /categories page on mobile 2016-08-19 01:47:00 +02:00
Neil Lalonde 7195a103ab FEATURE: digests choose topics you're watching or tracking first 2016-08-18 17:16:52 -04:00
Neil Lalonde a644602612 FIX: infinite scrolling of topic list when filtered to one tag 2016-08-18 16:36:30 -04:00
Régis Hanol 96b6d342cc FIX: /categories page issues
FIX: endless spinner when /categories is set to homepage and you click the home logo
FIX: latest column should respect topic state for the current user (new, unread, etc.)
FIX: post count should have heat colors applied based on like ratios
FIX: Add "More" button at the bottom of the latest column
UX: The topic count number in the categories panel should be slightly larger
2016-08-18 19:41:21 +02:00
Robin Ward 78e8aa823d UX: Just show "1m" if less than 1m 2016-08-18 12:47:00 -04:00
Neil Lalonde fb7409f982 FIX: avatar flair position on mobile 2016-08-18 11:18:18 -04:00
Régis Hanol dd3d8d85d3 FIX: proper logic for 'noTitle' param of the number helper 2016-08-17 23:28:29 +02:00
Régis Hanol 6d1d7b7c8f UX: new /categories layout 2016-08-17 23:23:16 +02:00
Neil Lalonde 36f0bd36f4 remove hard-coded avatar url 2016-08-17 16:57:31 -04:00
Neil Lalonde 2654060c14 sanitize flair style 2016-08-17 15:13:15 -04:00
Neil Lalonde d079f69b7b FEATURE: add flair to avatars using new settings in the groups admin UI 2016-08-17 15:13:15 -04:00
Sam 79c1d3459b line was there twice 2016-08-17 17:03:48 +10:00
Sam 91b72936c4 Normalize away a requested push if for some reason we can not push there 2016-08-17 16:44:38 +10:00
Sam b4dfb84f37 PERF: stop doing work for HEAD requests on topics 2016-08-17 10:04:23 +10:00
Sam a25a8115e8 FEATURE: support HEAD request to /user-api-key/new
This allows us to cleanly sniff to find if it exists
2016-08-17 09:58:19 +10:00
Neil Lalonde d29ccb5e48 FIX: navigating from tags intersection route to singular tag route 2016-08-16 14:06:38 -04:00
Neil Lalonde d835326406 FIX: rendering of tags intersection when show_filter_by_tag is off 2016-08-16 14:02:03 -04:00
Robin Ward 53894daae9 FIX: Timeline should not be clickable when hidden 2016-08-16 12:15:10 -04:00
Sam 416e7e0d1e FEATURE: basic UI to view user api keys 2016-08-16 17:06:52 +10:00
Sam b7cea24d76 FEATURE: more user API flow, support key creation 2016-08-16 17:06:52 +10:00
Sam 0b334cdf74 FIX: stop removing query params from destination url in sso 2016-08-16 17:06:52 +10:00
Neil Lalonde 37b68f10ae FIX: hide admin controls on tags intersection page 2016-08-15 16:46:16 -04:00
Neil Lalonde 3b792054f2 Merge pull request #4387 from gdpelican/feature/tags-intersection
FEATURE: Tags intersection page
2016-08-15 16:24:29 -04:00
Neil Lalonde 5849c345cc FEATURE: digest emails will try to choose topics from your tracked and watched categories first 2016-08-15 16:16:04 -04:00
James Kiesel 98d300e79c Fix linting error 2016-08-15 15:45:23 -04:00
James Kiesel 5dd9009718 Clean up additionalTags impl 2016-08-15 15:38:23 -04:00
James Kiesel 037e9bb7b8 Support any number of tag intersections 2016-08-15 15:30:17 -04:00
Robin Ward f60bfe7550 Merge pull request #4389 from gschlager/i18n-patch1
UX: Allow translation of composer icons
2016-08-15 13:38:25 -04:00
Robin Ward 19959c6092 Remove unneccessary `return` 2016-08-15 12:58:16 -04:00
Gerhard Schlager 1042f1a923
UX: Allow translation of composer icons 2016-08-15 18:57:05 +02:00
Robin Ward 4d8584f427 FIX: Support `div dir=` in sanitizer 2016-08-15 11:19:10 -04:00
Arpit Jalan a2220feaea FEATURE: new site setting rebake_old_posts_count 2016-08-15 16:34:13 +05:30
Sam fc095acaaa Feature: User API key support (server side implementation)
- Supports throttled read and write
- No support for push yet, but data is captured about intent
2016-08-15 17:59:36 +10:00
Sam d3c8985030 missing annotation 2016-08-15 17:59:36 +10:00
James Kiesel d3792c0149 Fix linting errors 2016-08-12 16:03:52 -04:00
James Kiesel e14f3c802b Cleanup 2016-08-12 15:56:56 -04:00
James Kiesel 3471499613 Tighten up tags intersection page 2016-08-12 15:51:09 -04:00
Robin Ward aef954784a FIX: `nofollow` was being added during post processing when it shouldn't 2016-08-12 15:35:13 -04:00
James Kiesel 7e73b933c7 First pass 2016-08-12 15:28:46 -04:00
Robin Ward 86c970bac0 FIX: Read FAQ wasn't working with a URL on the same site 2016-08-12 13:47:19 -04:00
Robin Ward 705ab88173 Add a widget setting for the user's avatar size 2016-08-12 11:09:36 -04:00
Régis Hanol 7db2083d45 FIX: 'cancel_scheduled_job' was deleting all jobs in multisite 2016-08-12 13:10:52 +02:00
Sam 7e4503dd99 FEATURE: basic info route for all sites, even ones that require login
This information is public in meta tags already on home page, providing a
route allows consumers to check it way more cheaply
2016-08-12 17:10:35 +10:00
Sam afaba56de3 FEATURE: missing API endpoint for topic tracking states 2016-08-12 17:10:35 +10:00
Robin Ward 8f19f60588 FIX: Broken acceptance test 2016-08-11 15:03:23 -04:00
Robin Ward 6507246e97 UX: Full page search results weren't linked to users 2016-08-11 14:27:19 -04:00
Robin Ward cd371fa20e FIX: When `faq_url` is custom, track the FAQ clicks 2016-08-11 13:43:42 -04:00
Jeff Atwood d065d4186a very minor CSS tweak to badge h3 2016-08-11 10:00:01 -07:00