Commit Graph

10353 Commits

Author SHA1 Message Date
Arpit Jalan
4c967d11b4 FEATURE: log site text changes 2015-12-18 19:42:06 +05:30
Kelle Connolly
a7aeeaffdb Add Discourse.getURL to the url passed into page view events
This means that instances in a subdirectory correctly receive the
subfolder string as a part of the path.
2015-12-18 14:17:51 +11:00
Régis Hanol
1704a362ef FIX: manually blocking/whitelisting an IP address wasn't working 2015-12-17 19:40:50 +01:00
Neil Lalonde
5eff3153e5 FIX: reply as linked topic has [object object] in composer 2015-12-17 12:11:28 -05:00
Sam
c3f08145b8 FIX: Chrome scrolling page up when you expand likes 2015-12-17 16:56:18 +11:00
Sam
8baf5bb40d FIX: not proxying protocol-less urls 2015-12-17 13:21:09 +11:00
Régis Hanol
e53f110c83 Revert "FIX: prevent double notifications when replying to a group message"
This reverts commit e82dc21083.
2015-12-16 22:20:38 +01:00
Neil Lalonde
650c2f271e add classes to topic admin menu so it can be styles with css 2015-12-16 14:08:26 -05:00
Régis Hanol
e82dc21083 FIX: prevent double notifications when replying to a group message 2015-12-16 17:41:54 +01:00
Régis Hanol
f2c58d08c5 Merge pull request #3925 from tgxworld/improve_notification_count
FIX: Update all does not trigger callbacks.
2015-12-16 17:21:36 +01:00
Guo Xiang Tan
cca0896b9e FIX: Update all does not trigger callbacks. 2015-12-17 00:07:04 +08:00
Arpit Jalan
2412542c77 FIX: check post edit/delete permission 2015-12-16 19:16:55 +05:30
Sam
36fa57f145 Use a real placeholder avatar for all bad avatar links 2015-12-16 14:02:09 +11:00
Sam
db7c878f3d correct bad logic 2015-12-16 13:40:34 +11:00
Sam
a0e38a52ed PERF: proxy avatars locally when stored on s3
this avoids a nasty redirect
2015-12-16 13:18:38 +11:00
Régis Hanol
4bb31daa2e FIX: when getting a reply by email, ensure it's by the same user 2015-12-16 00:43:05 +01:00
Neil Lalonde
1e7850fa90 FIX: quote reply to new topic doesn't add quote to composer 2015-12-15 18:08:15 -05:00
Neil Lalonde
2d7c3067ba FIX: automatic redirect after activating account on subfolder installs 2015-12-15 14:46:35 -05:00
Arpit Jalan
42a523a3be UX: show ellipsis for long category names 2015-12-15 18:30:44 +05:30
Sam
2230879a24 Merge pull request #3922 from featheredtoast/username-email-from-field
username as from in emails
2015-12-15 21:23:53 +11:00
Sam Saffron
f97a754b30 Revert "Try adding an ALT tag for avatars" 2015-12-15 19:57:54 +11:00
Sam Saffron
dd6e38133a correct tests and implemenation 2015-12-15 19:46:00 +11:00
Jeff Wong
bffdc5907a username as from in emails
Add a site setting to display name in from header for emails
2015-12-15 00:34:04 -08:00
Sam Saffron
436da215ae FIX: allow .network as a domain name 2015-12-15 18:01:31 +11:00
Sam Saffron
f2bed10087 Try adding an ALT tag for avatars 2015-12-15 18:00:59 +11:00
Régis Hanol
33181c7152 make eslint happy 2015-12-14 23:25:53 +01:00
Régis Hanol
15c229195f FEATURE: notification_level on a per-group basis 2015-12-14 23:17:09 +01:00
Guo Xiang Tan
f60a53762f FIX: Keyboard shortcut to quote reply selecting wrong post. 2015-12-14 20:06:38 +08:00
Sam Saffron
1ff5ed4e08 FIX: don't crash if "latest" poster is missing 2015-12-14 16:22:46 +11:00
Faisal Abbas
6b69d717cc FIX: On clicking edit category button, notification level is set to default
commit message
2015-12-13 22:12:23 +05:00
Guo Xiang Tan
7bf4ebf2f6 FIX: Incorrect key when checking for primary tab. 2015-12-12 11:43:43 +08:00
Robin Ward
f3748ce0a9 Add new outlet for plugin notifications, plus use right alignment 2015-12-11 16:42:21 -05:00
Robin Ward
b2c73e7045 UX: On mobile use a dropdown for topic controls instead of many buttons 2015-12-11 15:09:09 -05:00
Régis Hanol
93d1cc6294 add support for incoming emails in CC/BCC fields 2015-12-10 23:49:16 +01:00
Robin Ward
6c2dee29a8 UX: Upgrade Font Awesome to 4.5.0 2015-12-10 17:19:23 -05:00
Arpit Jalan
e2ea0b629f FIX: Empty parentheses admin settings search 2015-12-10 15:47:10 +05:30
Arpit Jalan
335e797776 FIX: trip password reset username/email 2015-12-10 14:31:42 +05:30
Sam
8cf4d52cb6 FEATURE: split up group PMS on user page 2015-12-10 11:39:33 +11:00
Robin Ward
fe8c74d0b6 FIX: Flag button broken at the bottom of a topic 2015-12-09 17:08:04 -05:00
Régis Hanol
1d70434de5 use light email template for staged users 2015-12-09 19:45:46 +01:00
Régis Hanol
e54837d285 UX: hide group's incoming_email field unless 'email_in' is enabled 2015-12-09 12:10:46 +01:00
Arpit Jalan
94d7908311 UX: dropdowns overlay the header 2015-12-09 11:03:19 +05:30
Sam
564eada45a PERF: limit number of user actions retrieved to a saner page size 2015-12-09 16:23:15 +11:00
Robin Ward
d22a479c61 FIX: Error filtering for overidden values with no query 2015-12-08 12:49:37 -05:00
Arpit Jalan
e52852dd0f FIX: Autoclose message was not correct when immediate
FEATURE: Warn when setting auto-close for right now
2015-12-08 18:16:48 +05:30
Régis Hanol
b09ee9cb82 FIX: don't show members of a group in the user summary 2015-12-08 11:55:34 +01:00
Régis Hanol
3aa5129f54 FEATURE: allow group members to see all messages on group page 2015-12-07 23:19:33 +01:00
Robin Ward
b781b6aea3 Add header_instructions overridable translation for email headers. 2015-12-07 16:52:33 -05:00
Robin Ward
467485cf47 FIX: Don't show placeholder when triggering one post 2015-12-07 14:21:07 -05:00
Robin Ward
8f1937e88f Clean up PostsWithPlaceholders 2015-12-07 14:21:07 -05:00
Robin Ward
5f995323e1 FIX: Hairline should extend the full width when preview is hidden 2015-12-07 12:51:58 -05:00
Régis Hanol
a37d575d7d FEATURE: new 'My Groups' messages filter in user page 2015-12-07 18:37:03 +01:00
Régis Hanol
1cde276656 FEATURE: ability to send emails to a group 2015-12-07 17:01:08 +01:00
Régis Hanol
f3c4ed706f Merge pull request #3914 from tgxworld/allow_/_autocomplete
FIX: Allow '/' to trigger autocomplete.
2015-12-07 15:04:26 +01:00
Guo Xiang Tan
b6eb8f7793 FIX: Wrong period for quarterly reports. 2015-12-07 21:04:34 +08:00
Guo Xiang Tan
8dbf1e457b FIX: Allow '/' to trigger autocomplete. 2015-12-07 20:22:14 +08:00
Régis Hanol
578f606a1a add 'incoming_email' to groups 2015-12-07 12:39:28 +01:00
Sam
fa6687841f remove leftover code 2015-12-07 20:17:05 +11:00
Sam
8d49091572 PERF: stop running VACUUM FULL only run VACUUM 2015-12-07 20:14:26 +11:00
Guo Xiang Tan
8b6b3cf858 FIX: Admin logging should not log permissions if none has been set. 2015-12-06 15:29:13 +08:00
Arpit Jalan
ad98f270c9 FIX: preserve redirect URL when logging in via social logins 2015-12-05 15:08:42 +05:30
Sam
c82b33600a FIX: serialize current user fields in standard user serializer 2015-12-05 17:50:03 +11:00
Robin Ward
d97b2382e6 Don't show placeholders on Android 2015-12-04 17:19:54 -05:00
Neil Lalonde
aa54006ad5 add div under poster avatar so people can add badges without a plugin 2015-12-04 16:49:08 -05:00
Robin Ward
420e362bdb FIX: Issues with summaries and our Array 2015-12-04 16:36:16 -05:00
Robin Ward
63ba6c78af FIX: Jump to previously loaded post was broken 2015-12-04 16:20:43 -05:00
Robin Ward
6d38640645 FIX: Remove console.log 2015-12-04 16:00:47 -05:00
Robin Ward
255a5be015 Revert "Cleaner implementation of postsWithPlaceholders and more tests."
This reverts commit 4c0670a109.
2015-12-04 15:59:46 -05:00
Robin Ward
a51c91ac05 Revert "FIX: Errors with summary views and placeholders"
This reverts commit 5be3bf80eb.
2015-12-04 15:59:39 -05:00
Robin Ward
5be3bf80eb FIX: Errors with summary views and placeholders 2015-12-04 15:10:13 -05:00
Robin Ward
4c0670a109 Cleaner implementation of postsWithPlaceholders and more tests. 2015-12-04 15:10:13 -05:00
Robin Ward
80bdc7333c UX: Show category description beside logo 2015-12-04 12:36:09 -05:00
Robin Ward
83be335c54 FIX: Firefox wasn't focusing on d-editor 2015-12-04 12:13:50 -05:00
Robin Ward
40c8d39137 FEATURE: Reply Placeholders in Stream 2015-12-04 10:02:58 -05:00
Robin Ward
1987a35daf Update postream to use ES2015 syntax and decorators 2015-12-04 10:02:46 -05:00
Robin Ward
949f51ffe0 Remove ajax stubbing from post-stream tests 2015-12-04 10:02:37 -05:00
Arpit Jalan
dd8b773059 UX: use pastel blue background for topic education pop-ups 2015-12-04 09:19:55 +05:30
Sam
7917316f6f FEATURE: display warning on top of composer for group mentions
If users attempt to mention a group that is "mentionable" display a warning
informing them that people will be notified.
2015-12-04 13:41:07 +11:00
Neil Lalonde
1b510447db FIX: chrome 47 started showing square outline around avatar on user cards 2015-12-03 10:34:11 -05:00
Sam
7f60693b46 add missing filter 2015-12-02 16:16:19 +11:00
Sam
9899e8d4a5 FEATURE: First class messages to groups, you can select a group as a target of a message 2015-12-02 15:49:43 +11:00
Sam
fbffe28772 es6 migration and fixes 2015-12-02 11:15:22 +11:00
Neil Lalonde
ddd4500d7a FIX: admin reports were broken 2015-12-01 18:31:30 -05:00
James Kiesel
71d7a96fd1 Allow compat with ActionSummary for topic model 2015-12-01 22:07:52 +08:00
Sam
d1a5d8ea62 FEATURE: show group mentions and topics in groups page 2015-12-01 16:52:43 +11:00
Sam
1f7c03df5c FIX: missing email notifications for group mentions 2015-12-01 12:12:55 +11:00
Robin Ward
b0b85725ad If a search for a translation is exactly the value, prioritize it 2015-11-30 15:31:30 -05:00
Robin Ward
de88be2fbc Support for "Only show overridden" in site text customization 2015-11-30 15:25:08 -05:00
Arpit Jalan
fc57fa70f9 UX: load onebox CSS at the end for embed stylesheet 2015-11-30 14:17:49 +05:30
Sam
f6390c8ad6 correct bad merge 2015-11-30 17:12:51 +11:00
Sam
ad3dd161e7 FEATURE: first class group mentions built in
If you allow a group to be mentioned it can be mentioned with the @ symbol.

Keep in mind as a safety mechanism max_users_notified_per_group_mention is set to 100
2015-11-30 17:08:43 +11:00
Arpit Jalan
86374c90de FIX: if the email template has multiple subjects, link to customize text page 2015-11-28 11:50:02 +05:30
Robin Ward
222fd00724 FIX: Another missing translation replacement 2015-11-27 17:41:03 -05:00
Neil Lalonde
84342ecdef FIX: anonymized user's preferences should have system assigned avatar chosen 2015-11-27 14:37:30 -05:00
Arpit Jalan
4bc6cfd718 FIX: admin email customization editor should not have bold text 2015-11-28 00:46:14 +05:30
Régis Hanol
16b3d26d7b allow staff members to view staged accounts user card/profile 2015-11-27 20:02:24 +01:00
Robin Ward
8c48c12498 FIX: Inserting link wouldn't clear the text field sometimes 2015-11-27 13:32:11 -05:00
Régis Hanol
914b854d92 send invite & message notification emails immediately 2015-11-27 19:09:35 +01:00
Régis Hanol
08cd17b4cf remove deprecation warning in admin/user-index template 2015-11-27 18:58:40 +01:00
Robin Ward
c2241ed368 FIX: "Saved!" wasn't resetting when viewing a different email template 2015-11-27 12:51:50 -05:00
Robin Ward
82ef27bb79 FIX: Category not updating below suggested topics 2015-11-27 12:42:32 -05:00
Robin Ward
5a15c4997c Let's be honest: we skip focus for iOS, not touch in general. 2015-11-27 12:23:51 -05:00
Régis Hanol
76692235ae FIX: don't ever fetch staged accounts in unseen mentions 2015-11-27 18:16:50 +01:00
Robin Ward
5e93140f85 FEATURE: Can override any translation via an admin interface 2015-11-27 11:35:19 -05:00
Arpit Jalan
6354324f2f FIX: validate automatic membership email domains 2015-11-27 12:35:33 +05:30
Sam
55b6f1aaa0 more fields needed flagging as HTML fields 2015-11-27 12:22:54 +11:00
Sam
43d63367fd PERF: stop loading handlebars and ember compilers in prod
(this removes a nice 50K from our initial payload and saves memory)

Also fixes invalid HTML automatically if added to HEAD or /BODY
2015-11-27 11:59:01 +11:00
Régis Hanol
c8c6034a7a missed the CategoryList constant 2015-11-26 23:44:15 +01:00
Neil Lalonde
4a25d55e9f FIX: validate email address in signup form even for 3rd party auths 2015-11-26 15:44:30 -05:00
Régis Hanol
ba0df7e4cd rename 'is_support' to 'contains_messages' 2015-11-26 18:40:54 +01:00
Régis Hanol
e8a6ff4808 prevent users from ever changing the category of a topic in a support category 2015-11-26 18:31:24 +01:00
Régis Hanol
578e15224b UX: hide support categories from selectors 2015-11-26 18:31:24 +01:00
Régis Hanol
9ef8397164 new Category.is_support attribute 2015-11-26 18:31:24 +01:00
Régis Hanol
0d54c18c8b new hidden 'allow_staged_accounts' setting 2015-11-26 18:31:23 +01:00
Régis Hanol
09bfe49254 FIX: don't automagically downsize uploaded images that are larger than 10MB
FIX: don't optimize GIFs since ImageOption was disabled for GIFs (too slow)
2015-11-26 18:16:47 +01:00
Sam
d6932e4ac4 add missing include 2015-11-25 22:47:50 +11:00
Arpit Jalan
3eb0288adb UX: reviving old topic popup should not have red warning background 2015-11-25 16:31:17 +05:30
Arpit Jalan
2eba00a326 FIX: user archive url field should have absolute URLs 2015-11-25 15:13:15 +05:30
Sam
cb05b44ee6 move template compiler into vendor for now
in future we want to remove it and only include handlebars runtime
2015-11-25 15:54:54 +11:00
Sam
d6c925600f temporarily add back compiler while figuring out a better system 2015-11-25 15:11:57 +11:00
Sam
d41a8a21cc FIX: show letter avatars even if NGINX is not running in Dev mode 2015-11-25 14:42:46 +11:00
Sam
c2a9b4aa18 PERF: attempt to omit template compiler in prd 2015-11-25 13:56:48 +11:00
Sam
24be285bf2 PERF: add one more asset for ember and jQuery
at the moment Ember initialization is a bottleneck, to minimize impact
on initial load we download an evaluate it as early as possible
2015-11-25 13:17:57 +11:00
Robin Ward
434deb1bd3 SECURITY: Backported XSS fixes from Handlebars 2015-11-24 16:08:08 -05:00
Robin Ward
49bda0b17d FIX: Improve windows double clicking on words in editor 2015-11-24 13:42:22 -05:00
Arpit Jalan
99c1aa2e85 optimize OpenComposer Mixin 2015-11-24 23:39:19 +05:30
Robin Ward
c76caca109 FIX: Perform the same operation on multilines in d-editor 2015-11-24 13:03:37 -05:00
Arpit Jalan
cbdc613177 fix js tests 2015-11-24 19:08:54 +05:30
Arpit Jalan
362c515f33 FEATURE: compose a new pre-filled message via URL 2015-11-24 18:55:45 +05:30
Robin Ward
e573ea29f3 FIX: Pasting images was broken in Firefox 2015-11-23 12:34:49 -05:00
Neil Lalonde
4a49fbf44c UX: after successfully submitting the forgot password form, show a new modal with a message and OK button 2015-11-23 11:21:11 -05:00
Arpit Jalan
fa83e717f7 UX: better flag modal on mobile 2015-11-23 21:10:58 +05:30
Régis Hanol
72fe3e19f4 UX: username should always be case sensitive in user card 2015-11-23 15:57:10 +01:00
Régis Hanol
753f4d1b7b FIX: redirect to forum home page when impersonating 2015-11-23 15:44:44 +01:00
Régis Hanol
4fe1a13bae FIX: multiple file uploads wasn't working due to composer upgrade 2015-11-23 11:30:26 +01:00
Régis Hanol
bec1606328 Merge pull request #3858 from tgxworld/exclude_letter_character_class
UX: Trigger autocompleter only for specific characters.
2015-11-23 10:08:19 +01:00
Arpit Jalan
db2799507b FIX: admin trust level user list URL should be consistent with new naming 2015-11-23 14:28:56 +05:30
Guo Xiang Tan
f835a0ba22 UX: Trigger autocompleter only for specific characters. 2015-11-23 16:33:47 +08:00
Guo Xiang Tan
8d1636db2b FIX: Keyboard shortcut to quote reply. 2015-11-23 15:58:54 +08:00
Arpit Jalan
3053d48671 FIX: Safari on iOS 9 hangs after logging in 2015-11-22 18:02:40 +05:30
Sam
c70bb0c032 we got to clean up js debugging, its busting caching. 2015-11-22 01:20:39 +11:00
Sam
7038d5f1c4 PERF: cache information about missing view classes. 2015-11-21 23:40:37 +11:00
Arpit Jalan
d75ea1a0ea FIX: remove forgot-password link for SSO enabled instances 2015-11-21 17:49:58 +05:30
Sam
3fa8329068 correct require 2015-11-21 14:03:53 +11:00
Sam
5c899c765b Revert "Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS""
This reverts commit c21457d6a7.
2015-11-21 12:27:06 +11:00
Robin Ward
d8734fc542 Fix eslint 2015-11-20 17:16:44 -05:00
Robin Ward
1506eba28d Support for overriding client side translation keys 2015-11-20 17:14:01 -05:00
Neil Lalonde
523138f1fd FEATURE: add setting pending_users_reminder_delay to configure when to send reminders to moderators about user approvals based on how long new users have been waiting 2015-11-20 16:06:07 -05:00
Neil Lalonde
5597957cc6 FIX: don't send repeat notifications to moderators about the same pending approval users 2015-11-20 16:06:07 -05:00
Arpit Jalan
e25ee74209 FIX: handle topic/post creation when the language highlighting is turned off 2015-11-21 02:10:54 +05:30