GithubHelp home page GithubHelp logo

oneplc / plc_x_core Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 3.0 2 MB

PHP Application Framework. Base Application for all onePlace X Modules.

Home Page: http://docs.1plc.ch

License: BSD 3-Clause "New" or "Revised" License

Dockerfile 0.11% PHP 51.31% HTML 47.64% CSS 0.31% JavaScript 0.63%
laminas zend-framework php-framework php7 php7-framework business-logic business-solutions application-framework high-availability skeleton-application laminas-mvc freedom database oneplace

plc_x_core's Issues

Context Based Hook Loading

Feature Request

Q A
New Feature yes
RFC yes/no
BC Break yes/no

Summary

currently all hooks are loaded in each request, even api.

  • disable hooks in api besides api hooks
  • make hooks context based ( like one or some modules together )

to improve perfomance / use less resources for hooking

make saved shares shareable

Feature Request

Q A
New Feature yes
RFC yes/no
BC Break yes/no

Summary

add the option to share a certain saved search to

  • selected users
  • all users

Basic Styling for Error Layout

Feature Request

Q A
New Feature yes
RFC no
BC Break no

Summary

Add some basic style to layout/error.phtml so it doesnt look so 1999 style

/update plugins wrong version

Bug Report

Q A
Version(s) ¨1.0.19

Summary

Update Form show wrong version number for plugins.
Also if a extendet sql is provided it shows tow times "Simple"

Current behavior

Only optical bug

How to reproduce

Install a plugin, it will show the version of the module

Expected behavior

Version of Plugin is shown
If a _extended.sql is provided it will show as Extended in the Gui

Quicksearch is broken

Bug Report

Q A
Version(s) 1.0.17

Summary

as soon as you start entering a query, the search is broken
response is

Message:

    Statement could not be executed (42S22 - 1054 - Unknown column 'username' in 'where clause')

Stack trace:

    #0 /var/www/plc/vendor/laminas/laminas-db/src/TableGateway/AbstractTableGateway.php(239): Laminas\Db\Adapter\Driver\Pdo\Statement->execute()
    #1 /var/www/plc/vendor/laminas/laminas-db/src/TableGateway/AbstractTableGateway.php(207): Laminas\Db\TableGateway\AbstractTableGateway->executeSelect(Object(Laminas\Db\Sql\Select))
    #2 /var/www/plc/vendor/oneplace/oneplace-user/src/Model/ApikeyTable.php(92): Laminas\Db\TableGateway\AbstractTableGateway->selectWith(Object(Laminas\Db\Sql\Select))
    #3 /var/www/plc/module/Application/src/Controller/IndexController.php(478): OnePlace\User\Model\ApikeyTable->fetchAll(false, Array)
    #4 /var/www/plc/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(77): Application\Controller\IndexController->quicksearchAction()
    #5 /var/www/plc/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Laminas\Mvc\Controller\AbstractActionController->onDispatch(Object(Laminas\Mvc\MvcEvent))

Current behavior

its broken, you can't find anything

How to reproduce

just start searching in quicksearch

Expected behavior

it should show relevant results

add yarn warning

Feature Request

Q A
New Feature yes
RFC yes/no
BC Break yes/no

Summary

Field type upload: Php Error when no items

Bug Report

Q A
Version(s) 1.0.24

Summary

module/Application/view/partial/basicformfield.phtml:122
Call to a member function getTextField() on null

Current behavior

Php Error if no item in table

How to reproduce

Expected behavior

Language based emails

Feature Request

Send User E-Mails like notifications, password reset and so on in translated versions. use the language chosen by the user.

Q A
New Feature yes
RFC yes/no
BC Break yes/no

Summary

add /data for translation files

Bug Report

Q A
Version(s) 1.0.0

Summary

Include translation files in /data folders

Current behavior

How to reproduce

Expected behavior

Setup default username value ignored

Bug Report

Q A
Version(s) 1.0.x

Summary

If you leave the field "Admin Username" empty, the default value is not set in the database

Current behavior

You can login by Email or with a empty String as Username

How to reproduce

On first setup leave username empty

Expected behavior

Set username to plc_admin as default

Fix buggy /update

Bug Report

Q A
Version(s) 1.0.x

Summary

/update is bubby with multiple module

Current behavior

If you install multiple module and at the same time you get an sql_error
Also Module outside of the package oneplace can not be installed.

How to reproduce

Install a new core with multiple module an go to /update

Expected behavior

Detect new module an install them correctly, execute install.sql properly.

Saved Searches

Feature Request

Q A
New Feature yes
RFC yes/no
BC Break yes/no

Summary

Migrate saved searches from closed beta. Searches can be saved, and named with a label. there is a list with saved searches in index table. saved searches are user based, but can be shared with other users / appwide.

Error on first login

Bug Report

Q A
Version(s) 1.0.x

Summary

After setup has finished, you get redirected to login - but database adapter is not
correctly initialized, why it drops an error. its likely because global.php is still cached in pre-setup state. so just empty config cache before redirect() and it should be fixed.

Current behavior

Drops an error after setup is finished, before 1st login

How to reproduce

Finish Setup successfully

Expected behavior

You should see the login page

class ZipArchive not found

Bug Report

Q A
Version(s) 1.0.x

Summary

if you want to upload a custom theme the, it drops a php Error

Current behavior

upload a themes.zip results in an error:
class 'ZipArchive' not found

How to reproduce

On a fresh core installation with go under /application/themes and try to upload a themes.zip
Only php7* installed

Expected behavior

Show a errorpage with â link to dokumentation to fix this issue

Dynamic Field (Select2) does not reset when cleared

If you clear the selection on a dynamic select2 field and save the Entity (e.G Skeleton), the field is not reset - so its still on the old value and not empty.

check attach / save functions to not check against if empty - find a better solution

php error on invalid url

Bug Report

Q A
Version(s) 1.0.12

Summary

If you will access a invalid url, you get a php Error

Current behavior

Trying to get property 'oUser' of non-object in module/Application/view/layout/layout-default.phtmlon line 74

How to reproduce

Trying to access any unvalid url on the.
for example your_one_place/updatee

Expected behavior

Redirect to home or an error page

Uppy Gallery Upload - do not upload images twice

Bug Report

Bilder die bereits in der Gallerie sind, sollten nicht wieder hochgeladen werden.

Zudem den VIB Fork übernehmen, dass meherere Gallerie Felder pro Formular möglich sind

Q A
Version(s) x.y.z

Summary

Current behavior

How to reproduce

Expected behavior

Gallery images and Featured Image cannot be deleted

Bug Report

Q A
Version(s) 1.0.5

Summary

Gallery images and Featured Image cannot be deleted yet

Current behavior

Its not implemented yet.

See uppy and filepond

How to reproduce

Just upload an image and try to delete

Expected behavior

Image should be removed if "remove" button is clicked - ask for confirmation
with Swal2 (sweetalert2) popup first

Tab-order and key shortcuts

Feature Request

Q A
New Feature yes
RFC yes/no
BC Break yes/no

Summary

Tab through all field on all tabs
Define Shortkey to execute custom actions

Handle € number formatting properly

The Germans use a special number format
"." for thousand seperator and "," for decimal place. that causes some problems within PHP.

Make sure to have localized number_format settings, and a str_replace "." <=> "," if DE-Germany is active.

proper stable dependencies

Feature Request

Q A
New Feature yes
RFC yes/no
BC Break yes/no

Summary

start releasing with proper composer.json with required set to a fixed stable which is
known to work. manually update only after testing.

get setup settings from env variables

Feature Request

Q A
New Feature yes
RFC yes/no
BC Break yes/no

Summary

Check if environment variables are set - if yes, pre-fill the setup fields. should be very useful for rapid deployment. so you can set all setup fields in e.G nginx virtualhost file

multiselect broken

Bug Report

Q A
Version(s) 1.0.21

Summary

Multiselect is broken

Current behavior

Cant save multiple items,

How to reproduce

install article or contact module and try to save more then 1 entry

Expected behavior

Multipe new inserts should work

make index sort same as form sort

Feature Request

Q A
New Feature yes
RFC yes/no
BC Break yes/no

Summary

Add a button add the very right of the index list (like on form for the sort button), and as its clicked then add the icons to move the columns. remove icons from default view, so it has the same behavior as the forms

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.