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
Andrew Dolgov
eac7ad5d34
remove explainError server-side dlg
4 years ago
Andrew Dolgov
74986d1ac6
shorten pref tab names; make log-alert clickable
4 years ago
Andrew Dolgov
0e4e0e624e
viewfeed debugger: open properly for categories
4 years ago
Andrew Dolgov
d06cc8267b
queryFeedHeadlines: bring back DISTINCT for a limited set of columns
4 years ago
Andrew Dolgov
db3fcb861b
viewfeed: reintroduce timestamps, fix debugging, fix some indents
4 years ago
Andrew Dolgov
0a142912d3
backend handler: require CSRF, remove obsolete code
4 years ago
Andrew Dolgov
154417d80b
public/logout: require valid CSRF token
4 years ago
Andrew Dolgov
8080c525fd
- backend: require CSRF token to be passed via POST
...
- do not leak CSRF token via GET request in feed debugger
- rework Article/redirect to use POST
4 years ago
Andrew Dolgov
7e50c6c4b5
- enable CSRF support earlier
...
- remove rpc/sanityCheck from CSRF-excluded calls
4 years ago
Andrew Dolgov
b4cb67e77f
remove csrf token from rpc method sanityCheck
4 years ago