4423 Commits

Author SHA1 Message Date
Garvin Hicking
91df1f41fc 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
2015-03-02 10:53:22 +01:00
Matthias Mees
932f881c27 Substitute inline styles with plainList class in syndication list
References #285
2015-02-23 23:47:36 +01:00
onli
2483fb6d19 syndication fix: use absolute urls 2015-02-23 22:12:43 +01:00
Matthias Mees
6daf639d0e Remove legacy div + styles from 2k11's preview
References #307
2015-02-22 21:14:00 +01:00
Matthias Mees
7e5666599d Document extra localStorage test
References #306
2015-02-18 15:28:17 +01:00
Matthias Mees
cb340c6bde Add extra test for localStorage
localStorage may be deactivated by setting a config option or using
security-related extensions at least in some browsers, which might
(at least in FF) break backend JS functionality.

So we need an extra check if localStorage is null.

References #306
2015-02-17 18:31:35 +01:00
Matthias Mees
65736b2e38 Fix CSS regression due to markup changes in ddac2c
References #301
2015-02-13 20:07:16 +01:00
Matthias Mees
730451031d Fix media chooser preview in theme options config group
Firefox-only bug if responsive img is a descendant of a fieldset.
Related to 67864f195f3342f51d349f1becb7fedd35d19c71.

References #301
2015-02-13 19:44:59 +01:00
Matthias Mees
45cec703db Fix incomplete translation in Next theme 2015-02-12 22:15:54 +01:00
Matthias Mees
e66c4b1ef5 Remove user.css reference and theme options
Affected themes: bulletproof, 2k11, next

These themes will use the core method of including the user.css in
serendipity.css starting with 2.0.1. A note has been added to all
three themes' theme options to document that the possibility of a
user.css exists.

References #280
2015-02-11 16:15:10 +01:00
Garvin Hicking
bb92f86148 use "user.css" instead 2015-02-11 15:13:26 +01:00
Garvin Hicking
ec70101415 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2015-02-11 14:58:12 +01:00
Garvin Hicking
f9a7e0f2a6 References Issue #280
* Issue 280: Allow every theme to utilize a "style_user.css" file
     that gets loaded on top of the frontend (or backend, if in admin/
     subdirectory) theme. This file can be used for customized CSS
     of a blog-admin which carries over to future Serendipity updates
2015-02-11 14:57:55 +01:00
Matthias Mees
2cd54fc583 Move/rename 2k15 to next
The name has been changed to protect the innocent. (Meaning the
users. From confusion.)
2015-02-11 14:33:53 +01:00
Garvin Hicking
b066b233bf Fix Issue #299 2015-02-11 14:27:39 +01:00
Garvin Hicking
111821f156 Expose serendipity_rewriteURL to smarty API 2015-02-11 10:33:28 +01:00
Matthias Mees
d74374e6cf Remove template no longer needed with Smarty 3 from 2k15 2015-02-10 14:40:07 +01:00
Matthias Mees
4233b096f8 Add spacing for custom items in configuration groups
Most notably, this will affect custom theme config options.
2015-02-10 12:47:25 +01:00
Matthias Mees
2d90abe4d3 Add new frontend theme 2k15
2k15 is basically 2k11, but up to date. Changes include:

- mobile-first CSS
- toggle-style smallscreen nav instead of select menu
- different choice of webfonts
- updated JS assets
- removed some JS cruft (plugins that are no longer necessary)
- reduced visual style (no, it's NOT 'flat design'!)
- simplified layout (number of columns depends on resolution)
- reduced theme options

Note: 2k15 is NOT compatible with the 2k11 user.css generator.
Currently, there is no 2k15 user.css generator. I don't intend
on building one at the moment.

Also note that I do NOT suggest 2k15 should replace 2k11 as the
default or standard theme in s9y.
2015-02-10 12:28:08 +01:00
Matthias Mees
753b6a5863 Only expand non-overlayed cats/tags if necessary
References #290
2015-02-08 20:01:43 +01:00
Matthias Mees
a2ce183185 Hide cat view toggle button in non-overlayed cat view
References #290
2015-02-08 16:59:40 +01:00
Matthias Mees
eaf6e7ff6f Document changes
References #297
2015-02-08 16:30:02 +01:00
Matthias Mees
2944944d34 Add generic odd/even for dashboard widgets
- Use CSS for odd/even spacing + clearing in browsers that support
  it using :nth-child and the new class .dashboard_widget (to
  seperate positioning styles from visual styles)
- 'Polyfill' said behaviour for IE 8 using JS
- Adapt hardcoded dashboard sections accordingly
- Add fix for IE 8 where mq_small is not set properly
- New build of oldie.css

References #297
2015-02-08 16:16:19 +01:00
Matthias Mees
a41aedc97d Make sure form element do not overflow their containers
References #296
2015-02-06 20:39:27 +01:00
Ian
035b08cebd upgrade task - remove still resting files
Please check for more to include to the rest array!
2015-02-06 14:06:55 +01:00
Ian
0aaf6f1e50 document emoticon plugin fix 2015-02-05 17:05:52 +01:00
Ian
03c3e4899a template is theme and click to demo file 2015-02-05 17:05:29 +01:00
Ian
c3149a1ba8 fix typo 2015-02-05 17:05:05 +01:00
Ian
e5d1a8da3a fix fallback for custom template emoticons
adds an example file to extend this to custom emoticons
Add description of this in plugins config.
2015-02-05 17:04:44 +01:00
Ian
45233a2948 move backend_dashboard hook
may certainly as well be, to move the s9y_links block on top of all since not getting boxed, see http://board.s9y.org/viewtopic.php?f=4&t=20247
May need follow-up, if we we have a more general dashboard even/odd cycler function to avoid making each hooked-in plugin to reinvent the wheel...!
2015-02-04 18:04:57 +01:00
Matthias Mees
12732f15b5 Adapt layout in theme options media preview
References #288
2015-02-04 17:46:43 +01:00
Ian
9d9f3160dd Use strict frontend template fallback
in case it is used as a copy template, see http://board.s9y.org/viewtopic.php?f=11&p=10441860#p10441860

Extra Note by Garvin :)
If you create a custom theme to be used with Serendipity 2.0+, use serendipity_getTemplateFile(..., 'serendipityHTTPPath', true) whenever you reference files that are relevant to the frontend output inside your config.inc.php file. The distinction of Backend and Frontend themes in Serendipity 2.0 will otherwise try to search for a file in the backend-directory of a theme, because the theme configuration screen is displayed within the backend, not the frontend
2015-02-04 16:50:07 +01:00
Matthias Mees
bc1f0fd306 Rework messages emitted by upload/delete in media db
Due to a regression in how these messages are emitted, these now
need to emit their msg markup in include/admin/images.inc.php or
include/functions_images.inc.php to avoid nested msg containers.

References #287
2015-02-03 18:55:22 +01:00
Matthias Mees
74776bd76c Do not hide <br> elements in .msg_*
As much as I hate these, but this was not a good idea in hindsight.

References #287
2015-02-03 17:11:00 +01:00
Matthias Mees
3139406884 Rewrite code for deleting media db content
Removes redundant markup from and adds msg classes to

* serendipity_deleteImage()
* serendipity_killPath()

References #287
2015-02-03 15:50:02 +01:00
Matthias Mees
877b2d3680 The strong element is obsolete, the msg class should suffice
References #287
2015-02-03 14:20:18 +01:00
Matthias Mees
b6380f8a69 Better fix for obsolete msg wrapper for deleting media db dirs
Courtesy of @ophian

References #287
2015-02-03 14:10:16 +01:00
Ian
6064057e26 document fa95f33 and 71a9650 2015-02-03 13:41:15 +01:00
Ian
71a96502ee fix non echoed file names
References #287
2015-02-03 12:55:52 +01:00
Matthias Mees
f05e9cc568 Remove obsolete msg wrapper for deleting media db dirs
References #287
2015-02-03 11:20:19 +01:00
Ian
ccbce5bebf Revert "fix label $entry ep_is_sticky check missing properties sub array"
This reverts commit e32a9fd66c2e4b00e78a7055c6f67f02bac44aa4.
2015-02-02 18:45:49 +01:00
Ian
e32a9fd66c fix label $entry ep_is_sticky check missing properties sub array 2015-02-02 18:37:29 +01:00
Matthias Mees
cb1b0632e4 Fix long plugin names aligning below their toggler
References #284
2015-02-02 10:19:43 +01:00
Matthias Mees
14fe9bdbf6 Change serendipity_customfields from id to class
This is to avoid duplicate ids in the backend.
2015-01-31 12:59:12 +01:00
Garvin Hicking
8b87636561 bump version number 2015-01-29 10:42:08 +01:00
Ian
84d2084ff1 license s9y 2015-01-28 17:13:20 +01:00
Garvin Hicking
3be47026ee upport 2015-01-27 14:17:15 +01:00
Garvin Hicking
460dd96744 DASHBAORD -> DASHBOARD 2015-01-26 09:18:08 +01:00
Matthias Mees
116fd2d59f Document recent changes (Oops)
References #274 #275 #276
2015-01-24 16:07:52 +01:00
Garvin Hicking
29b0209ddd New language constants
references #274
2015-01-24 14:56:30 +01:00