Markus Birth
d43412d599
Added missing bundled plugins to plugin_api.inc.php (and .gitignore).
2022-02-11 15:51:54 +01:00
onli
2bad6efd9c
Hide PHP warnings in production mode ( #765 )
...
* Hide PHP warnings in production mode
* Silence error reporing during second language file read
2021-06-26 16:49:21 +02:00
onli
ef79ef260b
PHP 8 compat fixes for the core when trackack plugin is installed
2021-06-06 18:53:48 +02:00
onli
17786592e7
php 8 compat fixes for plugin installation
2021-05-13 15:33:27 +02:00
onli
25cfb97ece
php8 compat fixes to save entries again
2021-05-09 17:17:54 +02:00
onli
395d018908
php8 compat for login
2021-05-06 20:45:19 +02:00
onli
9784fda858
Add () to set ?? evaluation order in ifs
2021-05-02 09:50:58 +02:00
onli
90dd334327
PHP 8 compatibility fixes for the installer
2021-05-02 09:50:58 +02:00
onli
9ac2504f4f
PHP8 compat for frontpage, plugin-api warning
2021-04-19 17:19:44 +02:00
Hanno Böck
931e621549
Replace token generation with hash and uniqid with secure random numbers from random_bytes
2021-02-03 17:44:12 +01:00
Thomas Hochstein
52952ffe36
Fix comment in plugin_api.inc.php
...
Signed-off-by: Thomas Hochstein <thh@inter.net >
2020-03-28 09:24:30 +01:00
onli
51448ddcae
Prevent header already sent error for serendipity_editor.js.tpl
2020-03-25 23:49:10 +01:00
Thomas Hochstein
d179f1b154
Add plugin source to list of plugins.
...
* plugin_api.inc.php:
- Add static list of bundled plugins.
- Add function to check if plugin is
bundled.
* plugins.inc.php:
- Set source of plugin
(Spartacus, bundled or local).
* plugins.inc.tpl:
- Display plugin source.
* Add language constants.
Signed-off-by: Thomas Hochstein <thh@inter.net >
2020-03-24 15:57:48 +01:00
Stephan Brunker
502b837dd6
Fix a lot of single issues and overhaul the language settings
...
see docs/NEWS and the plugin/changelog files for details
2019-10-13 22:49:03 +02:00
onli
f049892e39
Make serendipity_event_responsiveimages a default plugin
...
That means it will be activated during the s9y installation
2019-02-09 15:17:25 +01:00
Hanno
2669745975
replace deprecated each() with foreach()
2018-07-31 20:58:48 +02:00
Garvin Hicking
b8897b3250
PHP7 check
2017-04-08 17:01:31 +02:00
Garvin Hicking
cfd75ec877
Security patch, see docs/NEWS
2016-09-22 12:51:00 +02:00
onli
5108486af3
Remove backend js from preview_iframe in next
2016-09-11 15:38:41 +02:00
onli
b73dd8bb1e
Introduce getFile to the plugin api
...
Useful to get files (like smiley graphics) from the fallback chain
2016-08-23 00:21:35 +02:00
onli
8affa1126a
Massively simplify fallback chain logic
...
Should've been tested in the alpha, but given the problems with the preview logic (see http://board.s9y.org/viewtopic.php?f=3&t=20791 ) I'm convinced we need this now. This mainly reworks serendipity_getTemplateFile to follow a simple scheme on where to look for templates – either in the backend or frontend, based on where we are but overridable, then in the engine, then in the defaultTemplate as fallback.
2016-07-24 20:13:36 +02:00
onli
a8ac90c466
Init php 7 compatibility ( #399 )
...
A first approach at fixing s9y for php 7, which makes it possible to
write an entry without any error message. The specific changes are: 1.
__construct for the plugin classes 2. Update Cache Lite to a modern
version to fix its similar constructor problem 3. Remove the
session_regenerate_id call from the session destructor (should get
re-added to session creation where necessary) 4. Remove error handler to
prevent silenced warnings from becoming fatal exceptions
2016-04-26 22:39:11 +00:00
Ian
f9fc569c5d
remove ?
2016-02-10 10:46:58 +01:00
Ian
d97acf8b05
remove RQ, see commit and cooments
...
1c1c11f31fd31b54ae98f2921f8411208704c9e5#commitcomment-15999285
2016-02-10 10:44:58 +01:00
Ian
1c1c11f31f
RQ some function arguments
...
What shall we do with them, see serendipity_fetchEntry() and getClassByInstanceID() ?
2016-02-08 15:14:49 +01:00
Ian
96a929df0b
remove a strange double whopper ;-)
2015-12-20 20:18:42 +01:00
Ian
0f12a87e31
fix 'backend_save' hooked script to only apply on save condition
2015-12-20 17:31:51 +01:00
Ian
d38ea97fa4
fix serendipity_plugin_api_core_event_hook conditions
2015-12-20 17:29:18 +01:00
Ian
e672cf5350
fix typo
2015-12-11 17:10:57 +01:00
Ian
7fd42fde05
fix typo
...
there are more.... of this
2015-12-01 11:39:13 +01:00
Ian
df17a410b0
fix eraseEntryEditorCache
...
remember, this is preview_iframe.tpl updertHooks IFRAME and may not be jQuery based
References #343
2015-08-18 11:33:04 +02:00
Ian
a5d5e7d940
the jquery check does not want to iterate a fallback
...
References #343
2015-08-16 18:32:02 +02:00
Ian
d5eae21a9c
suggested fix for the Serendipity fallback chaining
...
This fixes the plugin tpl fallback for all plugins, already using the parseTemplate() method. All others, which may still follow the themes fallback (like contactform etc), would need to always be part of the user template $serendipity['template'], or be fixed later on.
This also fixes the backend chaining, which now simply follows the force with a possible engine and then uses $serendipity['template_backend'] (2k11), $serendipity['defaultTemplate'] (2k11), 'default'.
As a third, this now uses the correct preview_iframe.tpl file on save and checks for a correct set jquery_backend.js in the user theme $serendipity['template'].
Please double check this approach for cases I did not find yet. Thanks! :)
References #343
2015-08-16 18:05:59 +02:00
Garvin Hicking
12ddca1070
Upport.
...
Improved detection for possible javascript errors (i.e. PHP errors, plugins that use invalid PHP 5.4+ syntax, other causes - that people seem to hit a lot)
If the serendipity.spawn function could not be found, we emit a warning (through javascript...)
See thread on forums: http://board.s9y.org/viewtopic.php?f=11&t=20286
Conflicts:
docs/NEWS
lang/UTF-8/plugin_lang.php
lang/UTF-8/serendipity_lang_bg.inc.php
lang/UTF-8/serendipity_lang_cn.inc.php
lang/UTF-8/serendipity_lang_cs.inc.php
lang/UTF-8/serendipity_lang_cz.inc.php
lang/UTF-8/serendipity_lang_da.inc.php
lang/UTF-8/serendipity_lang_de.inc.php
lang/UTF-8/serendipity_lang_en.inc.php
lang/UTF-8/serendipity_lang_es.inc.php
lang/UTF-8/serendipity_lang_fa.inc.php
lang/UTF-8/serendipity_lang_fi.inc.php
lang/UTF-8/serendipity_lang_fr.inc.php
lang/UTF-8/serendipity_lang_hu.inc.php
lang/UTF-8/serendipity_lang_is.inc.php
lang/UTF-8/serendipity_lang_it.inc.php
lang/UTF-8/serendipity_lang_ja.inc.php
lang/UTF-8/serendipity_lang_ko.inc.php
lang/UTF-8/serendipity_lang_nl.inc.php
lang/UTF-8/serendipity_lang_no.inc.php
lang/UTF-8/serendipity_lang_pl.inc.php
lang/UTF-8/serendipity_lang_pt.inc.php
lang/UTF-8/serendipity_lang_pt_PT.inc.php
lang/UTF-8/serendipity_lang_ro.inc.php
lang/UTF-8/serendipity_lang_ru.inc.php
lang/UTF-8/serendipity_lang_sa.inc.php
lang/UTF-8/serendipity_lang_se.inc.php
lang/UTF-8/serendipity_lang_sk.inc.php
lang/UTF-8/serendipity_lang_ta.inc.php
lang/UTF-8/serendipity_lang_tn.inc.php
lang/UTF-8/serendipity_lang_tr.inc.php
lang/UTF-8/serendipity_lang_tw.inc.php
lang/UTF-8/serendipity_lang_zh.inc.php
lang/addlang.txt
lang/plugin_lang.php
lang/serendipity_lang_bg.inc.php
lang/serendipity_lang_cn.inc.php
lang/serendipity_lang_cs.inc.php
lang/serendipity_lang_cz.inc.php
lang/serendipity_lang_da.inc.php
lang/serendipity_lang_de.inc.php
lang/serendipity_lang_en.inc.php
lang/serendipity_lang_es.inc.php
lang/serendipity_lang_fa.inc.php
lang/serendipity_lang_fi.inc.php
lang/serendipity_lang_fr.inc.php
lang/serendipity_lang_hu.inc.php
lang/serendipity_lang_is.inc.php
lang/serendipity_lang_it.inc.php
lang/serendipity_lang_ja.inc.php
lang/serendipity_lang_ko.inc.php
lang/serendipity_lang_nl.inc.php
lang/serendipity_lang_no.inc.php
lang/serendipity_lang_pl.inc.php
lang/serendipity_lang_pt.inc.php
lang/serendipity_lang_pt_PT.inc.php
lang/serendipity_lang_ro.inc.php
lang/serendipity_lang_ru.inc.php
lang/serendipity_lang_sa.inc.php
lang/serendipity_lang_se.inc.php
lang/serendipity_lang_sk.inc.php
lang/serendipity_lang_ta.inc.php
lang/serendipity_lang_tn.inc.php
lang/serendipity_lang_tr.inc.php
lang/serendipity_lang_tw.inc.php
lang/serendipity_lang_zh.inc.php
2015-03-02 11:16:55 +01:00
Ian
1eff19d1b0
use in release versions only
2015-01-11 15:29:53 +01:00
Ian
3df6aff87a
cosmetics
2015-01-01 16:04:41 +01:00
onli
92afc37753
Introduce serendipity_specialchars-wrapper for encoding bug ( #236 )
...
PHP 5.4 sets UTF-8 as the default for htmlspecialchars, htmlentities and html_entity_decode. The first two will echo an empty string when given a string with umlauts. This commits introduces serendipity_specialchar-wrapper that are meant to be a temporary solution for the s9y-core until PHP 5.6 fixed the bug, so the native charset option of s9y continues to work.
2014-11-23 23:41:08 +01:00
Ian
93667e2f46
revert main fbf821c capabilities changes
2014-10-06 14:18:37 +02:00
Ian
fbf821c714
make $serendipity['capabilities'][*] variables work
2014-10-02 19:11:00 +02:00
onli
37b55759f2
New Plugin default selection ( #71 )
...
This is based on Garvins proposal, with some small additions. Subject to further change
2014-09-28 15:05:54 +02:00
Matthias Mees
6bd322e195
indexedDB feature test for autocache in editors.
...
References #186
2014-06-17 11:31:38 +02:00
Ian
4b3b005833
revert 433da49
2014-06-02 17:06:30 +02:00
Ian
433da491d1
add frontent fallback for errorHandlerCreateDOM() js
...
in case theme does not have js hooked {$head_link_script}
Fixes #167
2014-06-02 15:49:06 +02:00
onli
eef94a8048
Integrate autosave_local into core ( #118 )
2014-05-29 19:26:13 +02:00
Ian
c6f4da1c04
temporary fix missing backend_js hook
...
But there still are serious issues left, see Reference #167
2014-05-24 11:55:59 +02:00
Ian
13c9b4b74d
frontend jquery.noConflict mode set deprecated
...
and make this configurable by $serendipity['capabilities']['jquery-noconflict'] = false;
References #166
2014-05-23 14:14:58 +02:00
Garvin Hicking
0e008d0885
This should make jquery.js of a theme no longer be included for the default backend.
...
Custom backends would now use jquery_backend.js if they really wanted to provide their own.
References #166
2014-05-22 11:59:50 +02:00
Garvin Hicking
e8bae220e6
A proposal on how 2k11 could utilize pre-event hooks. Now per-event so that the function name no longer
...
clashes with child-themes that need to include the 2k11 config.inc.php.
2014-05-22 11:44:25 +02:00
onli
694b446e1a
Move serendipiy_editor.js.tpl convertion into core
...
http://board.s9y.org/viewtopic.php?f=11&t=19927
2014-05-16 16:13:16 +02:00
Ian
c69932eaae
rename create() js errorHandler function to errorHandlerCreateDOM()
2014-03-24 15:19:16 +01:00