Git Product home page Git Product logo

customizer's Introduction

Hi there 👋 I'm Craig

Stats Languages

customizer's People

Contributors

aljawaid avatar axel-dev avatar creecros avatar dmytrovoytko avatar johannesclaesson avatar kenlog avatar lfandrade avatar orware avatar palcarazm avatar sammdu avatar timostahl avatar vistree avatar wlangemeyer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

customizer's Issues

Upgrade troubles

While upgrading Customizer with the Kanboard Plugin Manager, it is still displayed as an old version in the "Installed Plugins" page while files have been properly installed and new version is running. This causes the UpdateNotifier plugin to display an erroneous "new upgrade available" message. Don't know if it's related to Customizer plugin or to internal Kanboard plugin management

[css] inline-block is ignored due to the float

Hi @aljawaid i noticed that the block in line is ignored because of the float, in this way it can be solved. customizer.css

.upload-link {
	float: left;
	list-style: outside none none;
	width: auto;
- display: inline-block;
+ display: block;
	margin: 0px 10px;
 }

.remove-link {
	float: left;
	list-style: outside none none;
	width: auto;
- display: inline-block;
+ display: block;
	margin: 0px 10px;
 } 

Custom login notice?

When using LDAP or generic Oauth2 it would be nice to be able to add a small text/HTML note to the login screen to explain to users with which account to login, or link to the external registration page.

Thanks.

Enhancement: Customizable text sizes and fonts

First of all, great tool for Customizer!

A great option would be the customization of the text behaviour. For my view, the text sizes of your themes are too big and I would like to make them smaller or change the font.

Thanks a lot!

Best regards

session_exists() in Ealerier Version Kanboards

On version 1.0.45
PHP message: PHP Fatal error: Uncaught Error: Call to undefined function session_exists() in /var/www/app/plugins/Customizer/Template/layout/logintop.php

I need to look into this.

Plugin version not updated

Hi @orware I report the version number for the latest release v1.13.2 is not updated. This causes problems for the correct update of the plug-in in kanboard. I recommend that you update the version and release again. Thanks for the contribution! 👍

return '1.13.1';

Bug? Logging in, results in favicon

Hello

When I login, it randomly takes me to display my favicon file only. If I go back a page in my browser, Kanboard then (correctly) takes me to the dashboard. The url when I have logged in, which displays only the favicon onscreen is: https://domain.co.uk/kanboard/?controller=CustomizerFileController&action=image&plugin=customizer&file_id=1

It happens randomly. Possibly at the start of each browser session.

Error after installing plugin

Hey, thanks so much for making this plugin. I'd really like to use it however I am getting an error after installing it. Please advise. TIA!

Warning: unlink(plugins/Customizer/Assets/css/userthemes/.gitignore): Permission denied in /var/www/kanboard/plugins/Customizer/Plugin.php on line 28

Warning: session_set_save_handler(): Cannot change save handler when headers already sent in /var/www/kanboard/app/Core/Session/SessionManager.php on line 41

Warning: session_set_cookie_params(): Cannot change session cookie parameters when headers already sent in /var/www/kanboard/app/Core/Session/SessionManager.php on line 92

Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /var/www/kanboard/app/Core/Session/SessionManager.php on line 96

Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /var/www/kanboard/app/Core/Session/SessionManager.php on line 97

Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /var/www/kanboard/app/Core/Session/SessionManager.php on line 100

Warning: session_name(): Cannot change session name when headers already sent in /var/www/kanboard/app/Core/Session/SessionManager.php on line 49

Warning: session_start(): Cannot start session when headers already sent in /var/www/kanboard/app/Core/Session/SessionManager.php on line 50

Warning: Cannot modify header information - headers already sent by (output started at /var/www/kanboard/plugins/Customizer/Plugin.php:28) in /var/www/kanboard/app/Core/Http/Response.php on line 222

Warning: Cannot modify header information - headers already sent by (output started at /var/www/kanboard/plugins/Customizer/Plugin.php:28) in /var/www/kanboard/app/Core/Http/Response.php on line 222

Warning: Cannot modify header information - headers already sent by (output started at /var/www/kanboard/plugins/Customizer/Plugin.php:28) in /var/www/kanboard/app/Core/Http/Response.php on line 222

Warning: Cannot modify header information - headers already sent by (output started at /var/www/kanboard/plugins/Customizer/Plugin.php:28) in /var/www/kanboard/app/Core/Http/Response.php on line 222

Warning: Cannot modify header information - headers already sent by (output started at /var/www/kanboard/plugins/Customizer/Plugin.php:28) in /var/www/kanboard/app/Core/Http/Response.php on line 222

Warning: Cannot modify header information - headers already sent by (output started at /var/www/kanboard/plugins/Customizer/Plugin.php:28) in /var/www/kanboard/app/Core/Http/Response.php on line 222

Code background color in theme Galaxy

In theme Galaxy code background color differs from markdown block background color. The result is code lines surrounded by the backgound color. It's very difficult to read.

Here is a small patch to fix it by applying the block background color :

diff --git a/Assets/css/themes/Galaxy.css b/Assets/css/themes/Galaxy.css
index 9517cec..d8dfc1b 100644
--- a/Assets/css/themes/Galaxy.css
+++ b/Assets/css/themes/Galaxy.css
@@ -18,7 +18,7 @@ body {
        text-rendering:optimizeLegibility
 }
 code {
-       background-color: #cccccc52!important;
+       background-color: #242729 !important;
 }
 small {
        font-size:0.8em

Before

galaxy-background-color-before

After

galaxy-background-color-after

  • Kanboard: v1.2.11
  • Customizer: 1.13.1

Other installed plugins :

  • HighlightCodeSyntax: 1.0.1

Import its own theme

It would be great to be able to create its own theme and import it. Before 1.7.2, it was quite available, being forced to update Plugin.php file and copy your own css theme in Assets/css folder. Now, process is not documented, has changed. I managed to hack this but it would be great if it were a default behavior.

Additional settings

This is a feedback to the creecros-test-1 branch!
maybe we can create groups for different regions of the theme. E.g. header settings
here we can offer "font-family, font-size, color, logo, site name, site-name color, site-name font-family, site-name font-size, link color, link color hover, ...)

Support

Hi creecros, congratulations for the very useful plugin! I am writing to inform you that I have supported Customizer in the following themes Moon, Nebula ;-)

Getting these errors when I got to the customizer settings page

Version info:

Application version: 1.2.13
PHP version: 7.3.0
PHP SAPI: apache2handler
HTTP Client: cURL
OS version: Linux 4.19.88-Unraid
Database driver: mysql
Database version: 10.4.11-MariaDB-1:10.4.11+maria~bionic-log
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0

Getting these errors in the customizer screen:
Warning: filemtime(): stat failed for plugins/Customizer/Assets/rgbaColorPicker/rgbaColorPicker.css in /srv/http/kanboard/app/Helper/AssetHelper.php on line 37

Warning: filemtime(): stat failed for plugins/Customizer/Assets/css/customizer.css in /srv/http/kanboard/app/Helper/AssetHelper.php on line 37

Warning: filemtime(): stat failed for plugins/KanboardCSS/kanboardcss.css in /srv/http/kanboard/app/Helper/AssetHelper.php on line 37

Warning: filemtime(): stat failed for plugins/Customizer/Assets/css/theme.css in /srv/http/kanboard/app/Helper/AssetHelper.php on line 37

Warning: filemtime(): stat failed for plugins/Customizer/Assets/rgbaColorPicker/rgbaColorPicker.js in /srv/http/kanboard/app/Helper/AssetHelper.php on line 24

Warning: filemtime(): stat failed for plugins/Customizer/Assets/js/customizer.js in /srv/http/kanboard/app/Helper/AssetHelper.php on line 24

No CSS file?

Is there no way to customise the css of the plugin?

For the KanboardCSS theme plugin, this works:

.logo > a > img {vertical-align:middle;} /* This aligns the logo certically to the text */
.form-login > a > img {display: block;margin: auto;} /* This makes the logo centralised */

Invalid argument supplied for foreach

When installed customizer as a plugin for the first time, I got this warning: “Invald argument supplied for foreach() in Customizer/Plugin.php on line 30”.
I think this is caused by the condition check on line 23. Since I don't have files under “DATA_DIR/file/customizer/themes”, $scanned_user_themes has never been assigned which makes it invalid.
Moving the foreach block on line 30 into the condition check block on line 23 should remove this warning.
Please confirm this. Thanks.

Clicking on user tag on task shows broken modal-box

Actual behaviour

The modal box opens up and is not wide enough to fit all content.

Expected behaviour

The modal box should open up the same way as when clicking on "edit task" (action=edit).

Steps to reproduce

  • Apply material theme
  • Go to board or list view.
  • Click on the round user sign on a task
  • Modal box opens up

Screenshots

When clicking edit task:
2019-09-07_06h33_40

When clicking on user sign:
2019-09-07_06h33_49

Logs

Configuration

  • Kanboard version: 1.2.11
  • Database type and version: mysql 5.7.24
  • PHP version: 7.1.31
  • OS: Linux 3.16.0-7-amd64
  • Browser: Chrome Version 76.0.3809.132 (Offizieller Build) (64-Bit), Firefox 69.0 (64-Bit)

Themes for individual users

When i make changes to the theme all users get the theme changes. Is there a way for individual users to pick their own themes?

Errors on non standard plugins folder

Can it be that for some reason the plugins directory is hardcoded? I run the docker version of kanboard, and I copied the default config.php. This had sort of an error in that

define('DATA_DIR', __DIR__.DIRECTORY_SEPARATOR.'data');

resulted (together with another setting in the yml) dat the data dir became /data/data and plugins dir /data/plugins . But I would assume that a plugin reads that specific variable to get the correct path this does not seem to be the case for Customizer and I get errors as:

Warning: filemtime(): stat failed for plugins/WeKanboard/WeKanboard.css in /var/www/app/app/Helper/AssetHelper.php on line 37

Warning: filemtime(): stat failed for plugins/Customizer/Assets/rgbaColorPicker/rgbaColorPicker.css in /var/www/app/app/Helper/AssetHelper.php on line 37

Login loop customizer

Hello Friends, Kanboard 1.2.9 Ubuntu 18 with customizer installed result in a login screen loop. Any ideas how to fixed?

Login logo

Hello creecros, I noticed a small problem using a white logo on the login page, instead a white logo in the theme that has the dark header is fine, instead for the login page the logo on a white background is not displayed. My proposal is to add a dedicated logo upload for the login page. What do you say could solve?

Semantic versioning specification

Hi @creecros the version it should probably already be 1.0.0 following the directions Semantic Versioning I prefer this kind of approach 1️⃣.2️⃣.0️⃣ . Is clear does not want to be a reminder to use the "Semantic Versioning" I would just like to deepen this topic with you, thank you. 😇

Placeholder

I'm trying to add a placeholder but I keep getting:
Content Security Policy: The page's settings blocked the loading of a resource at inline ("default-src").

I've tried:

<script>$('#form-username').attr('placeholder', 'Search for Stuff');</script>

and

<script async type="text/javascript">document.getElementById("form-username").setAttribute("placeholder", "Enter your username");</script>

in /logintop.php. Any suggestions? You can't add a placeholder using pure css, must be javascript or jquery.

Earlier Kanboard Compatibility

*47 FastCGI sent in stderr: "PHP message: PHP Warning: filemtime(): stat failed for assets/css/print.min.css in /var/www/app/app/Helper/AssetHelper.php on line 37

@aljawaid @kenlog any idea? I'm clueless what this is about.

not getting it in 1.2.5 or 1.2.6, but 1.0.45 is ringing it

Stay on Customizer settings page after saving settings

This is a feedback to the creecros-test-1 branch!
If you want to make advanced adjustments, the user would open an additional browser tab to display the current changes. So it would be better if after saving the settings we could stay on the Customizer Settings page instead of forwarding them /?controller=DashboardController&action=show&user_id=1

[REQ]: Style the Login button

The little blue "SIGN IN" doesn't really fit to a color scheme (if it's not blue itself). So, being able to style the button, colorwise, and maybe make it stretching the same width as the fields above would give the whole a much better first experience!

Avatar size setting for cards/tasks

The Customizer plugin allows setting the avatar size in the header bar at the top, but what I'm really interested in is to have the same kind of setting available for the size of avatars in the tasks (cards) in the boards, so that we can have something bigger than the pointless 20px default ones. Thanks!

Color presets

This is a feedback to the creecros-test-1 branch!
add a preset dropdown to let users to choose from different presets. As a starting point we could offer the css settings from
existing theme-plugins (moon, nebula, standard theme).
Maybe we can parse the CSS from those plugins as we implement a file based settings approach??

Store settings in file-system

This is a feedback to the creecros-test-1 branch!
create a css-file on storage instead of storing the settings in the database.
I think, file system is faster and if somewhen theme cacheing is enabled this will not work with database settings.
When visiting the customizer settings page, current settings have to be parsed from the current CSS (custom css created by previous customizer savings) or from current active theme (nebula, standard theme, moon, ...)
Using file system would it easier to allow other plugins to provide additional presets

Feature Request: Add Login Background Image

Any chance of having an on/off option for adding a login background image from unsplash.com ?

I think the url needed is https://source.unsplash.com/random but the body class is not unique for the login page so I cant do it.

JavaScript Console Errors on Non-Customizer Pages Throughout Kanboard

This issue appears to occur since the customizer.js file gets loaded throughout the site when you're using Customizer and should show up in the Chrome DevTools Console:
image

The fix I've been applying on my end after each update to Customizer has been to wrap the following lines in customizer.js:
https://github.com/creecros/Customizer/blob/master/Assets/js/customizer.js#L84-L164

With an if statement:

if (document.getElementById('loginpanel_color'))
{
        // Existing lines 84 - 164 should be in here now
}

Those lines cause the issue on the non-Customizer pages throughout Kanboard since they end up running no matter what, versus the other code in customizer.js being triggered on events/functions. Since those elements for the Customizer config don't exist in the other parts of Kanboard, they result in the errors being triggered since the elements don't exist so the if statement works around that by first checking for the existence of the loginpanel_color element and if it doesn't exist then everything in that if statement won't get run unnecessarily.

Plugin not found

Hello @creecros, updating to the latest version from the plugin directory, it returns me not found plugin.

Color groups

This is a feedback to the creecros-test-1 branch!
Maybe we can define color groups by looking at existing theme-plugins to see where the same color is used in different theme regions.
This would reduce the number of color switchers which is currently to high (from my point of view)

Experiencing Similar Issue Fixed in Kanboard

I'm experiencing this issue on my end right now:
kanboard/kanboard#4335

However, it's with the English language and I do have Customizer in use.

I'm reporting the problem here since I made a local copy of my site to test further and started by taking out all of the plugins I had installed.

After doing so, the issue went away.

I then started by adding just Customizer back in (lucky guess) and the issue returned.

I'm not sure if it's something that's been saved in Customizer (cached perhaps?) or if it is actually something that's out of date in Customizer that needs updating but I'm going to try and take a closer look later today to figure it out if I can.

If I come up with a solution I'll share it back here, but if you have any ideas of what could be causing the issue that would be appreciated as well!

A lot of PHP errors when enabling Customizer

Hello,
I just installed Customer and I am getting these errors when I try to open any Kanboard page.
bildschirmfoto 2018-12-29 um 13 30 10

Kanboard version: 1.2.7
I have the following plugins installed:
Bigboard
CardPushDate
Coverimage
ExtendedMail
Gantt
GogsWebhook
Gravatar
Milestone
Nebula
SendEmailCreator
Task2pdf
TaskAssignCategory
TaskIntervalButton
Telegram
Timetrackingeditor
UpdateNotifier
Voting
Customizer

Thank you for your help

Material theme New Task Window is huge and much wider than the screen (1920x1080) — all themes New Task Window appears blurry

Steps done:

  • Install customizer from the Plugin interface
  • Choose Material theme

This is the portion I can see:
image

All the following themes appear correctly.

  • Blueboard is fine
  • Breathe is fine
  • Clemson is fine
  • Galaxy is fine
  • Github is fine even if the New Task Window is bleeding out on top of the screen by few pixel (project name is still visible).

Anyway all the themes New Task window appears blurry, the rest of the interface is perfectly rendered instead.

problem after plugin installation

Hi, i have a problem after installing the Customizer plugin, i tried several times and everytime i install it the board page for all the projects appears blank (only the logo is showed) in the apache error log appears:

[Wed Dec 12 10:33:12.701216 2018] [:error] [pid 15582] [client 192.168.1.1:51477] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/board/plugins/Customizer/Plugin.php on line 30
[Wed Dec 12 10:33:12.793733 2018] [:error] [pid 15582] [client 192.168.1.1:51477] PHP Fatal error: Call to undefined method Kanboard\Helper\AppHelper::tooltipHTML() in /var/www/html/board/plugins/Customizer/Template/header/title.php on line 23
[Wed Dec 12 10:33:12.935979 2018] [:error] [pid 13991] [client 192.168.1.1:51481] PHP Notice: Undefined variable: scanned_user_themes in /var/www/html/board/plugins/Customizer/Plugin.php on line 30

what could i do?

Thanks.
Carlos.

Issue with Preformatted Code

I don't know if you've noticed this on your end or not, but after starting to use Customizer a few weeks back I've noticed that it does something a little odd with the code formatting.

For the first line it'll indent it with an extra space:
image

I was going to try and fix it on my own, but at the moment cannot tell how it's even adding in that extra space, since in the HTML output it doesn't have any spaces being accidentally introduced:

<pre><code>slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr.vbs -ato</code></pre>

Actually on an additional look into things as I'm writing this, I just figured out what's causing the issue...it appears to be the padding defined in the customizer.css file:

code {
	margin: 0;
	padding: 2px 0.4em;
	background-color: rgba(27, 31, 35, 0.32);
	border-radius: 3px;
	color: #fff;
	font-family: Tahoma;
	font-size: 95%!important;
	letter-spacing: 1px;
} /* This styles the url link examples */

When I remove the padding definition it goes back to normal:

image

Header Logo size doesn't change

I can change the size of every logo, except the header one. It always stays at height=50px and makes the header bar unnecessarily tall. The logo image is just 57*38px big, but even if I would choose 250 on the slider, it would still be just 50 px tall. We changed some things, but that's not the reason, cause a complete reinstall didn't work either

Got an error message - missing userthemes

Hi, I just installed the latest update and immediately got an error message.

Warning: scandir(plugins/Customizer/Assets/css/userthemes,plugins/Customizer/Assets/css/userthemes): The system cannot find the file specified. (code: 2)
in C:\xxxxxxxx\kanboard\plugins\Customizer\Plugin.php on line 24
....
.....

Can you please look into this?
Thanks,
Mack

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.