546 Commits

Author SHA1 Message Date
queue
b49664a11a Implement relative dates, close #758
Squash of 21 commits:

--
Document "%R" relative time formatter

Sounds reasonable, don't you think?

--
Implement %R time formatter

original code do not steal

--
Add absolute time as title on date elements

--
Update relative post times if necessary

Coupled code, I know. Would be better to have a 'threadupdate' event to
subscribe to, oh well.

--
Update changelog

--
Rewrite relative date formatter function

Aeosynth-approved, or at least acknoledged

--
Reimplement relative post times in namespace

Less quick-and-dirty, more right.

Still need to polyfill visibility

--
Polyfill and correct usage of page visibility

Reselecting the tab always flushes (since ui thread block will be
percieved as part of the tab switch), but background flushes don't queue
when tab is not visible.

This is actually a better implementation than html5chan has right now,
will need to backport it later.

--
Remove %R reference in documentation

--
Clean up RelativeDates code

Aeosynth approved (TM) (C)

--
Move page visibility polyfill to Main

--
Remove unnecessary ?

--
Replace $.hidden() fn with d.hidden

--
Use visibility polyfill for QR

--
Remove all future relative dates

Looks like it's all over after this.

--
Compact pluralize condition

--
Fix alignment

--
Change RelativeDates.flush -> @flush

--
Remove initial setTimeout

Is unnecessary, as node is called, which will call flush at least once
and set the timeout again.

--
Improve absolute date display and cache diff

Title tooltip now uses either time formatting rice or the original 4chan
timestamp instead of toString().

the diff between a date and now is now shared between `relative` and
`setUpdate` to avoid recalculation.

--
Remove re-calling of Time formatting

Relying on the ordering of `node` callbacks, so textContext will already
have the formatted time.
2013-02-07 01:49:16 -07:00
Nicolas Stepien
b587719af8 Close #921. 2013-02-06 20:26:25 +01:00
Nicolas Stepien
1f94b35df4 Release 2.37.6. 2013-01-22 20:22:28 +01:00
Nicolas Stepien
fa5f51f1df Fix image expanding. 2013-01-22 20:19:18 +01:00
Nicolas Stepien
8edd4d5e64 Release 2.37.5. 2013-01-20 13:48:45 +01:00
Nicolas Stepien
dadbb4e792 Fix quoting inside inlined backlinks. Fix #900
Well that's interesting: selectors with Element.querySelector|All
will search for corresponding elements inside the whole document,
and will only return elements that are inside your given root element.
2013-01-20 13:23:56 +01:00
Nicolas Stepien
bef8de6e70 Release 2.37.4. 2013-01-18 22:06:55 +01:00
Nicolas Stepien
e2718c18b6 Merge branch 'master' of github.com:MayhemYDG/4chan-x 2013-01-18 22:06:42 +01:00
Nicolas Stepien
9d0121a551 Fuck you moot, don't add titles to mobile elements. 2013-01-18 22:05:57 +01:00
James Campos
ac6dd43682 changelog 2013-01-16 02:33:04 -08:00
Nicolas Stepien
e5355e450b Typo. 2013-01-11 10:51:06 +01:00
Nicolas Stepien
6600d960b5 Add /po/ archive redirection. 2013-01-10 10:23:07 +01:00
Nicolas Stepien
b1dce1ec2f Release 2.37.3. 2013-01-10 09:56:36 +01:00
Nicolas Stepien
325d5920f1 Fix #887 2013-01-10 09:49:59 +01:00
Nicolas Stepien
b6645773f3 Fix #888, #890 2013-01-10 09:39:59 +01:00
Nicolas Stepien
8e71bdc1ba Release 2.37.2. 2013-01-03 15:36:59 +01:00
Nicolas Stepien
7b0c961805 Merge branch 'master' of github.com:MayhemYDG/4chan-x 2013-01-03 15:20:20 +01:00
Nicolas Stepien
669147f4be Fix #878, 880 2013-01-03 15:19:33 +01:00
James Campos
1ad81cecd3 better description 2013-01-01 11:05:22 -08:00
James Campos
bc8055acb5 admin 2013-01-01 11:05:22 -08:00
Nicolas Stepien
027af4ec50 Release 2.37.1. 2012-12-18 13:49:39 +01:00
noface
debd002aab Corrections. 2012-12-15 14:24:14 +01:00
noface
d155eed8d7 Fix deadquotes showing up in code-tags. 2012-12-15 11:08:14 +01:00
Nicolas Stepien
2f0427ad94 Merge branch 'master' of github.com:MayhemYDG/4chan-x 2012-12-14 18:13:33 +01:00
Nicolas Stepien
5ffb6168cb Fix warning. 2012-12-14 18:13:15 +01:00
noface
e326d92332 Anonymize on stubs. 2012-12-13 17:39:12 +01:00
Nicolas Stepien
9f18c25805 Fix #846 2012-12-13 12:08:33 +01:00
Nicolas Stepien
f28bfd4e7e Fix #853 2012-12-13 12:00:17 +01:00
Nicolas Stepien
642519834a Release 2.37.0. 2012-12-11 15:05:00 +01:00
Mayhem
2f5f8577ea Merge pull request #838 from ihavenoface/pull-request
Add Catalog Links toggle.
2012-12-11 01:20:00 -08:00
Nicolas Stepien
b4f68be732 Add /c/ archive redirection. 2012-12-10 18:25:39 +01:00
noface
f3149a314b Merge branch 'master' of https://github.com/MayhemYDG/4chan-x into pull-request 2012-12-10 17:03:24 +01:00
Nicolas Stepien
272add179f Merge branch 'master' of github.com:MayhemYDG/4chan-x 2012-12-10 14:43:46 +01:00
Nicolas Stepien
65b1e168b3 Start catalog support. Close #834. 2012-12-10 14:41:58 +01:00
noface
6c622fa7c2 Fix Anonymizer not working on hovered posts. 2012-12-07 03:37:17 +01:00
noface
c307874b10 Add Catalog Links toggle. 2012-12-05 19:36:01 +01:00
Nicolas Stepien
fdaee4641e Release 2.36.3. 2012-11-29 13:13:39 +01:00
Nicolas Stepien
199ca9d01f Fix #827 2012-11-29 13:13:01 +01:00
Nicolas Stepien
f27bd8aa95 Release 2.36.2. 2012-11-17 16:17:57 +01:00
noface
53127cd8c6 Corrections. 2012-11-17 00:39:05 +01:00
Nicolas Stepien
2443d837da Release 2.36.1. 2012-10-25 01:02:00 +02:00
Nicolas Stepien
98607c27d8 Add unix timestamps to fileinfo. 2012-10-25 00:46:23 +02:00
noface
5f87b2d849 Corrections. 2012-10-24 23:33:09 +02:00
noface
dfc703fdfc Add Archivers submenu. 2012-10-20 13:33:43 +02:00
Nicolas Stepien
3c67717471 Release 2.36.0. 2012-10-03 23:28:39 +02:00
Nicolas Stepien
027836b78f Thread creation cooldown. Fix cooldown between different post-type. Fix /q/ cooldowns?
Ugh. see #774
2012-10-01 17:34:15 +02:00
Nicolas Stepien
76b06eba97 Release 2.35.4. 2012-09-26 16:49:01 +02:00
Nicolas Stepien
6e8d4b02de Remove the 4chan Pass ad in mistyped captcha errors. 2012-09-26 16:39:53 +02:00
Nicolas Stepien
6ce4c2abbd Close #775 2012-09-26 16:27:18 +02:00
Nicolas Stepien
ad4bc27f47 Release 2.35.3. 2012-09-20 23:48:40 +02:00