1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 04:38:27 +01:00

91 Commits

Author SHA1 Message Date
Cameron
4f88719159 Fixes #4703 - Google sitemap instructions updated. 2022-03-14 15:43:11 -07:00
Cameron
be12767d33 Added Frequency and Priority fields to admin area filter/batch drop-down menu. 2022-03-04 13:09:35 -08:00
Cameron
3592c5ae30 Fix for gsitemap SEF URL Aliases 2022-03-04 09:22:36 -08:00
Cameron
c889d666b9 Use separate SEF value. 2022-03-03 18:23:05 -08:00
Cameron
7254c87a04 Experimental: Dynamically generated news sitemap. 2022-03-03 18:13:50 -08:00
Cameron
afc0489e8c e107 Website URL updated to https. 2021-11-29 13:31:32 -08:00
Cameron
171cac87b1 Admin-UI type=datestamp and batch=true was producing unexpected results in the batch filter. Now provides an option for setting the current date/time. 2021-09-23 12:37:30 -07:00
Nick Liu
f6d6d1b185
Deprecate e_parse::toJS()
`e_parse::toJS()`, documented with the description

> Convert text blocks which are to be embedded within JS

, does not protect strings from injections, which appears to be its
primary use.  Additionally, it performs multiple unrelated string
modifications:

* Replace Windows line breaks with a literal `\\n` (which would later be
  parsed as `\n` in JavaScript/JSON)
* Does not modify Unix line breaks (`\n`), which is inconsistent with
  the Windows line break behavior
* Removes HTML tags
* Replaces HTML entities as `htmlentities()` does

This method cannot be fixed because its usages are inconsistent.  Most
notably, some usages surround the method's output in single quotes while
others surround it with double quotes.  Strings cannot be JSON-encoded
without confounding quotation mark styles.

All core usages of `e_parse::toJS()` have been replaced with
alternatives, which are also documented in the method's DocBlock.

Fixes: #4546
2021-08-31 00:11:14 +02:00
Cameron
95fab15c02 Gsitemap: Display link visibility status while importing. 2021-07-22 13:51:35 -07:00
Cameron
fce00b4276 Gsitemap: Fix for importing navigation links that use a SEF URL configuration. 2021-07-22 12:15:04 -07:00
Cameron
acc1a9af0d Plugin script tests and PHP8 fixes. 2021-01-22 13:44:10 -08:00
Cameron
f055b49d91 PHP8 Plugin code cleanup 2021-01-21 09:38:38 -08:00
Cameron
76144e6b4f Issue #4352 e107::canonical() method added.
Use define('e_DEBUG_CANONICAL', true); in e107_config.php to test usage.
2021-01-19 07:54:13 -08:00
Cameron
b286d66e88 Fixes #4351 Gsitemap canonical link. 2021-01-17 10:30:29 -08:00
Cameron
15488f1c7e Closes #4311 - gSitemap select-all option. 2020-12-29 10:30:05 -08:00
Cameron
450e392741 Issue #3291 gSitemap table changes. Generic handling of link updates via e_gsitemap.php 2020-12-23 15:03:31 -08:00
Cameron
3f8e043998 Replaced e107::getAdminLog() with e107::getLog(). e107::getAdminLog() will continue as a deprecated alias. 2020-12-22 09:36:02 -08:00
Cameron
f5153bf640 Updating of deprecated method usage. Removal of old files. Log tests added. 2020-12-18 09:39:02 -08:00
Cameron
b21191b0a1 gSitemap converted to admin-ui. (incomplete). Enable debug to view old code. 2020-12-11 11:26:22 -08:00
Cameron
1d080e4f9d Issue #3291 Trigger gsitemap event on admin_ui_update .
New universal adminUI events added: admin_ui_create, admin_ui_created, admin_ui_update, admin_ui_updated, admin_ui_delete, admin_ui_deleted. Event data now includes the table that was modified and the configured admin-ui $pluginName
2020-12-11 08:57:19 -08:00
Cameron
b0f28633bb Improved image testing. File class mime-detection improvements. Fix for use of e107_ini_set() which is only declared during installation. gSitemap typo fix. 2020-12-10 09:41:00 -08:00
Cameron
d0feb76cef Issue #3291 - gSitemap upgrades to save table and table_id info for syncing on changes. (coming soon) 2020-12-09 15:12:56 -08:00
Cameron
09fb747374 Code cleanup 2020-12-05 14:13:18 -08:00
Cameron
68e251d771 Outdated ping functions removed from news and gsitemap. xmlrpc classes removed. 2020-12-05 12:39:50 -08:00
Cameron
e1593de8ee Removed redundant PHP closing tags. 2020-08-10 15:49:44 -07:00
Cameron
d7889bc759 Google Sitemap: The XML sitemap can now be retrieved from /sitemap.xml 2020-05-12 16:41:41 -07:00
Tijn Kuyper
efb314d083
#3866 - gsitemap typofix 2019-10-11 19:41:07 +02:00
Tijn Kuyper
0d2b81b741
Clean-up gsitemap plugin for recent PHP versions 2019-10-11 18:19:31 +02:00
Tijn Kuyper
5ffa7953f0
Fixes #3866 - gsitemap manual entry now working
Also added proper error information in debug mode
2019-10-11 18:19:07 +02:00
Tijn Kuyper
fa684fe5e4
gsitemap - code clean-up
indentation, methods, etc.
2019-10-11 17:34:09 +02:00
Deltik
1f824faa69
Renormalized all text file line endings 2019-03-29 19:13:32 -05:00
Cameron
943ea1ddd7 Replace usage of deprecated updateArray() method. 2019-03-02 08:49:42 -08:00
Cameron
3b049fefd5 Fixes #3009 new e_gsitemap addon. 2018-01-29 12:03:15 -08:00
Cameron
b40b1916a3 Issue #2970 btn-default > btn-default btn-secondary 2018-01-10 15:06:40 -08:00
Cameron
17b1f844a7 SEF URL added for gsitemap. URL aliases added for Statistics plugin. 2016-02-28 09:26:21 -08:00
Cameron
796f5fa95c Header location cleanup. From now, please use e107::redirect(); to redirect to the home page, or e107::redirect('admin'); to redirect to the admin start page or e107::redirect($url); 2016-01-13 19:18:12 -08:00
Cameron
6b5d95388f Issue #6 Language-file standards. Wrap definitions in double-quotes. 2015-07-07 17:43:49 -07:00
Cameron
715d99f48c Fixes #965 - Fatal error on Social plugin. 2015-05-20 11:20:22 -07:00
Cameron
20f2b552da Allow Sitelinks to be switched between auto-generated SEF Urls and regular URLs. Requires link_owner (plugin directory) field value with corresponding e_url.php configuration. 2015-03-31 10:21:50 -07:00
Cameron
fbb0b63ae9 replaced calls to deprecated plugInstalled() with e107::isInstalled() 2015-02-07 13:38:29 -08:00
Cameron
7f57db1637 Fixes #859 Gsitemap language file and other code cleanup. 2015-02-05 11:58:56 -08:00
Cameron
76e7a9fef2 Language-files renamed to match v2.x specifications. 2015-01-31 14:22:54 -08:00
Cameron
a78f6ae14e Language file cleanup continued. 2015-01-31 01:09:25 -08:00
Cameron
9fd5d99cd9 Fixes #834 - gSitemap and Page sef-urls. 2015-01-28 11:42:29 -08:00
Cameron
ac56b5ca10 More $admin_log global removal. 2014-10-23 11:12:13 -07:00
Cameron
bb76398ac1 Fixes #501 - restored delete_32.png and delete_16.png for Backward compatibility. Updated some scripts to use ADMIN_DELETE_ICON instead of the deprecated ADMIN_DELETE_ICON_PATH . 2014-01-23 04:38:48 -08:00
Moc
2176c625fb Minor code clean-up (notify LAN are now in global LAN) 2013-09-16 12:46:52 +02:00
Cameron
d10dbc443a Removed global $pref. 2013-06-17 15:42:40 -07:00
SecretR
31f096cd14 Attempt to fix the import of custom pages and build well formed sitemap
links
2013-04-28 19:14:33 +03:00
Tijn Kuyper
d06bc7b60e Gsitemap - minor code cleanup 2013-03-04 13:09:35 +01:00