-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current Status #399
Comments
Thanks for this great project! I look forward to see those bug fixes and changes.. :) |
Development branch is stable with the removal of permissions/dependencies views and functionality. So many classes and files removed, yet the same result and less to manage. |
Also added a session timeout middleware that when enabled and given a value will auto log the user out after x seconds in inactivity. |
Gonna literally go through every single line of code and clean it up as perfectly as I can, and throw in a few more surprise features before I release it and make it the new master. Stay tuned. |
seems permission are hide somewhere |
Permission management is gone. Only in seeders now. Theres no reason to make permissions on the fly because they need to be hard coded at runtime to do anything. So now you just keep track easily in the seeder. App still lets you attach them to roles and such. |
Currently controlled with an event subscriber class per model to keep it neat, but you'll be able to call the global history() helper anywhere to log whatever you want. You can display all history (global history), history per type (User, Role), history per entity (User id of 1). Currently it supports up to 3 routes per history item if you wanted to link the items in the history text to their entities if they had show methods or something. |
When to you think the dev version is ok to upgrade to? |
They won't but I wasn't planning on people to upgrade to this version, it's a massive overhaul, but if you want to spend the time it shouldn't effect anything, there might be one or two database changes but the migrations shouldn't break what's there. The permission stuff as of now is pretty solid, i'm just adding new features. |
ok, so you recommend waiting with updating the BP? |
It would be wise, it's going to take you a long time if you want to go that route. It shouldn't be much longer before I release it as is because i'm running out of time to work on it before my new projects start again. |
ok, thank you so much. Still haven't found any project even close to yours :) |
Thats good! I use this for the starting point of all of my projects. I'm adding features like history that I know I implement on all of my projects. |
Any chance to add a "log-in as" button in the back-end so admins can use users accounts without knowing their credentials? |
Like in spark? So you can see it as the user sees? |
Yep exactly! |
Example? |
I don't have the code close but I did something like: By pushing a button, the admin throws the following methods: And then we can display a floating button anywhere on the UI (frontend/backend) if the session exists: And if the admin wants to go back to his own account: And then we destroy the saved session: This could be useful for testing purpose or debugging in some cases. |
@rappasoft Yep! Users should probably create and attach a role/permission to this functionality to make it even more solid. |
It is, you need the manage-users permission to hit the loginAs route. |
If anyone has a chance can they download and install the development branch and let me know what you think, play around, find bugs, etc. Thanks! |
@rappasoft that's awesome! While you're in there, something I've added a few times and think it would be a good to have for I also was wondering about the login/logout events, do you tend to add more data to those events other than just the user object being passed? as of laravel/framework#13704 the built in Session in Laravel that dispatches these events can be queued. Just curious your thoughts? |
Sure here: 8b6e761 @ninjaparade as for your other question no i've never had more need than the user object for those events. |
@rappasoft ya me either. You could just bind the
They're fired here https://github.com/laravel/framework/blob/5.2/src/Illuminate/Auth/SessionGuard.php#L467 https://github.com/laravel/framework/blob/5.2/src/Illuminate/Auth/SessionGuard.php#L568 |
Here's the current change/feature list:
|
I think i've changed enough thus far to govern a 3.0 tag at this point anyway. I'm going to go through all the functionality, make new screenshots, update wiki, hopefully tomorrow. |
@rappasoft awesome project! thanks for it. I 've found a bug: datatable's search starts every time on key press. It may be better to add a timeout? |
Sorry, my fault https://datatables.net/reference/option/searchDelay |
@rappasoft you'r the man! |
Released! Thanks for the help guys. Screenshots and wiki updated. Just have to write the docs on the new history facade. Find and submit bugs as normal now. |
Well done! Keen to play with it! Thanks for all the hard work! |
Here are the history docs: https://github.com/rappasoft/laravel-5-boilerplate/wiki/14.-History-Management |
Hi,Excuse me sir,May i know something.I'm using laravel boilerplate.Laravel boilerplate had contained the language setting for backend so i can change the language easily but i don't know how to change the language for my frontend web page.so please sir,Could you explain me how to do it cause i'm a new laravel beginner?Respect to Senior elder brother.So please....... |
I've obviously have had trouble finding time to work on this project, which sucks because I really enjoy this project.
My plan is to scrap v3 for now, and take all the work i've done and implement it in v2.
I'll probably make a legacy branch like I did for 5.1, because I plan on removing the CRUD screens for permission management, since there is no real world use for it, and instead just use a seed file for managing that.
I recently used the access part for a different project and it works well without it, theres never a need to update permission names on the go since they are hard coded into the backed code. Users/Roles management will remain the same.
I also had a lot of bug fixes in v3 I found, which i'll implement.
I believe I will need this boilerplate for a new project of my own soon, so I will have time to work on it in preparation for that.
Stay tuned and thanks for the ongoing support!
The text was updated successfully, but these errors were encountered: