Commit graph

11472 commits

Author SHA1 Message Date
Sam
089b1d164c annotate models
(reminder run RAILS_ENV=test bin/annotate once in a while)
2016-05-30 10:45:32 +10:00
Arpit Jalan
e922db82fb disable username autocomplete on Sign Up modal 2016-05-29 00:49:40 +05:30
Jeff Atwood
817df3e3a0 Merge pull request #4175 from danielhers/user-search-non-whitespace
Allow any username character in user search
2016-05-28 01:58:23 -07:00
Jeff Atwood
d4b6aaaf71 Merge pull request #4223 from scossar/fix-catetory-menu-box-style
FIX: Box style category dropdown forces scrollbar on Chrome
2016-05-28 01:53:24 -07:00
Guo Xiang Tan
eb21ed7fcf
Allow options to be cleared. 2016-05-27 14:34:44 +08:00
Sam
8c3a0b44ba FIX: restore "every email" default for old accounts in mailing list mode
- Change default for mailing list mode frequency to daily
- Remove bootbox warning for mailing list mode (cause default is daily)
2016-05-27 12:07:10 +10:00
Neil Lalonde
3d5716a2c8 FIX: tag input doesn't show staff-only tags to non-staff 2016-05-26 18:03:50 -04:00
Neil Lalonde
f13470b96b Use db schema for tags instead of plugin store and custom fields 2016-05-26 14:29:48 -04:00
James Kiesel
51dbb966de Don't display activity summary in two places (#4239)
* Don't display activity summary in two places

* Re-add tl0 user digest option
2016-05-26 18:33:49 +02:00
Jeff Atwood
c1b3912c36 one more embed CSS tweak 2016-05-26 01:16:37 -07:00
Jeff Atwood
a53b6d1d1b clean up some embed CSS oddities 2016-05-26 01:08:48 -07:00
Jeff Atwood
a7b994160a switch to plain X for close in a few places 2016-05-25 15:32:23 -07:00
Régis Hanol
28c3e890ca FIX: changing mailing list mode frequency wasn't saved 2016-05-25 22:40:28 +02:00
Régis Hanol
86d50d0017 PERF: stream CSV exports so they don't fail when they are too big 2016-05-25 22:20:35 +02:00
Neil Lalonde
a4cd068481 FEATURE: add caps to trust level 3 requirements for posts read and topics viewed, configurable in settings 2016-05-25 14:55:49 -04:00
Arpit Jalan
cf97efb643 make the text field autofocus on admin-login page 2016-05-25 23:41:07 +05:30
Arpit Jalan
58ceecd47b FIX: support 10 characters tld for user profile website 2016-05-25 22:32:57 +05:30
Guo Xiang Tan
2dcabd4762 Merge pull request #4229 from tgxworld/uncaught_error_warning
FIX: Don't throw uncaught error warning when in readonly mode.
2016-05-25 23:09:51 +08:00
Sam
a19e43fd3b enough with the malloc limit, not needed 2016-05-25 21:09:07 +10:00
Neil Lalonde
2293fca012 FEATURE: after category name is changed, URLs with old category slug and tag filter will redirect to new category slug 2016-05-24 16:16:32 -04:00
Jeff Atwood
547abda6d6 add higher res favicons for onebox 2016-05-24 12:10:29 -07:00
Robin Ward
a38050a272
FIX: Only delete featured topics if the status changes to a hidden one 2016-05-24 14:27:48 -04:00
Neil Lalonde
d804b47725 FIX: tags input is too wide when editing a topic 2016-05-24 11:58:18 -04:00
Arpit Jalan
0646034397 FIX: respect mailing list confirmation dialog response 2016-05-24 19:46:40 +05:30
Régis Hanol
7beea0493e add icon next to bounced emails in the sent email logs 2016-05-23 22:50:18 +02:00
Régis Hanol
b7e29eebe5 hide bounces in rejected email logs 2016-05-23 21:42:07 +02:00
Régis Hanol
32d253d484 remove 'crop_tall_images' site setting but keep the behavior 2016-05-23 16:42:19 +02:00
Régis Hanol
667dd54a23 FEATURE: new 'crop_tall_images' site setting 2016-05-23 16:18:30 +02:00
Jeff Atwood
a367262125 UX: simpler "white box" for oneboxes 2016-05-23 05:02:24 -07:00
Jeff Atwood
b6db022051 de-emphasize notification state text slightly 2016-05-23 03:36:26 -07:00
Sam
695773db1c FEATURE: upgrade from therubyracer to mini_racer
This pushes our internal V8 JavaScript engine from Chrome 32 to 50.

It also resolves some long standing issues we had with the old wrapper.
2016-05-23 09:57:15 +10:00
Arpit Jalan
f387dfe226 FIX: mixed case group mentions were not getting highligted in composer 2016-05-22 18:32:49 +05:30
Steve Kemp
8f8ad3fe4a Allow an (optional) post-creation time to be submitted. (#4205)
* Allow an (optional) post-creation time to be submitted.

This should allow a new post to be created with an initial
date/time specified by the caller, which will be useful for
people writing importers..

* Only allow `created_at` to be submitted via the API.

This addresses the previous concern.
2016-05-22 10:54:03 +02:00
Régis Hanol
c012b18601 FIX: sending email wasn't working anymore when a plugin used 'reduce_cooked' (cc @gdpelican) 2016-05-21 20:13:00 +02:00
James Kiesel
feffe23cc5 FEATURE: More granular mailing list mode (#4068)
* Rearrange frontend to account for mailing list mode

* Allow update of user preference for mailing list frequency

* Add mailing list frequency estimate

* Simplify frequency estimate; disable activity summary for mailing list mode

* Remove combined updates

* Add specs for enqueue mailing list mode job

* Write mailing list method for mailer

* Fix linting error

* Account for stale topics

* Add translations for default mailing list setting

* One query for mailing list topics

* Fix failing spec

* WIP

* Flesh out html template

* First pass at text-based mailing list summary

* Add user avatar

* Properly format posts for mailing list

* Move make_all_links_absolute into Email::Styles

* Apply first_seen_at to user

* Send mailing list email summary hourly based on first_seen_at

* Branch and test cleanup

* Use existing mailing list mode estimate

* Fix failing specs
2016-05-21 15:17:54 +02:00
Arpit Jalan
e2df79ee9e FIX: handle posts with no user on needs approval page 2016-05-20 15:44:19 +05:30
Régis Hanol
c4f93846f9 add linebreaks when uploading a file 2016-05-20 11:35:47 +02:00
Guo Xiang Tan
0634834009 Some fixes related to optimized images (#4233)
* FIX: No need to manually include relation.

* FIX: OR instead of chaining relation.
2016-05-20 09:12:25 +02:00
Régis Hanol
2c2c47fe4e add support for 'command + up/down' to go to first/last post 2016-05-19 22:16:23 +02:00
Régis Hanol
29d3af0a3b UX: fix the font-size of the messages in the active flags list 2016-05-18 23:34:06 +02:00
Régis Hanol
8a04b78909 add a link to bounce emails list in user admin profile 2016-05-18 22:38:35 +02:00
Régis Hanol
d43231da92 FIX: force date-picker to work with english locale 2016-05-18 20:58:33 +02:00
Régis Hanol
d6ab54378c FIX: screened IP addresses list wasn't working anymore - TAKE 2 2016-05-18 19:27:39 +02:00
Arpit Jalan
cde49ba83c UX: change textarea background color based on theme on mobile 2016-05-18 13:41:19 +05:30
Guo Xiang Tan
5ee9b3cd19
FIX: Don't throw uncaught error warning when in readonly mode. 2016-05-18 10:33:21 +08:00
Jeff Atwood
67a137b03c switch to fa-times close on education panels 2016-05-17 16:16:39 -07:00
Guo Xiang Tan
b68860ee28 FIX: Do not send email when user of the post has been deleted. (#4228) 2016-05-17 17:42:15 +02:00
Régis Hanol
94a10516e9 FIX: screened IP addresses list wasn't working anymore 2016-05-17 09:43:55 +02:00
Sam
b04ab83f12 FIX: refresh automatic group if SSO specifies admin/mod 2016-05-17 17:31:34 +10:00
Guo Xiang Tan
dd0260e435
Improve example for addStorePluralization. 2016-05-17 11:23:32 +08:00
Sam Saffron
ce5867cce2 workaround issue where orphan user_avatar record exists 2016-05-17 09:40:17 +10:00
Sam Saffron
54cfba56dc FIX: handle missing user for posts 2016-05-17 09:35:30 +10:00
Régis Hanol
3df8f184c3 FEATURE: clean up 1 year old and unused staged users 2016-05-16 22:13:23 +02:00
Robin Ward
973f4ee699
FIX: Not passing correct title through to share 2016-05-16 11:18:05 -04:00
Guo Xiang Tan
4f671724cc Add store addPluralization to plugin-api. (#4224) 2016-05-16 11:11:15 -04:00
Guo Xiang Tan
8c9de2198d Merge pull request #4225 from tgxworld/fix_a_gazillion_tag_custom_fields
FIX: Ensure unique fields in `TopicList.preloaded_custom_fields`.
2016-05-16 18:05:40 +08:00
Guo Xiang Tan
96f07053b2
FIX: Ensure unique fields in TopicList.preloaded_custom_fields. 2016-05-16 17:56:00 +08:00
Régis Hanol
21ce674546 fix translation when receiving a bounce or an auto-reply 2016-05-16 08:42:30 +02:00
Simon Cossar
6077ac013b FIX[WIP]: return correct path for uploads stored on s3 (#4222)
* return correct path for uploads stored on s3

* rename method
2016-05-16 08:12:05 +02:00
scossar
7811213ff9 vertical-align text-top 2016-05-15 16:01:13 -07:00
Régis Hanol
6137bb46d3 FIX: a User is *not* a Topic 2016-05-14 10:06:29 +02:00
Arpit Jalan
ece8083ab1 UX: make clickable alert info use dark blue on blue on mobile 2016-05-14 10:24:38 +05:30
Régis Hanol
5a75972b0b SECURITY: 2 XSSs in post gutter and local oneboxes 2016-05-14 00:37:47 +02:00
Jeff Atwood
d7d8df7d3a UX: remove border under mobile time gap too 2016-05-13 02:45:34 -07:00
Sam
b35682112b UX: don't change color of number in badge on hover 2016-05-13 18:47:40 +10:00
Sam
398f10bf4f UX: darken timegap 2016-05-13 18:40:44 +10:00
Jeff Atwood
ae52f445c9 UX: de-emphasize time gaps a bit 2016-05-12 16:13:30 -07:00
Arpit Jalan
6d2b85d5e5 FIX: topic footer flag button was broken 2016-05-12 23:21:28 +05:30
Arpit Jalan
21279c7fb9 FIX: modal was not opening after navigating back in browser (#4218) 2016-05-12 11:03:59 -04:00
Jeff Atwood
443e0a77d8 topic state post alignment tweaks 2016-05-12 02:56:30 -07:00
Jeff Atwood
90e1a0bc34 let's try no glyph (fw = fixed width) for time gaps 2016-05-12 02:19:27 -07:00
Jeff Atwood
628773258e Merge pull request #4221 from DeanMarkTaylor/patch-4
FEATURE: Support multiple file selection on mobile
2016-05-11 15:12:49 -07:00
Robin Ward
f401d8d7de
FIX: undefined text on user profile 2016-05-11 16:25:43 -04:00
Robin Ward
c06a6a96cc
FEATURE: Embed images in tweets with dimensions, if present 2016-05-11 16:11:26 -04:00
Robin Ward
47720ba1ca
UX: Clicking a participant in the topic map should just show the card 2016-05-11 15:09:36 -04:00
Robin Ward
7c0fb41ec0
Deprecation: Use Ember.Helper for later versions of Ember 2016-05-11 14:26:09 -04:00
Robin Ward
b3c24e50e3
Deprecations: More {{#each x in y}} templates 2016-05-11 14:26:08 -04:00
Robin Ward
b2bcefd906
Deprecation: Removes more references to view.xyz in templates 2016-05-11 14:26:08 -04:00
Robin Ward
995c01fb58
Deprecation: Remove controller from templates 2016-05-11 14:26:08 -04:00
Robin Ward
c7beecd8e3
Deprecation: somethingBinding is deprecated in newer embers 2016-05-11 14:26:07 -04:00
Robin Ward
e3f016a79b
Deprecations: A couple more {{#each x in y}} 2016-05-11 14:26:07 -04:00
Robin Ward
da5e7c7383
Deprecations: {{bind-attr}} is deprecated 2016-05-11 14:26:06 -04:00
Robin Ward
c15ade8a88
Deprecation: {{view}} helper 2016-05-11 14:26:06 -04:00
Dean Taylor
17e0f450e9 FEATURE: Support multiple file selection on mobile 2016-05-11 19:21:33 +01:00
Robin Ward
e831203897
FIX: Widgets should support links to foreign hosts 2016-05-11 12:02:10 -04:00
cpradio
a79c683c5f FIX: Add the horizontal rule back to the flag modal dialog 2016-05-10 20:15:55 -04:00
Robin Ward
9e3b96c8e4
Support for adding extra links to the hamburger general area 2016-05-10 16:15:38 -04:00
Robin Ward
4875fe1c3e
FIX: Logo links to a different domain were broken 2016-05-10 10:42:16 -04:00
Robin Ward
85e98eeb59
FIX: Accidentally comitted more than I wanted to 2016-05-09 17:07:31 -04:00
Robin Ward
3d392670a7
FIX: ES5 file shouldn't have const in it 2016-05-09 17:05:07 -04:00
Régis Hanol
d224966a0e FIX: retry sending an email in 1 hour when SMTP server is busy 2016-05-09 20:37:33 +02:00
Robin Ward
29b94b5ad3
FIX: If you ctrl+f twice, it should show the browser version 2016-05-09 12:06:14 -04:00
Neil Lalonde
bc0b487cd7 FIX: the tags_sort_alphabetically setting applies to the tags list page too 2016-05-09 11:47:30 -04:00
Régis Hanol
03605f1b01 hide bookmarks count in user summary except for yourself 2016-05-09 15:51:43 +02:00
Guo Xiang Tan
3353b119ab
FIX: Notifications do not fade after marking all as read. 2016-05-09 17:02:44 +08:00
Arpit Jalan
b4a8cb415e FIX: remove category filter from page view reports 2016-05-09 13:16:09 +05:30
William Herry
1883fa205c fix setting page input and select width inconsist issue (#4216) 2016-05-09 08:37:51 +02:00
Robin Ward
9741584ae8
FIX: Hide invite button on mobile 2016-05-06 17:21:06 -04:00
Régis Hanol
1e57bbf5c8 Lots bounce emails related fixes
- Show bounce score on user admin page
- Added reset bounce score button on user admin page
- Only whitelisted email types are sent to emails with high bounce score
- FIX: properly detect bounces even when there is no TO: header in the email
- Don't desactivate a user when reaching the bounce threshold
2016-05-06 19:34:33 +02:00
Robin Ward
f9fe9ac3ed
FIX: Build dynamic category / tag routes 2016-05-06 11:54:29 -04:00
Robin Ward
2d2bf4dd56
FIX: Keyboard controls were broken at the bottom of topics 2016-05-06 11:11:14 -04:00
Damien Caselli
b90159b11d FIX: tag topic list header href leading to 404 2016-05-06 11:13:06 +02:00
Neil Lalonde
1d9e175bc2 MigrateUploadScheme should use execute_onceoff 2016-05-05 16:04:24 -04:00
Robin Ward
89e506551a
Add body class to account-created route 2016-05-05 14:37:09 -04:00
Robin Ward
0fcfc6bed9
Add acceptance tests for all mobile templates 2016-05-05 12:49:12 -04:00
Robin Ward
34670c2c4f
FIX: Raw mobile view broken 2016-05-04 18:13:18 -04:00
Robin Ward
3220f9e3cc
FIX: ESLint 2016-05-04 17:20:36 -04:00
Robin Ward
148c4da23d
FIX: Server side missing jQuery 2016-05-04 17:01:13 -04:00
Régis Hanol
c775ea7b5e add 'Most Liked' and 'Most Replied To' columns in user summary 2016-05-04 22:48:30 +02:00
Robin Ward
b1c4c8a5d0
Deprecation: replace itemController with components 2016-05-04 16:18:22 -04:00
Robin Ward
4e5831c43f
Deprecation: Remove {{each itemView=}} 2016-05-04 16:18:15 -04:00
Robin Ward
9ea32bf7d8
Deprecation: Change {{#each x in y}} to {{#each y as |x|}} 2016-05-04 16:18:09 -04:00
Arpit Jalan
acbec76411 FIX: use site default locale for flag title and body 2016-05-05 00:20:06 +05:30
Arpit Jalan
b25d950d99 FEATURE: allow moderators to convert a private message to public topic or vice versa 2016-05-04 22:47:32 +05:30
Robin Ward
2950a82a7d
FIX: showFlags was not triggered correctly by the keyboard shortcut 2016-05-04 12:03:20 -04:00
Arpit Jalan
9427e0c732 FIX: bootstrap mode should not amend setting that is not in default state 2016-05-04 16:46:46 +05:30
Neil Lalonde
5576c8efca FIX: banner topics show on tags list and tagged topic list pages 2016-05-03 16:15:57 -04:00
Neil Lalonde
c1aded8b64 FIX: crawler view of tags index page 2016-05-03 16:10:12 -04:00
Neil Lalonde
f072cb404e FIX: add a title to the tags index page 2016-05-03 16:10:12 -04:00
Arpit Jalan
82daf93eb3 Merge pull request #4206 from techAPJ/convert-topic
FEATURE: move a topic from PM to regular topic or vice versa
2016-05-04 01:33:15 +05:30
Régis Hanol
df14926e42 SECURITY: check magic bytes before using ImageMagick tools 2016-05-03 21:54:07 +02:00
Robin Ward
664f1913c8
FIX: Don't include hidden posts in embedded comments 2016-05-03 15:01:20 -04:00
Robin Ward
2cc6efba8c
FIX: Featuring topics wasn't happy with concurrency. 2016-05-03 14:24:50 -04:00
Arpit Jalan
26964a72ca FIX: editing user title was deleting location 2016-05-03 22:25:43 +05:30
Régis Hanol
ad15049ef0 FIX: don't track clicks on links in quotes 2016-05-03 18:47:01 +02:00
Arpit Jalan
c069488560 FIX: moderator_action posts should be suppressed from digests 2016-05-03 16:43:21 +05:30
Arpit Jalan
706ea28ef9 FIX: prepend 'continue discussion' link to topic template 2016-05-03 15:01:02 +05:30
Régis Hanol
8e611ec7a1 FEATURE: handle bounced emails 2016-05-02 23:15:32 +02:00
cpradio
b7b5caa50e FEATURE: Apply external window setting to Revision History (#4207) 2016-05-02 14:48:34 -04:00
Arpit Jalan
acfb540952 FEATURE: move a topic from PM to regular topic or vice versa 2016-05-02 21:34:05 +05:30
Robin Ward
cf7b08d034
FIX: Middle clicking on search should open it in a new tab 2016-05-02 11:50:40 -04:00
cpradio
5c583ff5bb FEATURE: Extend clicking tracking to the user profile page. (#4203)
* Extend clicking tracking to the user profile page.
Added qunit tests
Fixed click-track-test so it uses the correct data attribute for topic_id in its fixture

* Added a second excerpt to verify test pulls from the appropriate one.
2016-05-02 11:43:58 -04:00
Régis Hanol
e2928f78d2 FIX: don't show top links from private categories in user summary 2016-05-02 15:26:23 +02:00
Sam
4141cfc716 FIX: tags show page was broken 2016-05-02 12:56:02 +10:00
Sam
a5b0445e02 FIX: never perform searches that bypass validation
we must perform another isValidSearchTerm check when we are about to
perform search cause the call is debounced
2016-05-02 11:53:47 +10:00
Sam
ad2a3ec5bc FIX: don't log user action if no user exists for topic 2016-05-02 11:14:37 +10:00
Arpit Jalan
b1d6e2307f FIX: do not track mailto links 2016-04-30 15:40:19 +05:30
Robin Ward
1a3b63e07d
createWithMixins is deprecated. 2016-04-29 16:50:52 -04:00
Robin Ward
a50edb87ec
FIX: Some notifications were not clearing properly. 2016-04-29 16:42:04 -04:00
Robin Ward
1ac6dd194d
Allow the href setting to be a function. 2016-04-29 13:27:17 -04:00
Robin Ward
2cf4107a67
FIX: Safari icon positioning 2016-04-29 11:44:11 -04:00
Arpit Jalan
a544990f81 FIX: users on ie/safari were unable to disable mailing list mode 2016-04-29 15:17:53 +05:30
Arpit Jalan
0adaa8d362 FIX: topic list scrolling was broken on mobile 2016-04-29 11:42:01 +05:30
Robin Ward
6451eb7637
.@each on leafs is deprecated in favor of .[] 2016-04-28 16:49:24 -04:00
Robin Ward
400c061046
Ember.keys is deprected in favor of Object.keys 2016-04-28 16:37:20 -04:00
Robin Ward
187d7d6f96
Remove more views and deprecations. 2016-04-28 16:17:18 -04:00
Robin Ward
04ec679d82
Fixes some deprecations:
- LoadMore as a Mixin for discovery, groups
- Removed Views for discovery, groups
2016-04-28 15:25:45 -04:00
Arpit Jalan
2a2b0d7803 FIX: do not raise error if tertiary color not found while sending digests 2016-04-28 22:03:28 +05:30
Robin Ward
d89fb6e83e
Better warning message if defaultState is used improperly 2016-04-27 15:06:55 -04:00
Robin Ward
55ba81494f
FIX: Allow 👍 and 👎 to work even though not in emoji.json 2016-04-27 14:56:23 -04:00