Coder Social home page Coder Social 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

plc_x_core's Introduction

oneplace-core

Build Status(https://travis-ci.com/OnePlc/PLC_X_Core) Coverage Status(https://coveralls.io/github/OnePlc/PLC_X_Core?branch=master) Packagist Downloads Stable Version GitHub Release Date Open Issues Discourse status

Introduction

This is a core foundation for the onePlace Software Framework based on Laminas Project (former Zend Framework)

First opensource release of onePlace Software Framework.

Create your web based apps on the fly! onePlace brings you extended Entity and Table Models, View Helpers and much more - so you can build your Webapp to manage database based data, in almost any layout you can image.

onePlace is built for maximum freedom of choice for your app, and so only small parts of laminas mvc are utilized. a lot is done from scratch to give you more freedom / customization.

Skeleton Application

This skeleton application is a starting point for your onePlace Software Framework applications. It expands on Laminas Mvc Skeleton and uses the Laminas MVC layer and module systems.

Installation

Copy files to webserver

Init database

Update config files

first login with admin

Getting started

how to utilize user manager

how to create own modules

Integration to 3rd party services

We also have tons of 3rd party plugins readdy for you to use - and, skeleton plugins for you to make your own plugins !

The first we release is our wordpress plugin boilerplate and skeleton.

You have built an onePlace Module based on Skeleton? Well, you get your corresponding wordpress plugin to show off your Skeleton Entities e.G in Sliders, as easy-to-use Elementor Widgets - just for free and added on top. If you use Skeleton compatible API - you wont need to code a single line of code to make your wordpress plugin - and even publishing it on wordpress.org

oneplace-wordpress-plugin-skeleton oneplace-wordpress-plugin-boilerplate

A lot more will follow as we are porting them from our closed source version, almost any integration you can possibly imagine:

  • github.com / git
  • extended email support (receive/send)
  • telegram bot api
  • whatsapp business integration
  • online banking integrations (iso certified qr payments supported)
  • hardware integrations - RFID login to app for example
  • control your coffee machine with oneplace..
  • face recognization
  • a lot more ... you will see soon

and just because ..its oneplace:

  • unity (we have a game ...and - guess what, a game skeleton for your own game based on oneplace)

Contact us if you can't wait for a certain api / integration - its already working in our closed source projects and we are working hard to release it under BSD-3, which requires a lot of refactoring - maybe you can help. [email protected] or Telegram

Documentation

Documentation will be extended soon.

plc_x_core's People

Contributors

jbinggi avatar praesidiarius avatar

Stargazers

 avatar  avatar

Watchers

 avatar

plc_x_core's Issues

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

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.

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

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

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

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

/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

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

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

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

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

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

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.

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

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.

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

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

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

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.

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

add yarn warning

Feature Request

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

Summary

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

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

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.