Git Product home page Git Product logo

luya-module-admin's People

Contributors

andregm avatar antikon avatar asyou99 avatar baqianxin avatar boehsermoe avatar cebe avatar chemezov avatar denyadzi avatar dependabot[bot] avatar dev7ch avatar emericanec avatar hbugdoll avatar ilbassa avatar jdl747 avatar johnnymcweed avatar martinpetrasch avatar masihfathi avatar nadar avatar nandes2062 avatar nick-denry avatar ph0tonic avatar pingvoid avatar rinat-lucky avatar rochdi80tn avatar rodzadra avatar rolandschaub avatar samdark avatar themaaarc avatar vavepl avatar vuongxuongminh 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

Watchers

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

luya-module-admin's Issues

Dashboard object sorting

let we can custom the position of dashboardobjects

image
exchange position
image

Sorry,I've misplaced the picture

Block Management is_disabled functionality

  • OS Information: Windows 10 Pro
  • System Type: 64-bit OS x64-based Processor
  • Browser Info: Chrome Version 62.0.3202.94 (Official Build) (64-bit)
  • Browser Info : Firefox 57.0 (64-bit)

Under Block Management section if I click on the x icon against the News: Latest Headlines row under the is Disabled section it reloads the page and logs me out and displays the login page, and after I log in and go back to the same section there is still x icon displayed under is Disabled column and is that some kind of feature restricted in the demo version, either case it should not log me out and take me to the login page without displaying any success or error messages.

image

Logout button double klick

When trying to logout from my current active session i hove over the user panel and klick the logout button - but nothing happens after first click. after the second click the logout link works.

Image wrongly declared missing in CRUD form

This issue has originally been reported by @rolandschaub at luyadev/luya#1212.
Moved here by @nadar.


What steps will reproduce the problem?

When reloading a CRUD form, sometimes images are declared missing that are not really missing. Reloading the form several times will "randomly" show the image and declare it missing.

(This is on a website with hundreds of images and > 1 GB image data!)

What is the expected result?

:-) image found:
image here

The image should be show every time the form is loaded.

What do you get instead? (A Screenshot can help us a lot!)

:-( image not found
image gone

Additional infos

Q A
LUYA Version 1.0.0-dev
PHP Version 7.0.8
Platform Apache/MAMPP
Operating system OSX

Login Screen: Password label doesn't move away when clicked

On the login screen, when clicking on the email label, it moves away above the text field. When clicking on the password label, this doesn't work: the label only moves away when clicking to the right of it within the text field, see animation:

login

API Controllers can not access $module property

Due to apis have a fixed admin/xyz endpoint those controllers will "moved" to admin module while booting the admin module. Therfore the $module property for a given api is always the admin module, this is wrong and makes it hard to read config options from the module.

API controllers should implement the module property from the given module.

NgRest time field support

This issue has originally been reported by @dev7ch at luyadev/luya#1742.
Moved here by @nadar.


What steps will reproduce the problem?

Add time field via NgRestPlugins ( Not as text field or whatever)

What is the expected result?

have a field like datetime which lets you select a time ( e.g. hour:minute) only

What do you get instead? (A Screenshot can help us a lot!)

No time field supported in NgRestPlugins currently

| LUYA Version | dev-master

Admin UI: Show block id and add toggler to filled block

If you have to deal with e.g. 10 separate blocks from the same type on one page it's pretty hard to sort and differentiate them.

Therefore a unique block id and a block toggler would be very helpful to keep the admin structured.

Please screenshot below for explanation and suggestion:
luya_admin_block_id_toggler

luya rtl support

This issue has originally been reported by @masihfathi at luyadev/luya#1722.
Moved here by @nadar.


is it possible to support RTL direction in luya?
something should be done for example, text and text editor block in the CMS should support RTL direction and the navbar menu should be mirrored to right and breadcrumbs text should start from right. see this RTL bootstrap.
1
for more about RTL support see this:
https://www.upwork.com/hiring/for-clients/web-design-for-rtl-languages-basics/

Q A
LUYA Version
PHP Version
Platform
Operating system

NgRest fields: Adding min-height options to textarea

It would be nice to have an option in ngRestAttributeTypes(), maybe e.g. like this:

    public function ngRestAttributeTypes()
    {
        return [
            ['info' => ['textarea', 'options' => ['min-height' => '220px']]], 
        ];
    }

which lets you define the min-height for textarea inputs in the Admin UI, because now there isnΒ΄t much height difference between text and textarea inputs.

CRUD: display delete button for some entries only based on a condition

This issue has originally been reported by @kogli at luyadev/luya#1360.
Moved here by @nadar.


There is currently no way to show the delete button in ngRest CRUD for some entries only, based on a condition.

This would be useful when, for example, some entries were tied to other entries in other tables. Currently, the button is either shown or hidden for all entries.

I tried replacing ['delete', true] with something like ['delete', $this->id == 2], but to no avail - when ngRestScopes() is called, values of the Model instance are not populated: $this->id is null, so $this->id == 2 returns false.

Feature Request: Read contents of file manager directory

This issue has originally been reported by @rolandschaub at luyadev/luya#1353.
Moved here by @nadar.


There are situations, where it would be good to read all files from a directory created in the file manager. Example: Let's create an image gallery block. Instead of having to add dozens of images manually, the block could allow to select a file manager directory and then include all image files in this directory in the gallery (probably sorted by file name).

Proposal for usability improvement: tab behaviour within modules

This issue has originally been reported by @silvanschaad at luyadev/luya#1342.
Moved here by @nadar.


What steps will reproduce the problem?

Open a tab within a module. Switch to another entry and the open tab closes.

What is the desired result?

  • Tabs of entries stay open. Title of an entry is shown in tab.
  • When leaving the module, tabs get closed or stay open in last status.

Additional infos

  • Noticed while working on kunstmuseumbasel.ch in repeating content steps.

Else

  • Thumbs up and keep on developing! πŸ‘

Broken TimePicker in News section

  • OS Information: Windows 10 Pro
  • System Type: 64-bit OS x64-based Processor
  • Browser Info: Chrome Version 62.0.3202.94 (Official Build) (64-bit)
  • Browser Info : Firefox 57.0 (64-bit)

Demo seems to be broken at some sections like if you go to admin and try to create a new news and then select Date under time section the timepicker appears after selecting date but clicking it wont do anything and the layout seems to be broken as the hours and minutes are not aligned. The layout, it acts differently in both Chrome and Firefox although the timepicker does not work under both of them the layout seems to be ok in chrome but not in firefox here are the screen grabs for both the browsers

FIREFOX

image

CHROME

image

Make full name of files in selector buttons and lists available

This issue has originally been reported by @rolandschaub at luyadev/luya#1718.
Moved here by @nadar.


File names are shortened on selector buttons and in list views of the file manager. The user should still have the possibility to see the complete file name, e.g. by showing a tooltip when hovering over the abbreviated file name:

file name button

file name list

As for the button: Maybe the file names shouldn't be shown as button labels – it's just too short in many situations. Why not use something like this:

File:
No file selected [Select]

File:
This-is-my-very-long-file-name.pdf [Clear] [Change]

Feature Request: Scheduler to time tasks

This issue has originally been reported by @rolandschaub at luyadev/luya#1576.
Moved here by @nadar.


In order to time certain tasks (like the de/activation of a web page, a page version, a content block or a data record) it would be good to include a scheduler/task manager. Blocks, models and other classes could register certain functions with the scheduler so that their execution can be timed. This would be much more powerful and versatile than the inclusion of "active from" and "active to" timestamp fields for a page etc. It would also allow to time the same task multiple times, like switch page on/off/on at certain times.

The account dashboard js error

This issue has originally been reported by @baqianxin at luyadev/luya#1743.
Moved here by @nadar.


What steps will reproduce the problem?

https://demo.luya.io/en/admin#!/template/admin~2Faccount~2Fdashboard

What is the expected result?

javascript error

What do you get instead? (A Screenshot can help us a lot!)

image

LUYA Check ouput (run this script and post the result: luyacheck.php)

Additional infos

Q A
LUYA Version 1.0.0
PHP Version 7.0.1
Platform Apache/XAMPP/MAMPP/etc.
Operating system Windows/Linux Server/OSX/etc.

Assets: Put all web assets into a resources/dist folder instead of mapping the whole resources folder

This issue has originally been reported by @dev7ch at luyadev/luya#1641.
Moved here by @nadar.


What steps will reproduce the problem?

For now, the complete resources folder (including node_moduels, scss, not minified files, etc) is copied into the public Assets. This is not needed and turns your local machine into a "smoking machine" during development ( e.g. if you use assetManager -> linkAssets => true it almost burns)

What is the expected result?

compile all needed files and folder ( e.g. local, dev, prod) into resource/dist via gulp and load only the dist folder inassets\ResourceAssets.php

What do you get instead? (A Screenshot can help us a lot!)

smoking mac ;)

Additional infos

tested and works fine for me.

Q A
LUYA Version dev-master

LUYA as Headless system

This issue has originally been reported by @nadar at luyadev/luya#1767.
Moved here by @nadar.


List of things to do for LUYA headless CMS announcement:

  • Create a php client without dependencies to make API calls.
  • Ability to make API calls on "system user" level instead of user level (none refreshing auth token).
  • Add a guide page about headless, what it is and how to use (pros/cons).
  • Display configuration options which are made for headless (like preview url config)

Admin Login Placeholder Layout

  • OS Information: Windows 10 Pro
  • System Type: 64-bit OS x64-based Processor
  • Browser Info: Chrome Version 62.0.3202.94 (Official Build) (64-bit)
  • Browser Info : Firefox 57.0 (64-bit)

The admin login interface where we provide the credentials if you directly copy the email inside the email input field the placeholder shows up like the following

image

NgRest Logger

This issue has originally been reported by @nadar at luyadev/luya#1525.
Moved here by @nadar.


Improve ng rest logger behavior:

  • provide diff
  • add table and pk values in order to display "timemachine"

File List Preview not working

  • OS Information: Windows 10 Pro
  • System Type: 64-bit OS x64-based Processor
  • Browser Info: Chrome Version 62.0.3202.94 (Official Build) (64-bit)
  • Browser Info : Firefox 57.0 (64-bit)

In the Add News section where we provide the

  • Image
  • Image List
  • File List

Under Media section the 3rd section i.e File List Never shows file preview no matter how many times you provide the file the behavior is same in both chrome and Firefox see below

Chrome

image

PHP 7.2 count problem

{"name":"PHP Warning","message":"count(): Parameter must be an array or an object that implements Countable","code":2,"type":"yii\\base\\ErrorException","file":"/app/vendor/luyadev/luya-module-admin/src/ngrest/base/ActiveWindow.php","line":344,"stack-trace":

Dynamic Size Filters

This issue has originally been reported by @nadar at luyadev/luya#753.
Moved here by @nadar.


Add new storage filter apply possibibile to dynamic evalutate the current filter for the current device.

configure your sizes:

'mediaSize' => [
    'mobile' => 'thumbnail-small',
    'desktop => 'thumbnail-medium',
    'retina' => 'thumbnail-superlarge',
]

use them in your template:

Yii::$app->storage->getImage(123)->applyDynamicMediaSize()->source;

Modal CRUD not scrollable

When closing a crud active window with ESC, and re open the active window its not scroll able anymore.

YubiKey integration

This issue has originally been reported by @nadar at luyadev/luya#1599.
Moved here by @nadar.


Ability to register yubikey devices as alternativ for 2way auth via email.

https://github.com/Yubico/php-u2flib-server/blob/master/examples/pdo/index.phps

References:

Proxy command improvements

This issue has originally been reported by @nadar at luyadev/luya#1546.
Moved here by @nadar.


  • ask to skip large tables (more then 10k entries?)
  • insert data after request, instead of save them into an array and insert after sync (slow down?)
  • option to skip tables
  • option to skip files

Recursive loop in list view when using selectModel

What steps will reproduce the problem?

Make two models. Both are using a selectModel in their ngRestConfig (ngRestAttributeTypes) and they should reference each other.

What is the expected result?

You want to be able to select and reference the other model by id.

What do you get instead?

If you are in list view, you'll get a recursive loop exceeding memory limit or execution time. Update and create views are working without problems.

NgRest Datetime should work mysql time field.

This issue has originally been reported by @neurobug at luyadev/luya#1235.
Moved here by @nadar.


What steps will reproduce the problem?

Create module
Create model from table with fields type date or timestamp
import, set up permissions set up module, add menus for models

for the model with dates or timestamp, I go to add a new item in the admin panel, then I got a form with input fields to enter the data

What is the expected result?

dates and timestamps shown properly
dates being saved properly

What do you get instead? (A Screenshot can help us a lot!)

The original values were not loaded, instead I got an NaN

screen shot 2017-03-14 at 8 16 16 pm

I selected in the empty fields a date value and then saved, I got the following error

image

Additional infos

Q A
LUYA Version 1.0.0-RC2
PHP Version PHP 5.6.30
Platform Apache
Operating system OSX

Delete calculated images when replacing image file

This issue has originally been reported by @rolandschaub at luyadev/luya#1701.
Moved here by @nadar.


What steps will reproduce the problem?

Replace an image file with a new file using the "Replace" button in the file manager.

What is the expected result?

The new image should be displayed in the administration (e.g. in blocks) and frontend.

What do you get instead? (A Screenshot can help us a lot!)

The image is missing in the administration and frontend (LUYA is reporting that the original file is missing). When reselecting the image in a block, the old version is displayed again.

Additional infos

| LUYA Version | dev master

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.