120 Commits

Author SHA1 Message Date
4785f07f12
Always assume UTF-8. 2022-02-20 17:14:54 +01:00
33a98547a7
Fix English language fallback. 2022-02-20 01:36:33 +01:00
694309bec9
Force UTF-8, remove all non-UTF-8 translations. 2022-02-20 01:11:37 +01:00
onli
42f93ee27a spartacus: php 8 compat fix 2021-05-25 22:48:37 +02:00
onli
a8e919961b php 8 compat fix for spartacus when plugin upgrades are available 2021-05-18 19:33:19 +02:00
onli
17786592e7 php 8 compat fixes for plugin installation 2021-05-13 15:33:27 +02:00
onli
f996065a89 spartacus 2.39.2: php8 compat 2021-05-06 20:45:19 +02:00
onli
dd455ae507 Add Gitlab as Spartacus mirror 2020-05-03 13:59:23 +02:00
Thomas Hochstein
bb021db228 Add note to serendipity_event_spartacus.php.
See #685.

Plugin version not incremented on purpose.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-11 12:56:42 +02:00
Thomas Hochstein
5ca9da9a56 [event_spartacus] Change dashboard upgrade notification to simple link.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-28 15:22:58 +01:00
Thomas Hochstein
261bac42f1 Bump event_spartacus version
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-28 13:26:06 +01:00
Thomas Hochstein
ded855f096 [event_spartacus] Simplify count_plugin_upgrades()
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-28 13:21:09 +01:00
Thomas Hochstein
04a3d34176 "$cachedtype" was set twice.
"$cachedtype" is saved anayway before returning;
no need to set it here.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-23 20:50:46 +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
Thomas Hochstein
0805014761 [event_spartacus] Fix upgrade counter.
The plugin name was derived from its
install path - but bundled sidebar and
event plugins may share a path. So use
the name instead (and strip the instance
hash from it).

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-17 18:14:26 +02:00
Thomas Hochstein
6cee25afdc [event_spartacus] Bump version + changelog entry.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-10 23:39:45 +02:00
Thomas Hochstein
074a63b696 [event_spartacus] Add code dashboard notifications.
New 'backend_plugins_upgradecount' hook.
Add language constants.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-10 23:35:16 +02:00
Thomas Hochstein
7f14a9c78e [event_spartacus] Show number of possible upgrades.
This could use a bit of eye candy.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-10 23:33:52 +02:00
Thomas Hochstein
132f161d48 [event_spartacus] Add a plugin upgrade notifier.
New function count_plugin_upgrades() to count
upgradeable plugins, sidebar as well as event.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-10 23:32:32 +02:00
Thomas Hochstein
ae3f768bb7 [event_spartacus] Don't cache wrong plugin list.
Declaring $pluginlist as static will cache the
database query results and always return the same
list of plugins - no matter which type is queried
(sidebar or event).

This cache must be busted if another type of
plugins is queried.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-10 22:18:50 +02:00
Garvin Hicking
d10aaf8ffd Add new "legal" properties for affected plugins.
Disable subtome by default.
2018-04-03 11:17:22 +02:00
Thomas Hochstein
02b70e2266 Another fix to Spartacus after dropping netmirror.
See #548.

Expands b0fb8d2d126bc8c6e2745c466eb5429c18615738
by adding the necessary fix at another code point.

Fixes a whitespace issue (tabs -> spaces).

Add Changelog entries.

Needs to be backported to 2.1 after tests and review.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2018-03-30 13:17:51 +02:00
onli
b0fb8d2d12 Sync: Drop netmirror from spartacus 2018-03-28 21:09:53 +02:00
Thomas Hochstein
5ad93297ed Change Spartacus default mirror to github.
Netmirror is not very reliable currently.

Add Changelog file.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-04-12 18:37:30 +02:00
klemens
5a95db314a spelling fixes 2017-04-06 22:26:07 +02:00
onli
d4d46855c2 Add formtoken to upgrade button 2017-01-26 14:11:54 +01:00
Matthias Mees
7410465496 Improve accessibility of iconfont icons
Iconfont icons are of no value to screenreader users; in our case,
they get alternative text. By adding 'aria-hidden="true"' to the
<span> holding the iconfont icon, we avoid the screenreader trying
to announce the iconfont icon.
2016-10-26 11:29:25 +02:00
Matthias Mees
1669d72046 German translation universal plugin update button 2016-06-25 11:53:37 +02:00
onli
d973e99933 Workaround PHP < 5.6 bug, not verifying certs, stopping Request2
See http://board.s9y.org/viewtopic.php?f=10&t=20773 and #399
2016-06-22 19:42:07 +02:00
Ian
e87ab8729d fix 2 issues with commit f94c85c 2016-06-01 13:11:15 +02:00
onli
e6202fcf23 Spartacus: Use Http/Request2 (#399) 2016-05-01 21:48:32 +00:00
onli
7e27920421 Spartacus: Support recommended property for themes 2016-04-18 21:33:31 +00:00
Ian
0d981fcb86 Revert "spartacus add lang"
This reverts commit 2f71892daf65518d6b3c1f58d4c2488d0e749269.
2016-03-20 15:10:57 +01:00
Ian
2f71892daf spartacus add lang 2016-03-20 15:07:01 +01:00
Matthias Mees
55061e4dc7 Add new lang constant for Spartacus
References #383
2016-03-20 15:04:25 +01:00
onli
668363eb1b Merge event and sidebar update page into one (#383) 2016-03-20 14:40:08 +00:00
Ian
4267203a64 add missing hack defense 2016-02-08 15:28:17 +01:00
Ian
fd9e77a4c8 remove $Revision$ 2016-02-08 15:27:34 +01:00
Ian
f94c85c8e1 consistent plugin usage - spartacus
this and followup commits touches:
    use load_languiage API
    class method parenthesis "\n{\n    <code>\n}\n",
    case break switches,
    consistent boolean usage,
    append css to eventData
    and other cleanups
2016-01-26 14:09:15 +01:00
Ian
00f5a6f940 that should be it with langs 2016-01-22 16:57:25 +01:00
Ian
e51533bc31 lang tabs removal 2016-01-21 20:38:37 +01:00
Ian
1a0672cb78 lang cleanup core spartacus plugin 2016-01-21 18:13:20 +01:00
Ian
03a94807eb remove $id$ 2015-09-22 18:11:28 +02:00
Ian
6b9f08a1fe minor 2015-08-16 17:34:21 +02:00
Garvin Hicking
5398e2f72a Let spartacus hook into cronjob plugin to mail plugin update notifications 2015-03-16 17:42:22 +01:00
garvinhicking
0cce92d4d7 Add ability to preview demo themes in spartacus. 2015-03-16 14:31:34 +01:00
onli
f7c0fa23bc Show spartacus errors, maka ajax detection global 2015-01-30 22:07:08 +01:00
onli
08a9ffcd90 Move spartacus multi-upgrade hint to tooltip 2014-11-09 16:50:38 +01:00
onli
fb3fb774fa Spartacus: Remove upgrader hint message
Should be reworded if the messaged proves to be really necessary, or rather the mentioned functionality added (#194)
2014-11-02 17:26:05 +01:00
onli
b9feb9602c Spartacus: Show only one update success msg (#217) 2014-09-19 16:29:48 +02:00