Alexandre Alapetite
b8094f8044
Move shares ( #1812 )
...
From ./data/ to ./app/
Fix manual updates like
https://github.com/FreshRSS/FreshRSS/issues/1803#issuecomment-369371907
Left for later: support a ./data/shares.local.php for user-defined
shares.
7 years ago
Alexandre Alapetite
38de643d09
Small fix Mastodon share
...
$a['method'] can be undefined.
https://github.com/FreshRSS/FreshRSS/pull/1674
https://github.com/FreshRSS/FreshRSS/issues/1521
7 years ago
Alexis Degrugillier
afffbfce07
Add a Mastodon share ( #1674 )
...
See #1521
7 years ago
Alexandre Alapetite
3a5427ea7f
Change CSS load order to help CustomCSS extension
...
https://github.com/FreshRSS/Extensions/issues/13
7 years ago
Alexandre Alapetite
af8960b8b3
Move default configuration files
...
https://github.com/FreshRSS/FreshRSS/issues/1531
8 years ago
Alexandre Alapetite
e6e8cac3c4
Allow extensions for default accout in anonymous mode
...
https://github.com/FreshRSS/FreshRSS/issues/1257#issuecomment-248111169
8 years ago
Alexandre Alapetite
a180485f91
sticky-kit fix, and compatible async defer
...
And set correct parent option
https://github.com/FreshRSS/FreshRSS/pull/1172
8 years ago
Alexandre Alapetite
e6fd34bdda
CSRF token, update HTTP Referrer policy to same-origin
...
https://www.w3.org/TR/referrer-policy/#referrer-policy-no-referrer
https://github.com/FreshRSS/FreshRSS/issues/570
https://github.com/FreshRSS/FreshRSS/issues/955
https://github.com/FreshRSS/FreshRSS/issues/1198
https://github.com/FreshRSS/FreshRSS/issues/565
https://github.com/FreshRSS/FreshRSS/issues/554
8 years ago
Alexandre Alapetite
c1548e732d
Remove Mozilla Persona login
...
https://github.com/FreshRSS/FreshRSS/issues/1052
8 years ago
romibi
d9e14621b5
Make Sidebar Sticky
8 years ago
Alexandre Alapetite
6466fc87ec
Load styles for two JSON cases
9 years ago
Alexandre Alapetite
805ec6392c
Revert; Notifications needed also for non-layout requests
9 years ago
Alexandre Alapetite
b042d3a772
HTTP2 optimization
...
Fast flush HTTP headers, push promise CSS.
Requires PHP 5.3+ due to anonymous function.
Do not load syles, scripts, and notifications for Ajax requests.
https://github.com/FreshRSS/FreshRSS/issues/1089
9 years ago
Alexandre Alapetite
44be16d4fb
X-Content-Type-Options: nosniff
...
https://github.com/FreshRSS/FreshRSS/issues/1114
9 years ago
Alexandre Alapetite
cbac2afd23
CSP compatibility with Firefox older than 45
...
https://github.com/FreshRSS/FreshRSS/pull/1075
https://github.com/FreshRSS/FreshRSS/pull/1078
https://developer.mozilla.org/en-US/Firefox/Releases/45#Security
https://bugzilla.mozilla.org/show_bug.cgi?id=1045891
9 years ago
Alexandre Alapetite
38c2d671e3
CSP different policies per controller
...
https://github.com/FreshRSS/FreshRSS/issues/1075
9 years ago
Alexandre Alapetite
cb913a3a76
CSP for statistics and forms
...
https://github.com/FreshRSS/FreshRSS/issues/1075
9 years ago
Alexandre Alapetite
e3dc7d46e1
CSP: Use inline JSON instead of one-time cookie
...
Simpler, lighter
https://github.com/FreshRSS/FreshRSS/issues/1075
9 years ago
Alexandre Alapetite
8cdf44c87b
CSP allow iframes
...
E.g. for YouTube videos, etc.
https://github.com/FreshRSS/FreshRSS/issues/1075
9 years ago
Alexandre Alapetite
e4a459a6ed
CSP no inline javascript draft
...
https://github.com/FreshRSS/FreshRSS/issues/1075
9 years ago
Alexandre Alapetite
79f0f2bbb4
Bug Page 403 ne peut s'afficher si Translate n'est pas instancié avant
...
https://github.com/FreshRSS/FreshRSS/issues/821
10 years ago
Marien Fressinaud
789d9fc6c8
Fix coding style in extension manager
...
Yep, same as 8968288...
10 years ago
Marien Fressinaud
67375537e4
Init auth before user configuration
...
Add a lot of comments to explain how work the FRSS front controller and
the order of initializations.
Fix https://github.com/FreshRSS/FreshRSS/issues/745
10 years ago
Marien Fressinaud
2fd8a80878
Add first test for a generic ConfigurationSetter
...
We are blocked if a setter has to update several values.
ConfigurationSetter will be updated.
See https://github.com/FreshRSS/FreshRSS/issues/730
10 years ago
Marien Fressinaud
4c128e05a4
Reorganize FreshRSS init
...
See https://github.com/FreshRSS/FreshRSS/issues/730
10 years ago
Marien Fressinaud
0140448a56
Refactor FreshRSS_Share object to be more usable
...
- FreshRSS_Share is the only object we manipulate
- Add a way to register new share options easily
- Move some i18n keys from index.php to gen.php
See https://github.com/FreshRSS/FreshRSS/issues/730
10 years ago
Marien Fressinaud
ce10f48274
Fix a bug in i18n init
...
See https://github.com/FreshRSS/FreshRSS/issues/730
10 years ago
Marien Fressinaud
addcea9cd4
Fix i18n loading and availableLanguages calls
...
- Change the way to init i18n
- Add a availableLanguages() method to Minz_Translate
See https://github.com/FreshRSS/FreshRSS/issues/730
10 years ago
Marien Fressinaud
d3a93ea290
BREAKING FEATURE: Remove general in config
...
General attribute has been removed from system config.
Now subattributes (e.g. environment, salt, title, etc.) are directly accessible.
YOU HAVE TO FIX YOUR ./data/config.php file!
- Remove the general array
- Values inside this array must be kept
- To see what it must look like, please have a look to ./data/config.default.php
(but keep your values!!).
See https://github.com/FreshRSS/FreshRSS/issues/730
10 years ago
Marien Fressinaud
7cca47d1ab
Change name of user configuration var in Context
...
- FreshRSS_Context::$conf is replaced by FreshRSS_Context::$user_conf
- Introduce FreshRSS_Context::$system_conf
- Remove FreshRSS_Configuration object
See https://github.com/FreshRSS/FreshRSS/issues/730
10 years ago
Marien Fressinaud
51a71ec4b9
New configuration system (not working yet)
...
- Use only Minz_Configuration
- register() method to load a new configuration file
- get() to get a configuration
- new exceptions related to configuration
- fix a list configuration calls to have FRSS working
Current problems to resolve:
- How to handle configuration param verifications (i.e. check auth_type
is a value from none, http_auth, persona or form)
- We must use $conf = Minz_Configuration::get('system'); $general_conf = $conf->general;
to access global system configuration which is quite annoying. How to change that?
See https://github.com/FreshRSS/FreshRSS/issues/730
10 years ago
Marien Fressinaud
2232d1e02a
Load user extensions after all the global inits
...
See https://github.com/FreshRSS/FreshRSS/issues/252
10 years ago
Marien Fressinaud
4c888590e6
Improve system/user types for extensions
...
- system extensions can only be managed by an administrator
- system extensions are loaded for all users (even if not logged)
- user extensions are loaded for logged users only
- system extensions loading is saved in global config.php file
See https://github.com/FreshRSS/FreshRSS/issues/252
10 years ago
Marien Fressinaud
f1fd1091b9
Remove old code for extensions
10 years ago
Marien Fressinaud
1086ba4a2b
Enable extensions for users
10 years ago
Marien Fressinaud
86f69ca396
First draft for the new extension feature
...
- Only system extensions can be loaded for the moment by adding them in the config.php
file.
- Remove previous system (it will be added properly in the new system in the next step).
10 years ago
Marien Fressinaud
eb60b82959
Move back i18n init in FreshRSS.php
10 years ago
Marien Fressinaud
80cffa6de5
Views are in dedicated actions + improve Context
...
- Seperate normal, global and rss outputs in dedicated actions (NOT WORKING YET!)
- Rewrite aside_flux and nav_menu to use Context object
- Improve Context object
See https://github.com/marienfressinaud/FreshRSS/issues/634
10 years ago
Marien Fressinaud
1a22a87fb1
Use FreshRSS_Context::$conf only
...
- Replace $this->view->conf in controllers
- Replace $this->conf in views
10 years ago
Marien Fressinaud
ad92dd7dae
First draft for Context object.
...
See https://github.com/marienfressinaud/FreshRSS/issues/634
10 years ago
Marien Fressinaud
1252b3dd86
Authentication system moved + Persona comes back!
...
AuthController is dedicated to auhentication.
Persona is back, greater than ever!
See https://github.com/marienfressinaud/FreshRSS/issues/655
10 years ago
Marien Fressinaud
79aa5beaf4
Refactor authentication system.
...
Big work, not finished. A lot of features have been removed.
See https://github.com/marienfressinaud/FreshRSS/issues/655
10 years ago
Marien Fressinaud
d8f4681382
Replace Minz_Log::record by corresponding methods
...
Please not use Minz_Log::record anymore!
See https://github.com/marienfressinaud/FreshRSS/issues/655
10 years ago
Marien Fressinaud
65ab90d3c7
Coding style (views)
...
See https://github.com/marienfressinaud/FreshRSS/issues/655
10 years ago
Marien Fressinaud
6c8b36f04e
Let's begin the big refactoring!
...
Minz_Translate::t\s? replaces by _t
See https://github.com/marienfressinaud/FreshRSS/issues/655
10 years ago
Alexandre Alapetite
febabccdd5
Primitive extension system
...
https://github.com/marienfressinaud/FreshRSS/issues/252
I have been using this extension system for a little while, in
particular to include custom CSS and/or JavaScript (inclusion of PHP
code is not done yet).
There is very little code and it does not impact performances.
I hurry to post it before
https://github.com/marienfressinaud/FreshRSS/issues/655
10 years ago
Alexandre Alapetite
de5c0bc009
Misc minor details + a few i18n corrections
...
https://github.com/marienfressinaud/FreshRSS/issues/618
10 years ago
Marien Fressinaud
fc7d2a0bf2
Move http referer test into lib_rss
...
Rename method (coding style)
Change in app/FreshRSS.php
Improve test of app/install.php
10 years ago
Marien Fressinaud
69c7c1aa48
Change loading of base-theme css
...
If metadata.json indicates it should use "_template.css" or "_base.css",
base-theme/template|base.css is used. It facilitates theme maintenance.
10 years ago
Alexandre Alapetite
a126d99b3c
Bug referer for systems with non-standard HTTP port
...
Now tests also for the scheme and port, which must be identical to the
ones in the referer.
https://github.com/marienfressinaud/FreshRSS/issues/565#issuecomment-53916915
https://github.com/marienfressinaud/FreshRSS/issues/554
10 years ago