Alexandre Alapetite
a6db495494
CLI actualize-user
...
https://github.com/FreshRSS/FreshRSS/issues/1095
8 years ago
Alexandre Alapetite
1b8eb6c7e7
CLI import ZIP/OPML/JSON for user
...
https://github.com/FreshRSS/FreshRSS/issues/1095
https://github.com/FreshRSS/FreshRSS/issues/851
8 years ago
Alexandre Alapetite
576f9737a8
Minz::Log bug when currentUser is empty string
...
`Minz_Session::param('currentUser', '_')` could return an empty string
8 years ago
Alexandre Alapetite
272afc0b7e
PostgreSQL case-insensitive SQL LIKE
...
Compatibility with MySQL and SQLite
8 years ago
Alexandre Alapetite
4d8c63a51e
Minz URL bug
...
More general fix for https://github.com/FreshRSS/FreshRSS/pull/1269
8 years ago
Alexandre Alapetite
0564f5e1c4
Support custom MySQL ports
...
https://github.com/FreshRSS/FreshRSS/issues/1241
8 years ago
Alexandre Alapetite
f66be86e41
Quoted upper-cases instead of string replace
8 years ago
Alexandre Alapetite
0f1bc956d4
MinzPDO inheritance
8 years ago
Alexandre Alapetite
c25fdbcc09
More PostgreSQL
8 years ago
Alexandre Alapetite
7c1b5e322c
PostgreSQL draft
...
https://github.com/FreshRSS/FreshRSS/issues/416
Based on @Damstre work https://github.com/FreshRSS/FreshRSS/pull/1071
Not tested
8 years ago
Alexandre Alapetite
fe18d12551
Update MySQL to utf8mb4 (full unicode) 🔥
...
* Requires MySQL 5.5.3+ (drop support for MySQL 5.0)
* Requires PHP 5.3.3+ (drop support for PHP 5.3.0)
https://github.com/FreshRSS/FreshRSS/issues/789#issuecomment-73878076
8 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
ba9f4461d8
Secure cookie HTTPS
9 years ago
Alexis Degrugillier
e265c94319
Fix url ending
9 years ago
Alexandre Alapetite
e4a459a6ed
CSP no inline javascript draft
...
https://github.com/FreshRSS/FreshRSS/issues/1075
9 years ago
Alexandre Alapetite
bfae186e36
Use HTTP_X_FORWARDED_
...
https://github.com/FreshRSS/FreshRSS/issues/975
9 years ago
Alexandre Alapetite
30de13cd47
Use HTTP_X_FORWARDED_
...
https://github.com/FreshRSS/FreshRSS/issues/975
9 years ago
Alexandre Alapetite
189e790f32
Minz cookie session httpOnly
...
https://github.com/FreshRSS/FreshRSS/issues/924
https://github.com/FreshRSS/FreshRSS/pull/936/files#r35948311
9 years ago
Alexandre Alapetite
760ec5f223
Whitespace
9 years ago
Alexandre Alapetite
59daed3d4e
Minz slight change in session cookie path
...
https://github.com/FreshRSS/FreshRSS/issues/924#issuecomment-126499403
9 years ago
Alexandre Alapetite
f7190c34e1
Minz session cookie path bug
...
https://github.com/FreshRSS/FreshRSS/issues/924#issuecomment-126499403
9 years ago
Marien Fressinaud
6dbe33c51e
Don't hide errors in configuration
...
Fix https://github.com/FreshRSS/FreshRSS/issues/920
9 years ago
Marien Fressinaud
c1a44a8761
Load configuration by recursion
...
- Remove Minz_Configuration::$data_default
- Default values are loaded first in $data
- $data values are replaced by values from config file
Fix https://github.com/FreshRSS/FreshRSS/issues/923
9 years ago
Marien Fressinaud
1e65fd687e
Use filter_var in guessBaseUrl
...
See https://github.com/FreshRSS/FreshRSS/issues/906
See https://github.com/FreshRSS/FreshRSS/pull/915/files#r35304704
9 years ago
Marien Fressinaud
6db0941196
Fix unexpected behaviour in getBaseUrl
...
- getBaseUrl() returns info from configuration only and always append
the suffix
- add a guessBaseUrl() to extract base_url from $_SERVER info
- fix Url::display() to take this change in consideration
Fix https://github.com/FreshRSS/FreshRSS/issues/906
Use https://github.com/FreshRSS/FreshRSS/pull/910
9 years ago
Alexandre Alapetite
2d22bf300a
dirname problem
...
https://github.com/FreshRSS/FreshRSS/issues/906
9 years ago
Marien Fressinaud
241086fa67
Fix broken links for extension script/style files
...
Fix https://github.com/FreshRSS/FreshRSS/issues/862
9 years ago
Alexandre Alapetite
da5033859b
Force HTML content-type with charset
...
Force UTF-8 https://github.com/FreshRSS/FreshRSS/issues/870
9 years ago
Alexandre Alapetite
9b512b82e2
PDO config isset
...
https://github.com/FreshRSS/FreshRSS/issues/868
9 years ago
Alexandre Alapetite
568ab2313d
PDO options for e.g. SSL
...
https://github.com/FreshRSS/FreshRSS/issues/868
9 years ago
Alexandre Alapetite
a5a24108ef
Minz URL encoding bug
...
See also https://github.com/FreshRSS/FreshRSS/pull/849
9 years ago
Alexandre Alapetite
27d2b88a19
Minz getBaseUrl correction and RSS template bug
...
https://github.com/FreshRSS/FreshRSS/issues/848
Corrections in Minz (HTTP_HOST was not sanitized, getURI() was never
used and not working anyway with absolute base_url)
$this->url was not defined in rss.phtml
10 years ago
Alexandre Alapetite
217c191a1b
More SQLite compatibility
...
Additional changes to add compatibility with SQLite for the new
hash/lastSeen mode of updating articles.
10 years ago
Marien Fressinaud
a47ce4f6af
Fix including extensions for actualize_script
...
Extensions could be included multiple times. It resulted in an error.
10 years ago
Marien Fressinaud
22d7e0d638
Simplify code for cookie dir
...
See https://github.com/FreshRSS/FreshRSS/issues/700
See eec95ffb6a
10 years ago
Marien Fressinaud
eec95ffb6a
Fix bug related to cookie path
...
Fix https://github.com/FreshRSS/FreshRSS/issues/700
10 years ago
Alexandre Alapetite
211569ef85
Minz: missing URL key/param encoding
...
Caused searches such as "intitle:&" to fail after paging, and
possible XSS vulnerabilities.
Discovered during https://github.com/FreshRSS/FreshRSS/issues/754
10 years ago
Alexandre Alapetite
12081f7ba2
Quick fix cron actualization due to problematic FreshRSS constructor/init
...
https://github.com/FreshRSS/FreshRSS/issues/759
Suggestion: the static objects should be user-independent (or at least
with the possibility to be re-set), while the FreshRSS object and its
attributes should be user-dependent.
10 years ago
Alexandre Alapetite
d30b3becfa
Addressed warnings when reading from new files
...
There were warnings when reading extensions (trying to use e.g. README
and .gitignore as directories), and when reading update file.
https://github.com/FreshRSS/FreshRSS/issues/733
10 years ago
Marien Fressinaud
d91a92434f
Fix Minz_Error and error_Controller
...
- Error code and logs was not propagated from Minz_Error to the controller
- header was bad (200 instead of 404 or 403)
Related to https://github.com/FreshRSS/FreshRSS/issues/751
10 years ago
Marien Fressinaud
2039710d12
Avoid "PHP Strict Standards" error
...
A "Only variables should be passed by reference" error was raised in the
extension->getFileUrl() method.
10 years ago
Marien Fressinaud
13cf8b5f9f
Improve hook calls and add post_update hook
...
- To the hook is associated a method signature (OneToOne or NoneToNone for now) so
it is easier to call hooks correctly
- post_update hook is called during the post update moment.
10 years ago
Marien Fressinaud
789d9fc6c8
Fix coding style in extension manager
...
Yep, same as 8968288...
10 years ago
Marien Fressinaud
8968288600
Fix extension API (coding style)
...
is_enabled() becomes isEnabled(). Sorry for this coding style mistake :s
10 years ago
Marien Fressinaud
ade1524d43
Fix valid extension entry points.
...
Add possibility to use underscores (_) in entrypoints.
10 years ago
Marien Fressinaud
806b4de54f
Add mechanism at (un)install of an extension
...
Test if the install or uninstall has been successfully performed.
If these methods return true, all is ok but if a string is returned,
the string must explain the problem. This problem is stored in log file.
A feedback is given to explain to check log file.
This commit fix a problem in the english translation of
feedback.sub.feed.internal_problem.
10 years ago
Marien Fressinaud
b23fc3187c
Fix translation bug
...
A path registered after initialization must be loaded.
10 years ago
Marien Fressinaud
19dfef8b49
Fix bug with Minz_Translate
...
When a path was registered before initialization, it was not considered unless
by calling reset() method.
This is fixed now.
10 years ago
Marien Fressinaud
85ea5e548a
Fix install.php script (choice of lang)
...
Fix a bug in Minz_Translate too
10 years ago
Marien Fressinaud
8f04cb9d9d
Change Minz_Translate::reset() behaviour
...
- Don't reset the path list (use init() instead)
- init() accept a null lang_name. To use i18n, you'll have to use reset() later.
It is helpful to load the list of available language before choosing one of them.
10 years ago