3844 Commits

Author SHA1 Message Date
Nicolas Stepien
76d352f972 A simplification of the last ui hovering improvement. 2013-02-14 15:39:38 +01:00
Nicolas Stepien
4af24cc60d Fix Expand all being too damn slow. 2013-02-14 15:04:13 +01:00
Nicolas Stepien
90d6a5a90a Fix Fit width for OPs. 2013-02-14 14:37:43 +01:00
Nicolas Stepien
bbb455c0c5 Automatically reposition a quote preview or image hover once the content is loaded. Close #237. 2013-02-14 12:13:24 +01:00
Nicolas Stepien
cd7926d45b Don't try to re-expand an image on download error if we already contracted it. 2013-02-14 09:54:33 +01:00
Nicolas Stepien
7326caf438 Add Image Expansion.
Close #314.
Close #481.
2013-02-14 02:32:22 +01:00
Nicolas Stepien
2b8f808b6b Add the catalog links toggler. 2013-02-13 23:09:40 +01:00
Nicolas Stepien
faee3e0d9e Menu fixes concerning flexbox ordering versus dom ordering. 2013-02-13 20:11:51 +01:00
Nicolas Stepien
2d677acad4 Add the CloseMenu event/API. 2013-02-13 18:24:59 +01:00
Nicolas Stepien
4f28b6d2e5 Add ordering to menu entries, using a flexbox layout. 2013-02-13 18:03:27 +01:00
Nicolas Stepien
859c5db1f0 Close #772. 2013-02-13 16:57:32 +01:00
Nicolas Stepien
c2715231a3 Hide the box shadow when hiding the header bar. 2013-02-13 15:31:04 +01:00
Nicolas Stepien
22d40d2315 The QR code is just too damn long, move it into its own file. 2013-02-12 23:59:29 +01:00
Nicolas Stepien
d2d7959df7 Don't strect the dump button.
yay, flexbox.
2013-02-12 23:52:39 +01:00
Nicolas Stepien
4e976a5594 Style fixes for the catalog.
4chan's integration of the catalog is terrible. I don't see myself supporting it any further.
2013-02-12 23:37:31 +01:00
Nicolas Stepien
a9b427f0d2 Remove the 'Open Reply in New Tab' config and make it the default behavior.
Various QR fixes.
Tiny styling adjustments.
You can now create threads when outside of the index.
Allow selection-to-quote to work on any text inside the quoted post, not just the comment. Close #789.
2013-02-12 23:05:09 +01:00
Nicolas Stepien
0f0d410209 Close the Header's menu when opening the QR.
Handle errors when opening the QR dialog.
2013-02-12 03:43:12 +01:00
Nicolas Stepien
566b468327 Some QR fixes.
Use notifications for QR errors and successes! Close #562.
Add an entry to open the QR in the Header's menu.
2013-02-12 03:32:45 +01:00
Nicolas Stepien
34a11f2e74 Add QR hastily. 2013-02-12 01:20:33 +01:00
Nicolas Stepien
9588a7e86f Add subtle shadows to notifications too. 2013-02-12 00:41:26 +01:00
Nicolas Stepien
82249ef3ec Add support for 4chan's various themes.
On the catalog, it allows dialogs to be correctly themed as it didn't have the same stylesheets.
Fix #919.
2013-02-12 00:29:04 +01:00
Nicolas Stepien
9de0342dbd Detect current style and style changes.
doc = d.documentElement
2013-02-11 22:25:04 +01:00
Nicolas Stepien
0adc86b392 That works too. 2013-02-11 17:19:58 +01:00
Nicolas Stepien
a70b1ee739 Better ux for header bar hiding. 2013-02-11 16:54:03 +01:00
Nicolas Stepien
d4b5ef0307 More cs tricks. 2013-02-11 15:36:43 +01:00
Nicolas Stepien
f4f53b92f2 add $.event 2013-02-11 15:34:37 +01:00
Nicolas Stepien
fec837ecdc CoffeeScript tricks. 2013-02-11 15:01:36 +01:00
Nicolas Stepien
84617ba149 Use custom events to add our menu entries.
children -> subEntries
2013-02-11 14:11:49 +01:00
Nicolas Stepien
64cd4a9043 Fuck that. 2013-02-11 00:15:10 +01:00
Nicolas Stepien
8b836aec8d Add Notifications.
Add error handling. I don't feel like I did a good job of it, might revisit later.
2013-02-10 23:15:06 +01:00
Nicolas Stepien
fb9edd5176 Release 2.38.1. 2013-02-09 21:26:55 +01:00
Nicolas Stepien
6bcbf3deeb Shorter Relative Post Dates description. 2013-02-09 21:23:30 +01:00
Nicolas Stepien
b6cf7220c4 Most of the Header is done, see changelog file.
Add 4chan and 4chan X settings links in the header's menu.

Add $.asap.

Add UI.Menu.
The menu API now requires a type ("post" or "header").

Add Get.boardsConfig.
2013-02-09 18:50:21 +01:00
Nicolas Stepien
c7afc923e0 typo, blame @qqueue 2013-02-09 03:51:07 +01:00
Nicolas Stepien
7cc62847e7 Change changelog. It's called relative dates everywhere else. 2013-02-07 20:34:43 +01:00
Nicolas Stepien
280575e6f5 Release 2.38.0. 2013-02-07 20:31:01 +01:00
Mayhem
0a9c2ff75c Merge pull request #897 from qqueue/relativedate
Relative Dates, close #758
2013-02-07 10:49:03 -08:00
queue
bed90cfd03 Reduce recalculation needed for RelativeDates
Capture more state in closure scopes. Pretty clever, at the expense of
simplicity.
2013-02-07 11:34:03 -07:00
Nicolas Stepien
43aae50ac5 thedarkcave now has https support. 2013-02-07 13:22:24 +01:00
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
c54ddff83d Add Filter. 2013-01-27 15:09:24 +01:00
Nicolas Stepien
7dbd481a6d Add Reply Hiding in the Meny, with settings.
Save hiding settings of individual replies.

Close #628.
Close #796.
2013-01-26 14:24:37 +01:00
Nicolas Stepien
d8b0b74df0 Add Thread Hiding in the Menu, with stub setting.
Add an option to toggle Thread/Reply Hiding Buttons.
Save hiding settings of individual threads, like if we want to see its stub or not when we reload the
page.
Add the menu buttons in stubs.
Make the open function for menu entries optional.
2013-01-26 10:49:37 +01:00
Nicolas Stepien
7bf2e7dd45 Add Menu. Close #627. Add Report/Delete/Download/Archive Link. 2013-01-25 12:13:20 +01:00
Nicolas Stepien
ddbab74efb Changelog. Actually update the thread when going back online. 2013-01-24 22:54:17 +01:00
Nicolas Stepien
7e2fb6d4ae fix redirections 2013-01-24 13:55:41 +01:00
Nicolas Stepien
81dd0fe9af Add Recursive Hiding.
Close #665.
Add Thread.fullID and Post.fullID.
Smarter quote un-inlining.
2013-01-24 11:45:05 +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