Commit Graph

35 Commits

Author SHA1 Message Date
maTh e679d3df0e
Improved: show Terms of Service in config menu (#5215)
* Use constants for path to TOS

* improve comments

* TOS title moved to template

* TOS available via config menu

* CSS: improve handling of content of TOS/about

* give info about set/unset TOS in system config

* fix target

* i18n FR

* i18n DE
2023-03-21 18:47:07 +01:00
Frans de Jonge 3fe36e7c8c
Update Dutch translation (#4529) 2022-08-23 08:42:43 +02:00
maTh ba1259bb21
Improvement: config registration form settings (#3932)
* wip

* wip

* i18n en-us

* phpcs fixes

* wip i18n

* wip i18n

* i18n ignore en-us

* delete registration.help

* i18n de

* JS Syntax fixed for config.js

* JavaScript lint fixes config.js

* fix typo in i18n/de

* improve the JS

* improve HTML

* phpcs fixes

* update main.js from edge

* fix i18n comments

* Update app/i18n/fr/admin.php

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-02-05 13:50:33 +01:00
Alexis Degrugillier 127b7f0a3a
Change i18n process (#4131)
Before, the ignore info were stored in a different file which was a bit cumbersome
for new comers. Now, this info is stored directly in the translation file as a
comment.

Before, there was no way of telling translators that a previously translated string
was in need of a new translation. Now, the dirty information is there to convey that
info.
2022-01-08 14:00:26 +01:00
maTh e5e9a417da
Menu: move stats into subscription management (#3803)
* add stats menu into subscription management menu
* delete stats menu entry from dropdown menu
* Delete aside_stats.phtml
* Update aside_subscription.phtml
2021-09-12 11:50:00 +02:00
Alexandre Alapetite fe295f50d0
Lint i18n files (#3841)
Translations had quite a lot of cleaning in late:
* Removed some unused keys
* Added some ignores
* Applied a `cli/manipulate.translation.php -a format`
2021-09-12 11:37:15 +02:00
Alexis Degrugillier 5bd84038a2
Remove Minz validation (#3439)
It should have been done during #3302.
2021-02-11 18:18:42 +01:00
Frans de Jonge 9489cca1e3
[i18n] Update Dutch translation (#3063) 2020-06-16 09:49:21 +02:00
Alexis Degrugillier caeb660f29
Add a way to disable/enable users (#3056)
If you want to block users without deleting their account, you can now
disable them from the interface.
2020-06-14 19:50:09 +02:00
Frans de Jonge 015cd1e06e
[i18n] Update Dutch translation for 1.16.1 (#3005)
See <https://github.com/FreshRSS/FreshRSS/issues/2994>.
2020-05-26 17:04:59 +02:00
Marien Fressinaud 8487fa6248
Reformat i18n correctly (#2976)
* Ignore i18n gen.dir key

* Add a makefile target to update an i18n key

* Mark some i18n keys to ignore

* Reformat i18n files correctly

* Make i18n keys sort case-sensitive

Calling `make i18n-format` was always inverting 4 lines:

- gen.date.dec with gen.date.Dec
- and gen.date.nov with gen.date.Nov

I don't know why these particular lines and not the others, but it
appeared the sort function was case insensitive due to the
`SORT_FLAG_CASE` flag passed to the `ksort` function. Removing this flag
makes the calls to the formatter idempotent and more reliable.

Unfortunately it moves a lot of lines since the `_` character is
considered differently.

* Check i18n files are correctly formatted on Travis
2020-05-15 17:31:21 +02:00
equinoxmatt be10486f5e
2914 show last login date (#2936)
* Add new last_login param to default user config

* Add English translation strings for last login feature

* Update last_login when user successfully logs in.

* Add last_login column to manage users screen

* Add last_login to user details screen

* Remove accidental docker-compose.yml

* Fix whitespace

* Use last modified time for config file

* Remove last_login field from default user config

* Touch user configuration file upon succesful login

* Add translations with todos

* Fix whitespace

* Use last_user_activity

* Semi-colomn

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2020-05-09 12:49:49 +02:00
Alexis Degrugillier 3c099c7853 Add an admin flag on users (#2709)
Now FRSS supports more than one admin. Admins have the same rights as
the default user. Admins can promote or demote other users. The default
user is considered as an admin even if it does not have the admin flag
enabled.

See #2096
2020-01-06 20:28:04 +01:00
Alexis Degrugillier d13a8a0eb1 Add user language display
When managing users, I've added the language they selected to be able
to communicate with them with the selected language (if I know it).
It could be useful when managing a community or a paid service.
2019-12-07 12:57:52 +01:00
Alexis Degrugillier 3e49b44839 Update i18n cli tools (#2673)
* Update i18n cli tools

Few things were bugging me when using the cli tool for i18n. So I've modified
the tools to be easier to use.

First, the tool automatically adds missing keys to all languages. This way, we
always have all keys in all languages.
Second, the tool detects all untranslated keys and adds automatically the todo
comment after the value.
Third, when adding a new key, the key is pushed to all languages at once. There
is no need to duplicate it manually. Thus making the duplication process obsolete.
Fourth, translation and ignore keys are manipulated at the same time. Thus we
don't have obsolete ignored strings anymore.

* Add i18n rules

I find that having the common rules in the Makefile is easier to use,
as long as you know they are here. As it is self documented, people
will see the new rules when using make.

* Use long parameters in Makefile

I find that using long parameters in scripts makes it easier to understand
what's going on. So I've switched all short parameters to long one.

* Format all i18n files

I've used the updated version of the cli tools to have some output
that can be consistently formated. This commit is a huge formating
commit. Nothing was added but some comments were removed in the
process.
2019-12-04 08:27:39 +01:00
Alexis Degrugillier 0de7e84380 Upgrade user management page (#2417)
Before, the use of the user management page was a little bit tedious
when there was many users. One must select a user to view some
metrics, to update it, or to delete it.
Now, the view is clearer because it shows all users at once with
their metrics. I introduced a detail page that repeats the metrics
but also allow to purge the user's feeds, to update or delete the
user.

This is the first step to make that page more useful and user-friendly.
I have in mind to add a pager for when there is a lot of users, a metric
to know when was the last time the user was using the application, and
a flag to know if the user has admin rights.

See #2096 and #2504 for ideas and inspiration
2019-12-03 22:32:17 +01:00
Frans de Jonge e0275beb8d [i18n] Update Dutch translation for v1.15 (#2610)
Cf. <https://github.com/FreshRSS/FreshRSS/pull/2599>.
2019-10-27 20:54:06 +01:00
Marien Fressinaud 75632e70f0 Provide email address verification feature (#2481)
* Add an email field to the profile page

I reuse the `mail_login` from the configuration. I'm not sure if it's
useful today (I would say it was used when Persona login was available).

A good improvement would be to rename `mail_login` into `email` so it
would be more intuitive to use.

* Add boolean to the conf to force email validation

This commit only adds a configuration item.

* Add email during registration if email must be validated

* Set email token to validate when email changes

* Block access to FreshRSS if email is not validated

* Send email when address is changed

* Allow to resend the validation email

* Allow the user to change its email while blocked

* Document the email validation feature

* fixup! Allow the user to change its email while blocked

* tec: Autoload PHPMailer lib

* Validate email address format

* Add feedback on validation email resend action

* Allow to logout when user is blocked

* fix: Change default email "from"

* Reorganize i18n keys

* Complete all the locales with default english

* Hide sidebar (profile page) if email is not validated

* Check email requirements on registration

* Allow admin to specify email when creating users

* Don't check email format if value is empty

* Remove trailing comma in userController

Co-Authored-By: Alexandre Alapetite <alexandre@alapetite.fr>

* Set PHPMailer validator to html5 before sending email

* fixup! Remove trailing comma in userController
2019-08-29 12:02:05 +02:00
Frans de Jonge 694af5434e [i18n, nl] Various improvements to Dutch translation (#2312)
* [i18n, nl] Various improvements to Dutch translation

The text for the "Show categories unfolded by default" was incorrect, cf. #2309. Also fixed a few typos and some minor stylistic changes.

* also fix that typo with the missing space
2019-04-01 12:16:02 +02:00
Frans de Jonge e2853770e2 [i18n] Dutch translation for 1.13.1 (#2221) 2019-01-17 22:58:05 +01:00
Patrick Crandol ebb9ee0873 Edit cookie_duration from GUI (#2137)
* Use cookie_duration correctly

* WIP allow cookie_duration to be modified from GUI

* Allow cookie_duration to actually be updated

* Update view to properly display cookie_duration

* Add new strings in Translation Files

* Fix typo

* Fix trailing whitespace

* I18n: French translation

* I18n fr: Forgot todo
2018-11-18 19:34:41 +01:00
Patrick Crandol 16a131380b I18n standardization (#2138)
* i18n Admin standardization

cz - moved items incorrectly placed in system array to extensions array
nl - remove registration array in user array that doesn't appear in any other translations - possibly from an old version that didn't get removed?
oc - reordered list to standardize order with other translation files.

* Alphabetize extensions Array

* Standardize conf.php

he - removed options not appearing in other i18n files, added missing strings

* Standardize feedback.php

he - removed line not found in other translation files
nl - removed line not found in other translation files

* Standardize gen.php

* Standardize index.php

Major sorting of oc.
Added tags to several languages

* Standardize install.php

ru - added missing strings
it - remove extra string not found in other config files
he - add missing strings, remove strings not found in other languages
oc - reorganize

* Standardize sub.php

* Standardize and fix TODOs

use format  "//TODO - Translation" for easier searching

* Fix whitespace
2018-11-18 11:37:22 +01:00
Frans de Jonge a6b8469a62 [i18n] New Dutch strings (#2000) 2018-09-03 21:14:28 +02:00
Alexandre Alapetite 32d9c3b790
Use mb_strcut (#1996)
* Use mb_strcut

Avoid cutting in the middle of a multi-byte UTF-8 character

* Forgotten php5-*

* Typo

* Whitespace

* More mb_strcut
2018-09-02 13:19:58 +02:00
Frans de Jonge 18443963b9 [i18n] Finish Dutch translation (#1903) 2018-05-28 23:54:16 +02:00
Alexis Degrugillier ac3e38359b Allow admin user to reset passwords (#1765)
See #960
2018-02-14 22:15:34 +01:00
Kevin Papst 3902d3f433 Show existing extensions in admin panel (#1708)
* first draft

* display installed extension state

* fixed whitespace vs tabs

* added translation in all languages

* added error checks and log messages

* fixed tabs vs whitespace

* another try in fixing whitespaces

* another try in fixing whitespaces

* improved extension list translations

* using JSON from official extension repo

* improved version compare

* updated translations

* French translation
2017-12-06 21:04:45 +01:00
Frans de Jonge b8fbe6e558 (chore) Dutch i18n improvements
* new 'sides_close_article' string
* random fixes
2017-05-28 14:51:19 +02:00
Alexandre Alapetite b28b6a4bf2 extension_loaded fileinfo
https://github.com/FreshRSS/FreshRSS/issues/1375
2016-11-20 16:52:07 +01:00
Alexandre Alapetite ad58ae923c Update php-* extension names
https://github.com/FreshRSS/FreshRSS/issues/1283
2016-10-06 17:21:20 +02:00
Alexandre Alapetite 2fa5ef354c pdo_pgsql documentation 2016-09-03 11:29:18 +02:00
Alexandre Alapetite c1548e732d Remove Mozilla Persona login
https://github.com/FreshRSS/FreshRSS/issues/1052
2016-07-31 14:58:19 +02:00
Wanabo f059e4c5ce Added files via upload
Updated language files for v1.3.1-dev
2016-03-06 12:01:46 +01:00
Marien Fressinaud 697817eebf Make auto-update server URL alterable
See https://github.com/FreshRSS/FreshRSS/issues/1019
2015-11-02 21:14:13 +01:00
Alexandre Alapetite 390f2ce5f0 i18n: Dutch
https://github.com/FreshRSS/FreshRSS/issues/949
https://github.com/Wanabo/FreshRSS-Dutch-translation
2015-08-18 19:58:09 +02:00