Commit Graph

63 Commits (3e2236896219804cdf4b9cfb79eb186f371feddc)

Author SHA1 Message Date
Andrew Dolgov 334a361e79 don't try to j/k move to nonexistant feed 4 years ago
Andrew Dolgov d275134f26 unify return values for getPreviousFeed and usages of both prev/next 4 years ago
Andrew Dolgov a4da2f1e62 continuation of the css cleanup 4 years ago
Andrew Dolgov f9a381ecca grid: add a header icon (and a hotkey) to toggle article span entire row 4 years ago
Andrew Dolgov 143617afb1 * it feels weird for requireIdleCallback() to be optional while more
modern browser features are required
 * simplify browser startup feature check a bit
4 years ago
Andrew Dolgov e826c9e055 fix crash in preferences due to headlines-frame missing 4 years ago
Andrew Dolgov bdc72e5b63 fix headlines-spacer height in grid mode 4 years ago
Andrew Dolgov 0b93d8d013 add hotkey to toggle grid view 4 years ago
Andrew Dolgov 1fb7125f90 minor cleanup related to toolbar-main (use dijit methods, etc) 4 years ago
Andrew Dolgov 1d9fa2a42e reduce overhead in hash set/get 4 years ago
Andrew Dolgov 30b94fb194 store widescreen mode setting in preferences instead of a cookie 4 years ago
Andrew Dolgov 7f2fe465b0 add plugin updates checker into normal updates checker 4 years ago
fox c6fb62f384 Merge pull request 'fix-mysql-support' (#10) from klatch/tt-rss:fix-mysql-support into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/10
4 years ago
Andrew Dolgov e6a875b7e4 check if client-presented URL scheme is different from one configured in SELF_URL_PATH 4 years ago
Andrew Dolgov 56b10fea18 pass translations to frontend as a json object 4 years ago
Frenck Lutke 27b676b7b2 fix checkboxes shown as checked when they're not with mysql
The issue occurs because boolean/tinyint values are retrieved from mysql
as strings, and in php/js all non-empty strings are cast as boolean
true.

Current PDO mysql driver doesn't support `PDO::ATTR_STRINGIFY_FETCHES =
false`, and if I disable prepare-emulation so it uses the native MySQL
driver instead which supposedly does support it, prepare statements no
longer play nice with named parameters.

Every remaining clean solution that comes to mind that can cover all
cases, just for MySQL, adds an annoying amount of additional code /
overhead.

As long as the `App.FormFields.checkbox_tag()` JS function is the only
one suffering from the lack of conversion, I'll go with easy ugly over
here.
4 years ago
Andrew Dolgov 7f41228a71 decouple runtime-info object from counters 4 years ago
Andrew Dolgov d6203bf350 try to calculate counters conditionally based on feed ids 4 years ago
Andrew Dolgov 8d2e3c2528 drop errors.php and simplify error handling 4 years ago
Andrew Dolgov da97b29dbe prevent filter selected text dialog from opening in wrong order 4 years ago
Andrew Dolgov d6de021ae6 haven't i fixed this already 4 years ago
Andrew Dolgov 9586c72a17 wip: feed editor client-side 4 years ago
Andrew Dolgov d9fe14a012 use template strings in a bunch of places instead of id concatenation 4 years ago
Andrew Dolgov 660a1bbe01 * switch to xhr.post() almost everywhere
* call App.handlerpcjson() automatically on json request (if possible)
 * show net/log indicators in prefs
4 years ago
Andrew Dolgov bb4e4282f4 migrate a bunch of xhrPost invocations 4 years ago
Andrew Dolgov 6b43b788d9 migrate xhrJson invocations to the new helper 4 years ago
Andrew Dolgov bec35200e9 fix some eslint-related stuff 4 years ago
Andrew Dolgov 00310d2d23 cleanup some unused code, fix App.byId() invoked by wrong name 4 years ago
Andrew Dolgov f77c17c6f0 add Element toggleClassName 4 years ago
Andrew Dolgov 70fa423026 initial for RIP prototype/scriptaculous 4 years ago
Andrew Dolgov 049c423454 fix hotkey help toolbar action 4 years ago
Andrew Dolgov 2e4b403787 * use es5 (?) default parameter values for some functions
* when moving to next article, try to show hsp if its next
4 years ago
Andrew Dolgov 466cba39d8 Merge branch 'master' of git.fakecake.org:fox/tt-rss 4 years ago
Andrew Dolgov 1adb9bb6b6 profiles: use client dialog; move related methods to pref-prefs 4 years ago
Andrew Dolgov e4609c18ef * add (disabled) shortcut syntax for plugin methods
* add controls shortcut for pluginhandler tags
 * add similar shortcut for frontend
 * allow plugins to selectively exclude their methods from CSRF checking
4 years ago
Andrew Dolgov b16abc157e * App: rename hidden to hidden_tag
* search: use client dialog
 * add some form field helpers
4 years ago
Andrew Dolgov 22fc6871e8 remove backend helper and move its only function to rpc for the time being 4 years ago
Andrew Dolgov 9f55454f63 remove the rest of db.php; rename some leftover methods in feeds 4 years ago
Andrew Dolgov 6b006a18e7 subscribe to feed: use client dialog 4 years ago
Andrew Dolgov 82adb01307 render enclosures on the client 4 years ago
Andrew Dolgov ff6031d3c9 remove old-style markup from exception dialog 4 years ago
Andrew Dolgov 4996d8ccfe pref-users edit: use client dialog 4 years ago
Andrew Dolgov e7924c6dac label editor: use client dialog 4 years ago
Andrew Dolgov 7f0800537e silence (or fix) a bunch of eslint warnings 4 years ago
Andrew Dolgov ad7842c98a RIP tag cloud: last of the vanilla popup dialog system 4 years ago
Andrew Dolgov 3268364693 more dialog-related cleanup 4 years ago
Andrew Dolgov 3d11c61f32 * OPML import: don't reload everything, just feed tree
* dialogs: use auto-destroying dialog for almost all dialogs instead of destroying them manually
* some general dialog-related cleanup
4 years ago
Andrew Dolgov 8f8675a26a * filters: remove duplicate code, overall cleanup
* check if some tres exist before trying to reload them
4 years ago
Andrew Dolgov a72171f8ef dialogOf: deal with both raw DOM elements and widgets 4 years ago
Andrew Dolgov d466284fab * customizeCSS: client dialog
* remove hardcoded width from most dialogs (move to css)
* add helper to easily get dialog from its widget
* rework some dialog buttons to use current object instead of calling dialog by name
4 years ago