Commit Graph

36 Commits

Author SHA1 Message Date
Frederic Guillot
3e308a5f37
Split helpers into multiple files 2016-08-17 22:16:13 -04:00
Frederic Guillot
8ac08649e8
Move generate_token() to Helper namespace 2016-08-17 21:41:14 -04:00
Frederic Guillot
55e4ab882c
Move get_ip_address() and get_user_agent() to Request namespace 2016-08-17 21:27:05 -04:00
Frederic Guillot
38b08719da
Setup unit tests 2016-08-17 21:06:43 -04:00
Frederic Guillot
d13cb5c300
Remove unused code 2016-08-05 21:03:29 -04:00
Frederic Guillot
831552c396
Remove unused code 2016-08-05 20:43:10 -04:00
Frederic Guillot
fc279ece66 Remove useless code 2016-05-03 19:59:50 -04:00
Eshin Kunishima
aabee67bdd
Tiny performance tweaks 2016-05-03 17:46:20 +09:00
Frederic Guillot
d2d47f332c Use HTTP_HOST instead of SERVER_NAME to guess hostname 2016-04-23 19:37:39 -04:00
Frederic Guillot
aaaafb263b Run php-cs-fixer on the code base 2016-04-17 19:44:45 -04:00
Ogün Karakuş
8429c4a363
Fix wrong base URL generation
Signed-off-by: Ogün Karakuş <kirk5bucuk@gmail.com>
2016-01-23 18:02:00 +02:00
Alexis Mousset
a2d2e95555 Use hashes to identify favicons 2016-01-10 01:21:56 +01:00
Mathias Kresin
6d36e1cb16 Do not use the DIRECTORY_SEPARATOR constant for URLs
The constant DIRECTORY_SEPARATOR is "\" on windows and therefore the favicon urls are invalid for php on windows.

Renamed the FAVICON_PUBLIC_DIRECTORY constant to a more descriptive name.
2015-12-09 20:28:11 +01:00
Alexis Mousset
1efeee42d9 Use files for favicons 2015-12-07 17:42:26 +01:00
Frederic Guillot
9b08fc9160 Fix cosmetic errors 2015-10-19 21:21:18 -04:00
Frederic Guillot
1c0d14bc94 Include PicoFarad into Miniflux 2015-08-28 21:34:34 -04:00
Frederic Guillot
33a4bf2202 Remove some code duplication and fix some minor issues 2015-08-14 22:08:04 -04:00
Mathias Kresin
67d97bb096 wrap a span around the checkbox label and remove bogus nbsp 2015-04-23 23:37:33 +02:00
小秦
91cad0f435 fix Helper\summary bug
修正当 `$value` 中没有空格时(中文订阅的内容), 在进行截取时会出现返回 ` [...]` 的情况.
2015-04-14 21:31:43 +08:00
Frederic Guillot
84ac8fc316 Forget to rename a function 2015-04-11 09:52:28 -04:00
Frederic Guillot
fb800d739d Rename helper function 2015-04-10 20:58:59 -04:00
Frederic Guillot
fa1ddb486a Normalize helper functions 2015-04-10 20:57:44 -04:00
Frederic Guillot
c81b728d69 Merge Arabic translation #348 and improve user interface for RTL languages 2015-03-20 18:53:15 -04:00
Frederic Guillot
5c8b01ac96 Move Proxy\isSecureConnection() to helpers 2015-02-07 11:19:25 -05:00
Mathias Kresin
d2598bac96 improvements for multiple plural support for translations
- calculate the plural number only if the term has multiple plurals
- only numbers can be converted to absolute values
2015-01-31 08:19:47 +01:00
Mathias Kresin
ddcae31d48 add multiple plural support for translations
fixes #242
2015-01-30 19:45:23 +01:00
Mathias Kresin
76825cb673 use radio buttons to select the login database
allows one click logins to not default databases using passwordmanagers
like keefox.
2015-01-18 13:25:38 +01:00
Mathias Kresin
8e78c77fc1 introduce release script
This script replaces make-archive.sh and make-tag.sh.

Switch to 'git archive' to create a ZIP file from the repo. Its way
more faster, automates a lot things and works with the GitHub download
HEAD/Release/Tag as ZIP functionality as well.

git archive reads the file .gitattributes to determine which files has
to be excluded from the zip file.

It replaces the following placeholders in common.php:

$Format:%d$": with the output of git log --pretty=format:%d which
contains the tag of the last commit (if tagged).

$Format:%H$": with the hash of the latest included commit.

If no tag can be found the hash is appended to "master" and shown as
version number.

The approach is kind of hackish since no distinct format option for the
tag exists.

Fixes #231, https://github.com/fguillot/miniflux/issues/213#issuecomment-65631765
2015-01-10 09:37:52 +01:00
Frédéric Guillot
feb25c7552 Add favicons on the feeds page 2014-12-24 18:12:41 -05:00
Frédéric Guillot
c1d74b8332 Add favicon support 2014-12-24 17:54:27 -05:00
Frédéric Guillot
c6ed11c116 Move to Composer and update to the last version of PicoFeed 2014-12-23 21:28:26 -05:00
Mathias Kresin
4641b5c66b strftime workaround for php on windows
The %e and %k modifiers are not supported in the Windows implementation of the
strftime function.

The workaround is from the strftime documention (Example #3).
2014-12-02 18:55:33 +01:00
Frédéric Guillot
f4efaadad1 Remove Google auth (openid is deprecated) and Persona auth (useless) 2014-11-07 20:53:50 -05:00
Frédéric Guillot
53b94d8f7b Add option to force RTL mode per feed and improve feed modification 2014-10-19 19:14:33 -04:00
Frédéric Guillot
c6f5606070 Bug fixes: charset encoding/decoding 2014-05-25 08:47:03 -04:00
Frédéric Guillot
b74b8dd784 Remove PicoTools 2014-03-16 21:56:43 -04:00