Commit graph

131 commits

Author SHA1 Message Date
ad6db150c5 Update references to friendica/friendica-directory stable branch 2020-06-15 14:05:26 -04:00
aeb0a67b12 updated CS, DE, FR and added ar ca cs de en en_GB et fr it ja nl pl ru th zh_CN translation 2020-06-15 09:54:58 +02:00
b0a258cd0e Use byjg/uri dependency instead of adding new URL-handling library in PHPRenderer 2020-06-14 15:13:18 -04:00
6cdbcbddb1 [translation] Update translation files after string update 2020-06-13 13:25:05 -04:00
476f7ae832 Add ZRL parameter support sitewide in templates 2020-06-13 13:21:18 -04:00
57dd610e73 Add u() and r() method to PhpRenderer
- Add Router dependency
2020-06-13 13:20:49 -04:00
0cdbd3af2d Add ZrlMiddleware to the stack 2020-06-13 13:17:40 -04:00
230ceeab29 Add names to routes we need to get URLs for 2020-06-13 13:17:19 -04:00
f47f263fc3 Add ZrlMiddleware class 2020-06-13 13:16:35 -04:00
a402fbdf5d Add Utils\Url class 2020-06-13 13:16:25 -04:00
10edbea99e Update author email address in file headers 2020-06-13 13:15:53 -04:00
Steffen K9
dfd1a14300
Change the statistics query as well 2019-11-01 17:18:15 +01:00
Steffen K9
778168e0c4
Show also servers with policy 'approve'
Changed the queries to show also servers with register policy 'approval'.
2019-11-01 17:15:26 +01:00
8c602d3566 updated CS, DE, FR and added AR, en_GB, ET, IT, JA, NL, PL, TH, zh_CN translation 2019-09-30 20:38:28 +02:00
2e1812a369 added language codes to the settings.php file 2019-09-30 20:35:41 +02:00
a0cfd33521 Fix queries to work with sql_mode=only_full_group_by 2019-05-12 14:00:44 -04:00
a7a9001f5e [Database v0005] Change server.ssl_state column type to tinyint
- Fix "Data truncated" SQL error with server.ssl_state column type
2019-03-04 22:11:38 -05:00
2324c4836f Remove unused use statement in Controllers\Console\ExtractStrings 2019-03-04 22:05:23 -05:00
1bbe4d3289 Add SSL and availability condition in /servers/surprise (#15) 2019-02-03 09:36:53 -05:00
d0102327c0 Add /servers/surprise endpoint 2019-02-03 09:30:31 -05:00
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
4da3acb52a Align /msearch output to legacy format 2018-12-24 09:45:47 -05:00
8db05cfa7c Add new POST route /msearch with associated controller 2018-12-23 21:22:52 -05:00
dc67cff8ef [Database v0004] Add fulltext index to profile for interest match 2018-12-23 21:18:09 -05:00
fc447f07c4 Clean code of Api\Search 2018-12-23 21:15:50 -05:00
31feea1b7a Updated font awesome paths for version 5.6 2018-12-19 05:52:50 -05:00
d33fb62e35 Add support for RC version (#19) 2018-12-19 04:09:23 -05:00
b61afa9502 Add support for multi-word custom HTML page name 2018-11-19 22:43:34 -05:00
c2de5cf80a Add de_DE to available locales 2018-11-19 22:32:20 -05:00
aa25c475dc Update translations before release
- Add partial de translations
- Update fr translations
2018-11-19 22:20:56 -05:00
e30065657d Fix missing argument in servers controller 2018-11-19 22:13:47 -05:00
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
8c1d4404c7 Add new expected abstract method to Web\BaseController
- Cleanup obsolete use statements
2018-11-19 22:11:22 -05:00
9f80a14565 Add footer with current version
- Move stats links from header to footer
2018-11-19 08:32:58 -05:00
c0a56882bc Fix FR translation 2018-11-18 11:46:22 -05:00
2505436796 Add missing translation string in Layout 2018-11-18 11:40:05 -05:00
d2a9099391 Update translation strings
- Update FR translations
2018-11-18 11:35:42 -05:00
2591f05fb5 Add translation strings to statistics page 2018-11-18 11:35:23 -05:00
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
ce075c80e6 Add statistics page
- Closes https://github.com/friendica/friendica-directory/issues/2
2018-11-18 10:38:43 -05:00
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
012a3f9f8d Add poco retrieval during server poll
- Closes https://github.com/friendica/friendica-directory/issues/7
2018-11-18 10:36:03 -05:00
a828e712a3 Fix SQL error in search 2018-11-17 23:48:08 -05:00
4790067527 Fix SQL error when there's no condition in AccountTypeTabs 2018-11-17 14:15:25 -05:00
d66b9aa673 Add new translation strings to PO files
- Add FR translations to latest strings
2018-11-17 08:54:28 -05:00
4dad98fa04 Add count display for account type tabs
- Add translations strings to AccountTypeTabs
2018-11-17 08:52:23 -05:00
651849b18e Update type-hint/PHPDoc in PhpRenderer 2018-11-17 08:51:13 -05:00
3669e69241 Add PHPRenderer->np__() translation function 2018-11-17 08:50:51 -05:00
b3e0a349c9 Fix overriding headers in extract-strings console 2018-11-17 08:28:04 -05:00
4ca3fd5a32 Add CS translations, thanks Aditoo 2018-11-17 08:21:37 -05:00
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
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
c437eee38e Add base en strings
- Add translated fr strings
2018-11-16 00:01:48 -05:00
fc434f4506 Add extract-strings console 2018-11-16 00:00:19 -05:00
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
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
13a2068a8b Move Photo Controller to Api 2018-11-15 23:41:32 -05:00
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
650f0b4009 Remove unused /tag route 2018-11-15 23:32:07 -05:00
93c2536f18 Add deep merge between default and local settings 2018-11-15 23:30:25 -05:00
88fcd9610c Remove trailing slashes in path settings 2018-11-15 23:29:52 -05:00
fadb733527 Fix server polling error when body was unexpected JSON 2018-11-15 23:29:17 -05:00
31156b8643 Increase verbosity of cron queue counts 2018-11-15 23:28:36 -05:00
63b10c37f5 Add ProfileAdd subconsole 2018-11-13 22:01:52 -05:00
f9b9557415 Add queue size info logging in Controllers/Cron 2018-11-13 22:01:34 -05:00
641dc9b8eb Improve DirectoryAdd console output 2018-11-13 22:01:12 -05:00
bbff23caa5 Add debug logging of ProfilePollQueue::add calls 2018-11-13 22:00:50 -05:00
27c5c14ed7 Fix critical mistake preventing profile to be added to queue 2018-11-13 22:00:29 -05:00
2cabe10fa3 Add return codes to ProfilePollQueue->add 2018-11-13 22:00:07 -05:00
d231a9bc80 Improve Network::isPublicHost 2018-11-13 21:51:58 -05:00
7616249610 Add profile URL test on profile poll 2018-11-12 21:50:50 -05:00
6797eb72cb Add new Network::testURL method
- Remove obsolete intval() call in Network::fetchURL
2018-11-12 21:50:31 -05:00
93e0153112 Add test for public host in profile poll queue add 2018-11-12 21:49:49 -05:00
5207196e1a Fix wrong Network::fetchUrl call in Utils\Scrape 2018-11-12 21:49:06 -05:00
dadcf3239f Fix empty admin profile in server poller 2018-11-12 21:48:40 -05:00
a319f9991c Remove WIP 2018-11-12 21:48:13 -05:00
66dca727a6 Add missing column in profile fulltext index 2018-11-12 14:51:37 -05:00
46db64872a Fix wrong column name in Controllers\Web\Servers 2018-11-12 07:03:24 -05:00
9219be87a2 Add src/settings.php back 2018-11-11 21:27:49 -05:00
201edf2e4a First commit 2018-11-11 21:08:33 -05:00