Comments (20)
Yes, I see. These days I will test more and place here if I notice something if that's ok.
from unifiedtransform.
@ShekhSaifuddin007 Try this solution. If this work let me know. Then I will add this in Readme.md section as instructions.
from unifiedtransform.
@shone83 Good catch. oauth
keys are not included because it should be different for each application. This is why this path is included in .gitignore
file.
I added Passport package to support API. If anyone don't want to include this package then just follow these steps
-
Remove it from
composer.json
and runcomposer update
andcomposer dump-autoload
. -
And all classes that relies on passport must be edited as well. The most common classes are:
app\User.php
model, remove theHasApiToken
trait.app\Proiders\AuthServiceProvider
, removePassport::routes();
in your boot method.- In
config/auth.php
, change your driver option forapi
frompassport
toapi
authentication - Remove the Passport Migrations in database
migrations
table and run commandartisan migrate:refresh
from unifiedtransform.
And giving which role to edit admin's data would be good? What do you think? And why?
I know only 2 languages properly. So I can't do proper translation in other popular languages.
Your help will be appreciated. You can add admin edit and translation features and make Pull Request here.
from unifiedtransform.
I've added Passport related instructions in readme.md with a pull request.
from unifiedtransform.
I think that master who create admin can also editing them and delete. Someone must be able to control them. Now you have situation that when admin is created no one can edit anything and what if master mad mistake in the project. Also, admin should have option to edit it's own profile, or just some parts.
I know that deleting is a problem because that removes id, but it must be some kind of set admin to non active. That is must have.
I planing to translate whole thing to Serbian when all errors are removed. I hope that would be helpfull to motivate others to translate to other languages.
from unifiedtransform.
@shone83 To make any user inactive we need to just set active
field in users
table to 0
. It would be great if you can build edit features for master and admin!
I've started writing test cases. You can write tests too!
from unifiedtransform.
I agree with @shone83 I believe master
should be able to manage school admin
and school admin
should able to update their details without being able to change their role or School
from unifiedtransform.
@shone83 @norbybaru Now you can activate, deactivate and edit Admin from Master account from view admin page
from unifiedtransform.
This topic can be used until all errors are corrected.
The further I noticed is that the count in the dashboard of professors and students does not work.
Also in Admin - Profile there is empty filed for nationality and religion. That fields not exist in form when master creating the admin. I do not think it's necessary.
from unifiedtransform.
@shone83 counts in Dashboard are Cached for 24hrs. It should be updated after 24hrs or if you delete cache files.
See in HomeController.php
. I use cache here because these data are not frequently changed. But if you want you can comment the cache part. I will add instruction in readme.md
from unifiedtransform.
When I run composer install
this error appear:
It is unsafe to run Dusk in production.
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
Also, some columns in users migration is not nullable. It says:
Integrity constraint violation: 1048 Column 'school_id' cannot be null
you must add this ->unsigned()->nullable()
to accept null values. That is also for code and section_id columns.
from unifiedtransform.
@shone83 in Laravel's document also mentioned that running Dusk is not safe for production environment. To fix this run composer install --no-dev
.
Can you make a pull request on user migration error?
from unifiedtransform.
As soon as to realize how to do that. I never done it before.
from unifiedtransform.
@shone83 there is a first time for everything 😃 .Try it!
from unifiedtransform.
When I run composer install --no-dev
it also shows this error.
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
from unifiedtransform.
I got another error that Class 'Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider' not found
@changeweb how can i fix this.
from unifiedtransform.
@ShekhSaifuddin007 Check this link
The class keyword was added in PHP 5.5, so it will not work with your version. You should replace this (in your config/app.php in providers section):
Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider::class,
by this:
'\Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider',
And it will work. Source:
http://php.net/manual/en/language.oop5.basic.php#language.oop5.basic.class.class
from unifiedtransform.
@changeweb
I got the solution for this error Class 'Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider' not found
by run this command composer require rap2hpoutre/laravel-log-viewer
i got this from https://github.com/rap2hpoutre/laravel-log-viewer
from unifiedtransform.
@changeweb Btw I sent you an email if you like to check it out.
from unifiedtransform.
Related Issues (20)
- Issues found on UnifiedTransform system HOT 3
- Issue on the Password Length HOT 1
- Issue on the Marking System HOT 1
- Minor Issue in Unified Transform system HOT 2
- composer install error HOT 5
- db failed: No such host is known HOT 2
- payment menu HOT 1
- mysql: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored. HOT 1
- I can't delete any information HOT 4
- Error - ROUTINE HOT 2
- Documents HOT 2
- Hosting on 00web HOT 1
- Does UT only work with docker? Where is the tutorial without docker? HOT 17
- Add Teacher & Add Student Feature Not Showing HOT 1
- Help needed for V1. HOT 17
- How to translate Brazilian Portuguese HOT 4
- reset password not working
- How to login as a teacher and student?
- Issue with purify folder.
- You bish
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unifiedtransform.