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/models
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
..
action-summary.js.es6 REFACTOR: Remove Discourse.Ajax 2016-07-11 12:57:05 -04:00
archetype.js.es6 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
badge-grouping.js.es6 UX: Show translated badge names and badge groupings 2015-12-30 23:35:16 +01:00
badge.js.es6 Advanced Search UI 2016-10-04 11:18:01 -04:00
category-list.js.es6 UX: adjust to show all and stat period 2016-09-02 11:03:52 +10:00
category.js.es6 FEATURE: category setting for mailinglist mirror 2017-11-17 15:29:14 +01:00
composer.js.es6 FIX: save drafts of new topics with titles but no body 2017-11-30 15:16:12 -05:00
draft.js.es6 REFACTOR: Remove Discourse.Ajax 2016-07-11 12:57:05 -04:00
group-history.js.es6 FEATURE: Group logs. 2016-12-12 17:29:54 +08:00
group.js.es6 FEATURE: Support filtering of groups page by category if in url 2017-10-31 17:50:06 -04:00
input-validation.js.es6 REFACTOR: Migrate more legacy JS to ES6 2016-07-11 12:57:05 -04:00
invite.js.es6 FEATURE: remove all invites 2017-06-29 22:30:10 +05:30
live-post-counts.es6 REFACTOR: Remove Discourse.Ajax 2016-07-11 12:57:05 -04:00
login-method.js.es6 FEATURE: Import facebook avatars when logging in via facebook 2016-09-19 15:10:23 +10:00
model.js.es6 REFACTOR: Migrate more legacy JS to ES6 2016-07-11 12:57:05 -04:00
nav-item.js.es6 REFACTOR: Remove many Discourse.Category.list() calls 2017-11-01 15:25:35 -04:00
permission-type.js.es6 es6 migration and fixes 2015-12-02 11:15:22 +11:00
post-action-type.js.es6 Refactor flag types for more customization 2017-10-19 13:55:23 -04:00
post-stream.js.es6 PERF: Only send down suggested payload when loading last chunk. 2017-09-26 14:42:27 +08:00
post.js.es6 UX: Improve interface for flagging with many flaggers 2017-09-25 12:28:00 -04:00
rest.js.es6 REFACTOR: Rename store:main to service:store so we can inject it 2017-10-27 13:59:45 -04:00
result-set.js.es6 FEATURE: Can override any translation via an admin interface 2015-11-27 11:35:19 -05:00
session.js.es6 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
site.js.es6 REFACTOR: Remove many Discourse.Category.list() calls 2017-11-01 15:25:35 -04:00
static-page.js.es6 REFACTOR: Remove Discourse.Ajax 2016-07-11 12:57:05 -04:00
store.js.es6 FEATURE: Show a button to Staff for "Moderation History" on posts/topics 2017-12-05 15:20:20 -05:00
tag-group.js.es6 FIX: error when trying to create new tag groups 2016-12-28 12:42:51 -05:00
topic-details.js.es6 PERF: Only send down suggested payload when loading last chunk. 2017-09-26 14:42:27 +08:00
topic-list.js.es6 REFACTOR: Rename store:main to service:store so we can inject it 2017-10-27 13:59:45 -04:00
topic-timer.js.es6 FIX: topic timer offset applied two times 2017-12-07 14:42:58 +01:00
topic-tracking-state.js.es6 FIX: navigation item counters weren't updating properly 2017-08-10 12:22:15 +02:00
topic.js.es6 REFACTOR: Remove many Discourse.Category.list() calls 2017-11-01 15:25:35 -04:00
trust-level.js.es6 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
user-action-group.js.es6 es6 migration and fixes 2015-12-02 11:15:22 +11:00
user-action-stat.js.es6 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
user-action.js.es6 REFACTOR: Replace some fa-* uses with helpers 2017-07-27 14:55:41 -04:00
user-badge.js.es6 FIX: broken badge show page 2017-08-22 13:28:02 -04:00
user-posts-stream.js.es6 REFACTOR: Merge different templates from rendering user stream items 2017-06-20 15:45:41 -04:00
user-stream.js.es6 FEATURE: add help text for no bookmarks in user page 2016-11-29 17:56:00 +11:00
user.js.es6 FEATURE: Support an end date for user silencing 2017-11-14 13:20:19 -05:00