This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Joffrey JAFFEUX f0ef307d2d
FIX: topic timer offset applied two times
timezone offset was calculated and sent from browser to server, it would be applied on utc time generated from '2013-11-22 5:00' format for example and then sent back to browser which would display it thinking it's UTC time using `moment(utc time)` when it's in fact an UTC time we have offseted with the initial user timezone.

This is impossible to automatically test in the current app state. Easiest reproduction is in live browser after setting your timezone to `America/New_York`, when setting a topic timer to later_today, after save, the time under the topic should be off to something roughly equal +1/-1  hour to your timezone offset.
2017-12-07 14:42:58 +01:00
..
adapters FEATURE: Show a button to Staff for "Moderation History" on posts/topics 2017-12-05 15:20:20 -05:00
components FIX: Adjusted the composer preview to avoid odd scroll issue 2017-12-06 11:31:36 -05:00
controllers UX: Use the same 404 page for the unknown route and exception handler 2017-12-06 15:20:24 -05:00
helpers UX: preloaded gravatar was appearing on the right instead of the left 2017-11-29 18:07:09 +01:00
initializers Feature: Add service worker registration method to plugin API 2017-11-28 14:01:41 +08:00
lib Format username for desktop notifications (#5403) 2017-12-06 12:52:11 -05:00
mixins UX: Add new classes to make user creation more targetable 2017-12-03 15:03:06 -05:00
models FIX: topic timer offset applied two times 2017-12-07 14:42:58 +01:00
pre-initializers REFACTOR: Remove many Discourse.Category.list() calls 2017-11-01 15:25:35 -04:00
raw-views Typo'd name of jump-bottom 2017-10-11 15:47:18 -04:00
routes UX: Use the same 404 page for the unknown route and exception handler 2017-12-06 15:20:24 -05:00
services FEATURE: search should default scope to current category or user 2017-02-20 17:02:02 -05:00
templates Remove debugging code. 2017-12-07 06:48:12 +08:00
widgets keyValueStore isn't available in test 2017-12-06 23:28:28 +01:00
mapping-router.js.es6 Allow route maps to access site easily 2017-08-09 11:49:18 -04:00