Commit Graph

63 Commits

Author SHA1 Message Date
Hypolite Petovan 1bbe4d3289 Add SSL and availability condition in /servers/surprise (#15) 2019-02-03 09:36:53 -05:00
Hypolite Petovan d0102327c0 Add /servers/surprise endpoint 2019-02-03 09:30:31 -05:00
Hypolite Petovan 0e4d5a035f Fix search parameter handling (#23)
- Add default value for search parameter
- Fix filter_var flags for language parameter
2019-02-03 09:20:58 -05:00
Aditoo17 d45651328e L10n: Update Czech translation 2019-01-27 08:53:00 +01:00
Hypolite Petovan 4da3acb52a Align `/msearch` output to legacy format 2018-12-24 09:45:47 -05:00
Hypolite Petovan 8db05cfa7c Add new POST route /msearch with associated controller 2018-12-23 21:22:52 -05:00
Hypolite Petovan dc67cff8ef [Database v0004] Add fulltext index to profile for interest match 2018-12-23 21:18:09 -05:00
Hypolite Petovan fc447f07c4 Clean code of Api\Search 2018-12-23 21:15:50 -05:00
Hypolite Petovan 31feea1b7a Updated font awesome paths for version 5.6 2018-12-19 05:52:50 -05:00
Hypolite Petovan d33fb62e35 Add support for RC version (#19) 2018-12-19 04:09:23 -05:00
Hypolite Petovan b61afa9502 Add support for multi-word custom HTML page name 2018-11-19 22:43:34 -05:00
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 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 d66b9aa673 Add new translation strings to PO files
- Add FR translations to latest strings
2018-11-17 08:54:28 -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 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 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 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 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
Hypolite Petovan bbff23caa5 Add debug logging of ProfilePollQueue::add calls 2018-11-13 22:00:50 -05:00