[geeklog-hg] [Geeklog-Core/geeklog] 290b53: Partial Fix for COM_getLanguageFromURL
GitHub
noreply at github.com
Mon Dec 11 07:41:54 EST 2017
Branch: refs/heads/feature/twofactor
Home: https://github.com/Geeklog-Core/geeklog
Commit: 290b53ea9f8bd8f80840cb428657bbb4da422dc3
https://github.com/Geeklog-Core/geeklog/commit/290b53ea9f8bd8f80840cb428657bbb4da422dc3
Author: Tom Homer <tomhomer at gmail.com>
Date: 2017-12-08 (Fri, 08 Dec 2017)
Changed paths:
M public_html/article.php
M public_html/index.php
M public_html/lib-common.php
M public_html/staticpages/index.php
M public_html/switchlang.php
M system/classes/url.class.php
Log Message:
-----------
Partial Fix for COM_getLanguageFromURL
Fix for issue #819
- COM_getLanguageFromURL renamed to _getLanguageFromURL. Now should only be called by core
- Unfortunately COM_getLanguage needs to get called almost right away when a visitor visits a page. This means if the language is not already set from a previous visit _getLanguageFromURL is required to guess at the language. Code still needs to be added to guess the language id for url_routing
- Fix for switch language block to not display if user not allowed to change language.
- Added to $_URL class that allows item (like a article or plugin) to set the id for the url and the language. This means no guessing by switch language block anymore
- New code for plugins that uses $_URL class to support an item that has multiple languages (like topics, articles, staticpage). This may break multi-language support a bit for any other plugins that support this type of feature
Commit: ed4e6f6e4a0d73c9ba20ef48a7b9218401c6e6d4
https://github.com/Geeklog-Core/geeklog/commit/ed4e6f6e4a0d73c9ba20ef48a7b9218401c6e6d4
Author: Tom Homer <tomhomer at gmail.com>
Date: 2017-12-08 (Fri, 08 Dec 2017)
Changed paths:
M public_html/lib-common.php
Log Message:
-----------
Update comments for #819
Commit: cc66f9e45d66eaab827c6d65e4ae275f534c4b29
https://github.com/Geeklog-Core/geeklog/commit/cc66f9e45d66eaab827c6d65e4ae275f534c4b29
Author: Kenji ITO <mystralkk at gmail.com>
Date: 2017-12-10 (Sun, 10 Dec 2017)
Changed paths:
M public_html/article.php
M public_html/index.php
M public_html/lib-common.php
M public_html/staticpages/index.php
M public_html/switchlang.php
M system/classes/url.class.php
Log Message:
-----------
Merge branch 'master' into feature/twofactor
Commit: 0c9453b4d3a3dd120afaf541fadacd4e84dd335a
https://github.com/Geeklog-Core/geeklog/commit/0c9453b4d3a3dd120afaf541fadacd4e84dd335a
Author: Tom Homer <tomhomer at gmail.com>
Date: 2017-12-10 (Sun, 10 Dec 2017)
Changed paths:
M plugins/staticpages/functions.inc
M plugins/staticpages/install_defaults.php
M public_html/admin/install/config-install.php
M public_html/article.php
M public_html/index.php
M public_html/lib-common.php
M public_html/staticpages/index.php
M public_html/switchlang.php
M system/classes/url.class.php
M system/lib-plugins.php
M system/lib-topic.php
Log Message:
-----------
Multi-Language Items fully supported including directly visiting a multi language page and using the switch language block
Fix for #819. No more guessing at URLs for language variables. Updated to fully support multi language items from plugins. Plugins now need to register a core config option langurl_pluginname to support multi-language items. See function _getLanguageInfoFromURL in lib-common for more information (which replaced COM_getLanguageFromURL).
Topics, Articles and Staticpages fully support this feature.
Commit: d7b5c8bd04e6ede190cb09a420884794fd86084e
https://github.com/Geeklog-Core/geeklog/commit/d7b5c8bd04e6ede190cb09a420884794fd86084e
Author: Tom Homer <tomhomer at gmail.com>
Date: 2017-12-10 (Sun, 10 Dec 2017)
Changed paths:
M system/lib-plugins.php
Log Message:
-----------
Update Comment
Updated comment for #819
Commit: 6c992812e45007624f4708ec6e43fd6f433872c0
https://github.com/Geeklog-Core/geeklog/commit/6c992812e45007624f4708ec6e43fd6f433872c0
Author: Tom Homer <tomhomer at gmail.com>
Date: 2017-12-10 (Sun, 10 Dec 2017)
Changed paths:
M system/lib-topic.php
Log Message:
-----------
Fix for Topic support of PLG_getItemInfo
Fix for #819
Commit: 5a168afa31c1d530133c9d94064be8e5bfd1e2ca
https://github.com/Geeklog-Core/geeklog/commit/5a168afa31c1d530133c9d94064be8e5bfd1e2ca
Author: Kenji ITO <mystralkk at gmail.com>
Date: 2017-12-11 (Mon, 11 Dec 2017)
Changed paths:
M plugins/staticpages/functions.inc
M plugins/staticpages/install_defaults.php
M public_html/admin/install/config-install.php
M public_html/article.php
M public_html/index.php
M public_html/lib-common.php
M public_html/staticpages/index.php
M public_html/switchlang.php
M system/classes/url.class.php
M system/lib-plugins.php
M system/lib-topic.php
Log Message:
-----------
Merge branch 'master' into feature/twofactor
Commit: 18da37aa29f0754aa1883ae4e8ff8f74e5867b1d
https://github.com/Geeklog-Core/geeklog/commit/18da37aa29f0754aa1883ae4e8ff8f74e5867b1d
Author: Tom Homer <tomhomer at gmail.com>
Date: 2017-12-11 (Mon, 11 Dec 2017)
Changed paths:
M plugins/staticpages/functions.inc
M plugins/staticpages/install_updates.php
M sql/updates/mysql_2.1.3_to_2.2.0.php
M sql/updates/pgsql_2.1.3_to_2.2.0.php
Log Message:
-----------
Added missing config options to upgrade scripts
Added config values to core and staticpage plugin upgrade scripts for feature #819
Commit: 47573970e14d118e8bbad96fe2ebd0f8d7cd7071
https://github.com/Geeklog-Core/geeklog/commit/47573970e14d118e8bbad96fe2ebd0f8d7cd7071
Author: Kenji ITO <mystralkk at gmail.com>
Date: 2017-12-11 (Mon, 11 Dec 2017)
Changed paths:
M plugins/staticpages/functions.inc
M plugins/staticpages/install_updates.php
M sql/updates/mysql_2.1.3_to_2.2.0.php
M sql/updates/pgsql_2.1.3_to_2.2.0.php
Log Message:
-----------
Merge branch 'master' into feature/twofactor
Commit: fbc32d2bd85f9951b4ddcc197af7c599b9af8866
https://github.com/Geeklog-Core/geeklog/commit/fbc32d2bd85f9951b4ddcc197af7c599b9af8866
Author: Kenji ITO <mystralkk at gmail.com>
Date: 2017-12-11 (Mon, 11 Dec 2017)
Changed paths:
M public_html/admin/install/config-install.php
M sql/mysql_tableanddata.php
M sql/pgsql_tableanddata.php
M sql/updates/mysql_2.1.3_to_2.2.0.php
M sql/updates/pgsql_2.1.3_to_2.2.0.php
M system/lib-database.php
Log Message:
-----------
Updated database info
Commit: 99cf3507452ded4eba039c2d95f92a9da759e348
https://github.com/Geeklog-Core/geeklog/commit/99cf3507452ded4eba039c2d95f92a9da759e348
Author: Kenji ITO <mystralkk at gmail.com>
Date: 2017-12-11 (Mon, 11 Dec 2017)
Changed paths:
M language/english.php
M language/english_utf-8.php
M language/japanese_utf-8.php
Log Message:
-----------
Updated language files
Commit: e8b86fe47abff96b68d1af6810f6a74cf1c69339
https://github.com/Geeklog-Core/geeklog/commit/e8b86fe47abff96b68d1af6810f6a74cf1c69339
Author: Kenji ITO <mystralkk at gmail.com>
Date: 2017-12-11 (Mon, 11 Dec 2017)
Changed paths:
A system/classes/TwoFactorAuthentication.php
Log Message:
-----------
Added a wrapper class
Compare: https://github.com/Geeklog-Core/geeklog/compare/f42d42ba8790...e8b86fe47abf
More information about the geeklog-cvs
mailing list