Commit graph

11548 commits

Author SHA1 Message Date
Robin Ward
09e991b3c3
FIX: Bad HTML escaping in widget 2016-05-31 17:08:05 -04:00
Robin Ward
70df75c381
UX: Show the progress widget when the composer is expanded 2016-05-31 16:55:56 -04:00
Robin Ward
27b499f4dd
UX: Move the timeline up higher on the page 2016-05-31 16:30:45 -04:00
Robin Ward
2d47f144f5
Deduplicate some code for the notifications drop down 2016-05-31 15:57:40 -04:00
Robin Ward
447c16800b
UX: Add tooltip text for the timeline notifications button 2016-05-31 15:23:22 -04:00
Robin Ward
8c6274ba88
FIX: Try to be a little smarter about which way topic menus open 2016-05-31 15:13:57 -04:00
Robin Ward
6eb87e6f62
FIX: Couldn't reach the bottom of the scrollbar 2016-05-31 11:16:38 -04:00
Robin Ward
321a11fe41
FIX: Docking of old widget regressed 2016-05-31 11:13:04 -04:00
Robin Ward
b37e14fc62
Remove snapping from scrollbar (people hate it) 2016-05-31 10:52:00 -04:00
Robin Ward
d2ebf0436c
FIX: On small heights jumping to posts was iffy 2016-05-31 10:52:00 -04:00
Robin Ward
5fc47e6942
FIX: Much less jankiness on the scroller 2016-05-31 10:52:00 -04:00
Robin Ward
717999b302
FIX: iPad locking on was broken when posting. 2016-05-31 10:51:59 -04:00
Jeff Atwood
97c1bb9159
add proper title to right gutter reply button 2016-05-31 10:51:59 -04:00
Robin Ward
f854eebc5f
FIX: Entering a topic at the bottom would cause scroll jumps 2016-05-31 10:51:59 -04:00
Robin Ward
06a5df63d3
UX: Have the timeline dock slightly below where the buttons would go 2016-05-31 10:51:58 -04:00
Robin Ward
9609680ba9
FIX: Progress wasn't updating after becoming visible 2016-05-31 10:51:58 -04:00
Robin Ward
eaf4c5b99e
FIX: Don't raise an error when the element is missing 2016-05-31 10:51:57 -04:00
Robin Ward
3c4d386caf
UX: Fade the bottom buttons out 2016-05-31 10:51:57 -04:00
Robin Ward
6067de0e8f
FIX: Don't hide the button at the top, only the bottom 2016-05-31 10:51:57 -04:00
Robin Ward
bebc907243
FIX: Use visibility: hidden to hide the buttons to avoid scrolling 2016-05-31 10:51:56 -04:00
Robin Ward
7a66127a01
UX: Hide reply controls when at the bottom of a topic 2016-05-31 10:51:56 -04:00
Robin Ward
0b8a3ff5da
FIX: Better handling of position when near the top or bottom 2016-05-31 10:51:56 -04:00
Robin Ward
a3907e1fbb
UX: Allow the timeline to scroll mid post 2016-05-31 10:51:55 -04:00
Robin Ward
f8e6d05b8d
FIX: Small timeline docking tweaks 2016-05-31 10:51:55 -04:00
Robin Ward
9ec56775de
UX: Move buttons to the bottom of the timeline 2016-05-31 10:51:54 -04:00
Robin Ward
6200d61f0a
UX: Move wrench down, support longer reply button names 2016-05-31 10:51:54 -04:00
Robin Ward
2f19eb4735
UX: Add notification level to timeline menu 2016-05-31 10:51:54 -04:00
Robin Ward
9e1021dfa3
WIP: Add notifications button to timeline 2016-05-31 10:51:53 -04:00
Robin Ward
1e3e4a95fd
FIX: Timeline has to dock at the top too for long titles + banners 2016-05-31 10:51:53 -04:00
Robin Ward
1584033d7a
UX: Don't display the timeline on thinner browser widths 2016-05-31 10:51:53 -04:00
Robin Ward
288b407bd1
UX: Also use timeline date format on the bottom of the timeline 2016-05-31 10:51:52 -04:00
Robin Ward
e5ad297ef0
UX: Make the timeline dates the same format 2016-05-31 10:51:52 -04:00
Robin Ward
66b63b94de
UX: Use ns-resize when dragging outside of the timeline area 2016-05-31 10:51:51 -04:00
Jeff Atwood
1de8b0ab90
remove icon on timeline back button
it's cleaner looking this way.. omit needless, uh, ICONS!
2016-05-31 10:51:51 -04:00
Robin Ward
b9f82641b0
UX: Hide all timeline controls when fewer than 3 posts 2016-05-31 10:51:51 -04:00
Robin Ward
0e3b275684
UX: Add title text on back button on timeline 2016-05-31 10:51:50 -04:00
Robin Ward
a6b2f5ddba
FIX: Use topic progress widget for jumping to posts 2016-05-31 10:51:50 -04:00
Robin Ward
3c30fa628b
FIX: "Go Back" wasn't displaying properly most of the time 2016-05-31 10:51:50 -04:00
Robin Ward
3cebba5b1f
UX: Add "ago" to the bottom of the timeline when relative 2016-05-31 10:51:49 -04:00
Robin Ward
d8d1c7013e
UX: Suppress date on on timeline for previous years 2016-05-31 10:51:49 -04:00
Jeff Atwood
b3e7c78be5
UX: always use short reply counts (no word) 2016-05-31 10:51:49 -04:00
Robin Ward
03cd0afed3
FIX: Progress wasn't delegating actions properly 2016-05-31 10:51:48 -04:00
Robin Ward
1ed2723986
FIX: More incorrect scrollbar positions on the timeline 2016-05-31 10:51:48 -04:00
Robin Ward
dd036b73bf
UX: Change the timeline date formatting 2016-05-31 10:51:48 -04:00
Robin Ward
ee01c275fb
FIX: Anonymous timeline bug 2016-05-31 10:51:47 -04:00
Robin Ward
90330d30f4
FIX: Error in smart short date function 2016-05-31 10:51:47 -04:00
Robin Ward
1643ff0f3c
FEATURE: Move topic admin button into timeline
Also includes converting the topic admin menu to the widget framework.
2016-05-31 10:51:46 -04:00
Robin Ward
c0e4d0f6f2
UX: Move post links above topic map on OP 2016-05-31 10:51:46 -04:00
Robin Ward
6aef2b0a59
FIX: First post wasn't rendering timeline 2016-05-31 10:51:46 -04:00
Robin Ward
4963d4d624
UX: Don't animate timeline when first entering a topic 2016-05-31 10:51:45 -04:00
Robin Ward
c046b003db
FIX: More iPad fixes for the timeline 2016-05-31 10:51:45 -04:00
Robin Ward
8a047e2708
FIX: Fix timeline dragging on iOS. Temporary fix for bottom of page 2016-05-31 10:51:45 -04:00
Robin Ward
fc4dc76f42
FIX: Progress was broken on mobile 2016-05-31 10:51:44 -04:00
Robin Ward
a8251b3036
UX: Suppress "replies" when there are many replies in the timeline 2016-05-31 10:51:44 -04:00
Robin Ward
2bd59d7ca1
FIX: Some odd jumping behavior for the timeline 2016-05-31 10:51:44 -04:00
Robin Ward
cf25f634e7
UX: Use ns-resize isntead of move since we can only go vertically 2016-05-31 10:51:43 -04:00
Robin Ward
18ffa6e98b
FIX: Don't dock the timeline when loading 2016-05-31 10:51:43 -04:00
Robin Ward
5901faa643
UX: Use relative age instead of "Now" 2016-05-31 10:51:43 -04:00
Robin Ward
1c49c57494
UX: Change the date formatting for timeline start + scroller 2016-05-31 10:51:42 -04:00
Robin Ward
a8ed7e9ceb
FIX: Don't show timeline when less than 3 posts 2016-05-31 10:51:42 -04:00
Robin Ward
9e39474ef9
FIX: First time switching to docked was placing it in the wrong pos 2016-05-31 10:51:42 -04:00
Robin Ward
fa2bffd618
FIX: Dock the timeline if you scroll down too much 2016-05-31 10:51:41 -04:00
Robin Ward
96b2fb791e
FIX: Make percentage based on highest post number to account for deletions 2016-05-31 10:51:41 -04:00
Robin Ward
6b5001eb94
PERF: Major performance penalty for making the document unselectable 2016-05-31 10:51:41 -04:00
Robin Ward
724c127c0e
UX: Move timeline to the left slightly 2016-05-31 10:51:40 -04:00
Robin Ward
37642be6a6
FIX: Suggested topics was shrunk 2016-05-31 10:51:40 -04:00
Robin Ward
178f3b822e
FIX: Don't show "Go Back" at the bottom of the timeline 2016-05-31 10:51:39 -04:00
Robin Ward
559fa36c18
FEATURE: Topic timeline widget 2016-05-31 10:51:39 -04:00
Robin Ward
751e354ca6
Refactor topic-progress into a component 2016-05-31 10:51:39 -04:00
Robin Ward
4a7567b485
UX: Move links from gutter to below posts 2016-05-31 10:51:37 -04:00
Neil Lalonde
6796b15857 FEATURE: restrict tags to be used in a category 2016-05-30 16:56:33 -04:00
Régis Hanol
26f25fc0d9 FIX: most liked queries were leaking info in user summaries 2016-05-30 19:48:46 +02:00
Régis Hanol
be057dfb75 fix no replies string 2016-05-30 19:29:29 +02:00
Régis Hanol
116efffdaa FEATURE: webhooks support for mailgun 2016-05-30 17:11:17 +02:00
Guo Xiang Tan
cb5be1fe8f
Upgrade rspec to 3.4.0. 2016-05-30 11:38:38 +08:00
Sam
c9dcffe434 FEATURE: store history for scheduled job execution 2016-05-30 11:38:08 +10:00
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