Commit graph

181 commits

Author SHA1 Message Date
Hypolite Petovan c2de5cf80a Add de_DE to available locales 2018-11-19 22:32:20 -05:00
Hypolite Petovan aa25c475dc Update translations before release
- Add partial de translations
- Update fr translations
2018-11-19 22:20:56 -05:00
Hypolite Petovan e30065657d Fix missing argument in servers controller 2018-11-19 22:13:47 -05:00
Hypolite Petovan e36805c206 Add Custom Pages feature
- Add config/pages directory
- Add new custom pages controller and route
- Add generated links in the footer
2018-11-19 22:12:09 -05:00
Hypolite Petovan 8c1d4404c7 Add new expected abstract method to Web\BaseController
- Cleanup obsolete use statements
2018-11-19 22:11:22 -05:00
Hypolite Petovan 9f80a14565 Add footer with current version
- Move stats links from header to footer
2018-11-19 08:32:58 -05:00
Hypolite Petovan c0a56882bc Fix FR translation 2018-11-18 11:46:22 -05:00
Hypolite Petovan 2505436796 Add missing translation string in Layout 2018-11-18 11:40:05 -05:00
Hypolite Petovan d2a9099391 Update translation strings
- Update FR translations
2018-11-18 11:35:42 -05:00
Hypolite Petovan 2591f05fb5 Add translation strings to statistics page 2018-11-18 11:35:23 -05:00
Hypolite Petovan 0c3013adeb Add locale support to extract-strings console
- Remove reliance on available locales setting
- Add reliance on translation path setting
- Only create a new translation when a single language is provided
- Remove debug comments
2018-11-18 11:35:04 -05:00
Hypolite Petovan ce075c80e6 Add statistics page
- Closes https://github.com/friendica/friendica-directory/issues/2
2018-11-18 10:38:43 -05:00
Hypolite Petovan e8752c7631 Restore full local name in settings
- Fallback to two-letter language code for translation if locale isn't found
- Rename L10n::langToString to L10n::localeToLanguageString
- Use setlocale() with the selected locale
2018-11-18 10:38:17 -05:00
Hypolite Petovan 012a3f9f8d Add poco retrieval during server poll
- Closes https://github.com/friendica/friendica-directory/issues/7
2018-11-18 10:36:03 -05:00
Hypolite Petovan 26b4299b68 [Composer] Add byjg/webrequest direct dependency 2018-11-18 10:32:42 -05:00
Hypolite Petovan a828e712a3 Fix SQL error in search 2018-11-17 23:48:08 -05:00
Hypolite Petovan 4790067527 Fix SQL error when there's no condition in AccountTypeTabs 2018-11-17 14:15:25 -05:00
Hypolite Petovan b4f7957f1c Add database structure update known issue in doc 2018-11-17 09:47:11 -05:00
Hypolite Petovan dd60b60e99 Pre-release 2.1-rc2 2018-11-17 09:35:07 -05:00
Hypolite Petovan d66b9aa673 Add new translation strings to PO files
- Add FR translations to latest strings
2018-11-17 08:54:28 -05:00
Hypolite Petovan 94fe8cf397 Add Transifex mention to docs/Translation 2018-11-17 08:52:47 -05:00
Hypolite Petovan 4dad98fa04 Add count display for account type tabs
- Add translations strings to AccountTypeTabs
2018-11-17 08:52:23 -05:00
Hypolite Petovan 651849b18e Update type-hint/PHPDoc in PhpRenderer 2018-11-17 08:51:13 -05:00
Hypolite Petovan 3669e69241 Add PHPRenderer->np__() translation function 2018-11-17 08:50:51 -05:00
Hypolite Petovan b3e0a349c9 Fix overriding headers in extract-strings console 2018-11-17 08:28:04 -05:00
Hypolite Petovan 4ca3fd5a32 Add CS translations, thanks Aditoo 2018-11-17 08:21:37 -05:00
Hypolite Petovan 01d476f542 Use only language part of locale for popular languages
- Fixes https://github.com/friendica/friendica-directory/issues/13
2018-11-17 08:02:09 -05:00
Hypolite Petovan b29aafc2d9 Set Composer to --no-dev on install in doc 2018-11-17 07:51:11 -05:00
Hypolite Petovan 1960634797 Remove SET autocommit=0 in base.sql
- Fixes https://github.com/friendica/friendica-directory/issues/12
- Add transactions in SQL migration scripts
2018-11-17 07:50:42 -05:00
Hypolite Petovan b74921b5d8 Pre-release 2.1-rc1 2018-11-16 00:15:17 -05:00
Hypolite Petovan f2f647c6d7 Add documentation about translation 2018-11-16 00:14:03 -05:00
Hypolite Petovan c437eee38e Add base en strings
- Add translated fr strings
2018-11-16 00:01:48 -05:00
Hypolite Petovan fc434f4506 Add extract-strings console 2018-11-16 00:00:19 -05:00
Hypolite Petovan ff9eab39a7 Add translation string to templates
- Lower popular widget lists to 10 elements
- Add language to profile and server display
2018-11-16 00:00:03 -05:00
Hypolite Petovan 5b7bb030de Add Internationalization
- Add Utils/L10n class
- Add translator functions to PHP Renderer
- Refactor web controllers to prevent duplicated code
- Add locale middleware
- Add translation file loading
- Add i18n settings
2018-11-15 23:59:00 -05:00
Hypolite Petovan 13a2068a8b Move Photo Controller to Api 2018-11-15 23:41:32 -05:00
Hypolite Petovan f6426c1e8a [Composer] Add gettext/gettext and boronczyk/localization-middleware dependencies 2018-11-15 23:40:07 -05:00
Hypolite Petovan bc5a0fb590 Add language storage during server and profile polling
- Add index on language field in profile and server tables
2018-11-15 23:39:32 -05:00
Hypolite Petovan 650f0b4009 Remove unused /tag route 2018-11-15 23:32:07 -05:00
Hypolite Petovan 93c2536f18 Add deep merge between default and local settings 2018-11-15 23:30:25 -05:00
Hypolite Petovan 88fcd9610c Remove trailing slashes in path settings 2018-11-15 23:29:52 -05:00
Hypolite Petovan fadb733527 Fix server polling error when body was unexpected JSON 2018-11-15 23:29:17 -05:00
Hypolite Petovan 31156b8643 Increase verbosity of cron queue counts 2018-11-15 23:28:36 -05:00
Hypolite Petovan 4c85d86b7f
Merge pull request #10 from AndyHee/master
Update INSTALL.md
2018-11-14 10:08:46 -05:00
Andy H f6769a6c2a
Update INSTALL.md 2018-11-14 21:57:20 +07:00
Andy H ea3657d15b
Update INSTALL.md 2018-11-14 21:39:47 +07:00
Hypolite Petovan 5f7930c54f Release 2.0.6 2018-11-13 22:02:13 -05:00
Hypolite Petovan 63b10c37f5 Add ProfileAdd subconsole 2018-11-13 22:01:52 -05:00
Hypolite Petovan f9b9557415 Add queue size info logging in Controllers/Cron 2018-11-13 22:01:34 -05:00
Hypolite Petovan 641dc9b8eb Improve DirectoryAdd console output 2018-11-13 22:01:12 -05:00