Commit Graph
100 Commits
Author SHA1 Message Date
Garvin Hicking feb1a8325d Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-09-12 13:49:40 +02:00
Garvin Hicking dc53c4f0dc check autosave also here 2014-09-11 13:02:01 +02:00
Garvin Hicking 971b993a52 Re-add check if serendipityPath is writable in installer. Don't remember why we declared this as bogus. 2014-09-09 15:07:43 +02:00
Garvin Hicking 5c12922510 Personal preferene for autosave
References #213
2014-09-09 14:34:46 +02:00
Garvin Hicking da82fd3a16 support imagemagick thumb parameters, slightly reworked
references pull request #205
2014-09-09 13:58:09 +02:00
Garvin Hicking b606b91272 Proper SQLite PDO filenames in shared installations (Issue #214)
References #214
2014-09-09 13:17:34 +02:00
Garvin Hicking 9b89c3d815 Another stab at fixing Issue #201
When no categories are delivered to serendipity_updertEntry this can mean two things:
- categories need to be un-assigned
- categories where not addressed/fetched/passed to the function [see include/admin/overview.inc.php for publishing a post! Or plugins like freetag, using serendipity_updertEntry]

To address this a new serendipity[had_categories] is added to the backend template, which can be checked for.

Feedback appreciated!
2014-08-08 14:23:19 +02:00
Garvin Hicking f9bddffc3e Rework code to work with array.
References Issue #201
2014-08-08 10:59:40 +02:00
Garvin Hicking e4a44c3663 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-08-08 10:56:16 +02:00
Garvin Hicking 5fdff4c671 Bugfix for not properly setting entry.cats in entry overview
References #201
2014-08-07 10:53:18 +02:00
Garvin Hicking b85e007b85 Add missing constants 2014-08-04 13:36:18 +02:00
Garvin Hicking 938d7144c5 implement patch by @fugue88
References #199
2014-08-04 12:11:07 +02:00
Garvin Hicking 2217826e56 pre next 2014-07-25 10:47:37 +02:00
Garvin Hicking c920aff4c7 Added i18n for new strings 2014-07-25 10:22:20 +02:00
Garvin Hicking da1bf30532 Prepare beta3 for tomorrow. Speak up if you see anything against this. 2014-07-24 11:06:20 +02:00
Garvin Hicking 626d984054 Fix #198 - entry pagination off by one 2014-07-23 09:25:13 +02:00
Garvin Hicking 9459c393df Use proper "generator" metatag. Do not expose version number if not configured. 2014-07-21 12:11:55 +02:00
Garvin Hicking 41388a4a7e we have a problem with a required "PEAR5.php" since this upgrade.
We need to bundle this. I'm short on time, need to remember creating
an issue for this please.
temporary hotfix: Always use PEAR and not PEAR5
2014-07-13 18:51:49 +02:00
Garvin Hicking 83d19d183d stricter array check, thanks to wesley 2014-07-11 11:58:07 +02:00
Garvin Hicking 12e9171e7d Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-06-25 13:23:15 +02:00
Garvin Hicking 63f7510ebd References #134
Fixes thumbnail regeneration, only a problem with proper execution order
2014-06-25 13:22:39 +02:00
Garvin Hicking 6b1b4f2448 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-06-25 13:07:52 +02:00
Garvin Hicking c2e3b5a038 should fix the parse error at least 2014-06-25 13:07:21 +02:00
Garvin Hicking 33193806ed References #189
Combine additional jquery/plugin files into one
Remove single file references
Moved dragdrop.js to serendipity_Editor.js.

Please test. Might make trouble in the installer/upgrader?
2014-06-25 12:28:59 +02:00
Garvin Hicking 32b7bb9679 * Adapted database table structure change for statistics, shoutbox,
karma and spamblock plugin (for new field definition of "ip" field)
      Thanks to rohdef!
2014-06-23 09:37:52 +02:00
Garvin Hicking c0047ebf97 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-06-17 12:26:01 +02:00
Garvin Hicking 6fe42449dd support pgsql 2014-06-17 12:25:44 +02:00
Garvin Hicking f5693b0b86 Added "clean" new option for using backend popups (disabled by default) as a per-user option
References #183
2014-06-17 09:50:26 +02:00
Garvin Hicking 3079caf246 The js/backend_js will not get properly executed when the staticpage plugin is used,
as this generates a 404 error header. Browsers do not execute JS when the header is 404.
Fixes bernd's problem with the freetag autocompletion.
Things always get funny. :-)
2014-06-16 13:50:18 +02:00
Garvin Hicking 6886e38103 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-06-12 15:52:34 +02:00
Garvin Hicking cbcb4ef59a change enablePopup description to clarify, added new lang constants 2014-06-12 15:52:17 +02:00
Garvin Hicking 47b768b7d7 Merge pull request #181 from th-h/thh-htmlvalidation
Some changes for valid HTML5/HTML5.
2014-06-12 15:08:55 +02:00
Garvin Hicking 7f24732078 also block wayback 2014-06-12 15:06:12 +02:00
Garvin Hicking bbf1456fd8 also block archive.org bot 2014-06-03 14:03:42 +02:00
Garvin Hicking 20cf96e969 move "smarty preview" to actual case, should fix the "entry saved" missing message 2014-06-03 11:09:00 +02:00
Garvin Hicking 35c3541d70 Remove approve-button
Add current karma to output
2014-06-02 10:09:29 +02:00
Garvin Hicking 4471b1ac32 * Improved installer to forbid using database table prefixes with
special characters
2014-05-28 14:27:00 +02:00
Garvin Hicking 93d117b45d Move serendipity_html5time definition to usual function scope for better structure 2014-05-28 12:01:26 +02:00
Garvin Hicking 1b37e41e00 Issue #165 - allow to set configuration of children to their parents config, but on their own names.
Global options (navigation) are even carried through so that they use the central part.
This falls back in place rather nicely, I hope it REALLY works. My first tests showed no issues.
2014-05-28 11:48:56 +02:00
Garvin Hicking d1881e474f i18n 2014-05-28 10:38:04 +02:00
Garvin Hicking 0d43f5dea7 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-05-28 10:37:16 +02:00
Garvin Hicking ffb1a0769a fix typo, i81n 2014-05-28 10:37:00 +02:00
Garvin Hicking dab92bdca6 * Adapted serendipity_editor.js to provide more global (though
deprecated) API access methods for plugins like amazonchooser
      and linktrimmer, to perform insertion. Also fixed the
      insertion of text when the ID of the element is not prefixed

(You may need to reload your browsercache to get the new JS)
2014-05-26 12:07:29 +02:00
Garvin Hicking 4c965bd2d5 Rephrased this to make it a bit shorter, more suitable for the NEWS-file IMO.
More details could better be added to the Wiki at some place/point for proper documentation (duh).
2014-05-23 17:35:29 +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
Garvin Hicking f96f0da3f8 Added dev test templates for specific scenarios.
Please read http://board.s9y.org/viewtopic.php?f=11&t=19916

Choosing those templates will probably currently result in errors that need to be addressed.
2014-05-22 11:20:12 +02:00
Garvin Hicking e6320100e8 Provide language constant. 2014-05-22 10:49:36 +02:00
Garvin Hicking 13d8f5fd7c addlang execute, reset textfile 2014-05-19 11:14:11 +02:00
Garvin Hicking 6c06651759 add languages 2014-05-19 11:13:53 +02:00
Garvin Hicking eb07593088 Change logger to only be instantiated when explicitly enabled to not cause unneccessary debugging
especially in dev-installations
References #131
2014-05-19 11:12:47 +02:00
Garvin Hicking 2c5c3eddbf Switch back versions to release versions (also show CVS ids), re-added patch for PEAR 2014-05-14 14:38:04 +02:00
Garvin Hicking a7fdf52eaf Fixed wrong local documentation URL in plugin configuration 2014-05-14 13:37:27 +02:00
Garvin Hicking 1100364efd Added {serendipity_hookPlugin hook="backend_dashboard" hookAll="true"} hook. 2014-05-14 13:21:50 +02:00
Garvin Hicking d4fb7207aa Port fix from wordpress to this 2014-05-14 13:02:29 +02:00
Garvin Hicking 6f0a9b7123 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-05-14 12:59:42 +02:00
Garvin Hicking dd83225447 This is my proposal on implementing the ability to switch frontend and backend templates independently.
- This introduces a new option "template_backend" that will be set to indicate the backend template, defaults to 2k11.
- The "Engine: xxx" line in info.txt still works, but only for the frontend
- The frontend fallback chain defaults to the old "default" template to ensure that themes will work that have "old-style" HTML output
- The backend fallback chain only falls back to 2k11 and then "default"
- In the future, we will remove templates/default/admin once the mechanism is proven stable

To test this in all cases you can:

- Copy 2k11/ to 2k11-custom, edit info.txt, give it a distinct name. Edit the admin/index.tpl file to add some code to ensure that you will see that template in the backend if you pick it, or adjust the style.css or whatever.
- Copy idea/ to idea-custom, edit info.txt, add a "Engine: 2k11" line. Now you can test how a template would look like that fallsback on 2k11 instead of "default"

Those permutations can be checked and come to my mind:

- Backend: 2k11, Frontend: 2k11
- Backend: 2k11-custom, Frontend: 2k11
- Backend: 2k11, Frontend: 2k11-custom

- Backend: 2k11, Frontend: idea
- Backend: 2k11, Frontend: idea-custom

- Backend: 2k11-custom, Frontend: idea
- Backend: 2k11-custom, Frontend: idea-custom

They seem to work.

Currently the display of backend and frontend theme in templates.inc.tpl takes up some larger space. Maybe it could be prettified somehow, maybe put frontend and backend template next to each other, not beneath each other? Maybe @yellowled has some suggestions.

@onli and @ophian - please have a look at this, since you both also worked on the fallback chains. Please tell me if you have issues with this. We can easily revert, if you see this approach as not workable. This is more a "proof of concept" draft.
2014-05-14 12:58:06 +02:00
Garvin Hicking a6b20ad398 UTF-8 versions 2014-05-14 12:57:57 +02:00
Garvin Hicking 02d2fff162 Language commit for frontend/backend distiction 2014-05-14 12:57:37 +02:00
Garvin Hicking 3bde48937f damnit garvin, it's THEMES now for a collection of template files, no longer TEMPLATE. :D 2014-05-12 16:48:03 +02:00
Garvin Hicking 26673810ec document 2014-05-09 16:35:17 +02:00
Garvin Hicking c49324eeff @mattsches @yellowled @ophian - Please try to remember documenting
documentworthy changes in our docs/NEWS file. This is important for me
when I write up blog entries about the new changes.

I tried to document every commit up until now.
2014-05-05 10:07:40 +02:00
Garvin Hicking 7223456b53 i18n title attributes, document some past changes 2014-05-05 10:00:59 +02:00
Garvin Hicking e4a0830ad1 this should maybe fix the error message in importer 2014-04-28 11:14:19 +02:00
Garvin Hicking c73f21ce0d pubdate/pubDate 2014-04-25 10:39:14 +02:00
Garvin Hicking 5e0c4c074e include upgrader timestamp
document recent changes
i18n for upgrader
2014-04-25 09:55:41 +02:00
Garvin Hicking 919674e25a i81n for categoryfilter 2014-04-25 09:30:21 +02:00
Garvin Hicking f89b34f2b0 Fix issue #128 2014-04-24 15:28:13 +02:00
Garvin Hicking 063b753892 Proof of concept idea for the "filter category" idea
http://board.s9y.org/viewtopic.php?f=11&t=19862
2014-04-24 15:21:25 +02:00
Garvin Hicking 6489cf7bf8 to the future 2014-04-15 11:01:53 +02:00
Garvin Hicking 5660f461e0 backdate 2014-04-15 00:13:03 +02:00
Garvin Hicking a42a7a8f00 Well, this will surely come... - hopefully rather later than earlier ;) 2014-04-14 09:27:09 +02:00
Garvin Hicking e34007c1b7 so it begins 2014-04-14 09:11:41 +02:00
Garvin Hicking 2fc551ac99 Fix serious issue with plugin migration. Config values where not renamed. :( 2014-04-08 11:29:25 +02:00
Garvin Hicking ce724611d5 Yeah, guess I cannot get used to "Themes". 2014-04-08 09:37:18 +02:00
Garvin Hicking 178371eed6 Prepare release 2014-04-08 09:22:30 +02:00
Garvin Hicking 3d92fb099f Prevent fatal error when directory does not exist 2014-04-08 09:13:47 +02:00
Garvin Hicking 78c7b11c36 Change the order, serendipity_editor provides an API that plugins might want to use, so it needs to be declared first in queue. 2014-03-11 15:11:35 +01:00
Garvin Hicking 7bcc9e2e5a addlang execute 2014-03-11 13:32:44 +01:00
Garvin Hicking 55f6786b2e fix #93 2014-03-10 17:41:57 +01:00
Garvin Hicking 50562d49a9 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-03-10 17:19:59 +01:00
Garvin Hicking 68b93fd1bc if plugins append to this, we need linebreaks 2014-03-10 12:13:43 +01:00
Garvin Hicking 5aa5b65662 addlang execute 2014-03-07 14:53:33 +01:00
Garvin Hicking a5bd6563dd re-renamed addLoadEvent 2014-03-06 16:00:20 +01:00
Garvin Hicking c3b4fe53e9 add language constants for maintenance 2014-03-05 16:17:24 +01:00
Garvin Hicking 38c19fc150 If updertEntry is called with an array structure, make sure it is usable 2014-03-05 15:37:22 +01:00
Garvin Hicking 8d0b1b79be Ah, the internal /admin hooks need this. Hardcoded check. Not optimal, but should work better than the old approach. 2014-03-05 15:29:31 +01:00
Garvin Hicking d208452096 Make external event plugins work properly again. Genpage should not be used? Will discuss on the forums.
Also add inactive/active placements to backend
2014-03-05 14:23:19 +01:00
Garvin Hicking 0c787fcbfe Improve karmaplugin to better tell what's going on.
Fix a i18n error.
2014-03-05 14:11:14 +01:00
Garvin Hicking 9bf64cccda example() method needs to RETURN not echo. 2014-03-05 13:28:26 +01:00
Garvin Hicking 79a565f4d9 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-03-05 13:23:24 +01:00
Garvin Hicking 94c3a75a96 New language constants, hopefully caught all i18n's. Please check. 2014-03-05 13:22:50 +01:00
Garvin Hicking 703d9f2ce0 Re-add the serendipity_jssetcookie function, because plugin use this API and it would otherwise create a fatal PHP error. 2014-03-05 11:54:00 +01:00
Garvin Hicking 70aea65078 Make accessible tabs remember their last choice.
Bundled jquery.cookie library for that.
Every TABlist now needs to have a unique ID.
2014-03-05 11:37:38 +01:00
Garvin Hicking 855c13cb57 fix "scalar" error message 2014-02-28 11:09:32 +01:00
Garvin Hicking 0a9c821500 insert renamed plugin name 2014-02-14 15:05:11 +01:00
Garvin Hicking d36fca5a1e upport 2014-02-06 12:22:20 +01:00
Garvin Hicking 3d7765f066 upport 1.7.6 security fixes 2014-02-06 09:36:31 +01:00
Garvin Hicking 6735dc79fb upport 2014-02-04 11:21:43 +01:00
Garvin Hicking b512c16c7d Patch for APC compatibility, relative paths are bad for stat=0 config.
Thanks to absynth.
2013-12-16 23:24:56 +01:00