1665 Commits

Author SHA1 Message Date
Nicolas Stepien
88da43f129 Decrease relative dates refresh rate down to 30 seconds.
Update comments?
2013-02-15 22:10:20 +01:00
Nicolas Stepien
e3a721ade0 Add months and years support in relative dates.
We don't need to flush on node if it's a clone.
Prevent theoretical "60 seconds ago" and such.
2013-02-15 22:01:58 +01:00
Nicolas Stepien
2712a8b61e Prevent "-1 seconds ago" times. 2013-02-15 19:01:17 +01:00
Nicolas Stepien
2022962dda Shave off 1 line. 2013-02-15 18:51:18 +01:00
Nicolas Stepien
479ddffd95 rm $.debounce, better Relative Dates. 2013-02-15 18:48:40 +01:00
Nicolas Stepien
7657167953 Always create the subject element. 2013-02-15 17:49:43 +01:00
Nicolas Stepien
20ece62290 Merge branch 'master' into v3 2013-02-14 23:30:44 +01:00
Nicolas Stepien
4fb824c304 Indicate filesize and max filesize in case of too large selected files. 2013-02-14 22:23:33 +01:00
Nicolas Stepien
c746f9b7e6 Abort QR upload on thread death. Some QR notifications work. 2013-02-14 22:16:18 +01:00
Nicolas Stepien
7bdeabedd8 Fix thread updater not thread updating on successful post. 2013-02-14 21:49:47 +01:00
Nicolas Stepien
0ffebeca0b Add the 'ThreadUpdate' API/event. 2013-02-14 21:45:52 +01:00
Nicolas Stepien
b90931b80d unoop the thread updater. 2013-02-14 21:31:31 +01:00
Nicolas Stepien
b91d343679 Use link+blob urls for the stylesheet. That'll help me inspect the css.
I wonder if it matters performance-wise.
2013-02-14 17:28:03 +01:00
Nicolas Stepien
270f7f8ec2 Fix styling of dead backlinks. 2013-02-14 16:38:32 +01:00
Nicolas Stepien
21b0c6a73b Use Confs for image expansion settings. 2013-02-14 16:08:01 +01:00
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
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
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
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
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
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
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
8a587f515c Add Reply Hiding.
Make Thread & Reply Hiding work with other features.
Tiny fixes.
2013-01-22 18:24:12 +01:00