Skip to content

Commit 2344e92

Browse files
committed
Merge branch 'dev'
2 parents f424a01 + b0e2e38 commit 2344e92

File tree

13 files changed

+27
-447
lines changed

13 files changed

+27
-447
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<a name="1.0.9"></a>
2+
# [1.0.9](https://github.com/flextype-plugins/admin) (2020-06-21)
3+
4+
### Refactor
5+
6+
* **refactor(core)** remove User functionality and update code base for new ACL
7+
18
<a name="1.0.8"></a>
29
# [1.0.8](https://github.com/flextype-plugins/admin) (2020-06-13)
310

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,15 @@ The following dependencies need to be installed for Form Admin Plugin.
2020
| [form-admin](https://github.com/flextype-plugins/form-admin) | >=1.0.0 | [download](https://github.com/flextype-plugins/form-admin/releases) |
2121
| [jquery](https://github.com/flextype-plugins/jquery) | >=1.0.0 | [download](https://github.com/flextype-plugins/jquery/releases) |
2222
| [icon](https://github.com/flextype-plugins/icon) | >=1.0.0 | [download](https://github.com/flextype-plugins/icon/releases) |
23+
| [acl](https://github.com/flextype-plugins/acl) | >=1.0.0 | [download](https://github.com/flextype-plugins/acl/releases) |
24+
| [accounts-admin](https://github.com/flextype-plugins/accounts-admin) | >=1.0.0 | [download](https://github.com/flextype-plugins/accounts-admin/releases) |
2325

2426
## Installation
2527

2628
1. Download & Install all required dependencies.
2729
2. Create new folder `/project/plugins/admin`
28-
3. Download Themes Admin Plugin and unzip plugin content to the folder `/project/plugins/admin`
30+
3. Download Admin Plugin and unzip plugin content to the folder `/project/plugins/admin`
31+
4. Go to `YOUR_SITE_URL/admin/accounts/registration` and create your super admin account.
2932

3033
## Settings
3134

@@ -34,7 +37,7 @@ The following dependencies need to be installed for Form Admin Plugin.
3437
| enabled | true | true or false to disable the plugin |
3538
| priority | 80 | admin plugin priority |
3639
| flextype_menu | [] | admin flextype menu |
37-
| route | admin | custom admin pane route |
40+
| route | admin | custom admin panel route |
3841

3942

4043
### Entries settings

app/Controllers/UsersController.php

Lines changed: 0 additions & 271 deletions
This file was deleted.

composer.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
},
2828
"autoload": {
2929
"classmap": [
30-
"app",
31-
"twig",
32-
"middlewares"
30+
"app"
3331
]
3432
}
3533
}

dependencies.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
$flextype->registry->set('plugins.admin.settings.navigation.system.tools', ['title' => __('admin_tools'),'icon' => 'fas fa-toolbox', 'link' => $flextype->router->pathFor('admin.tools.index')]);
2424
$flextype->registry->set('plugins.admin.settings.navigation.system.api', ['title' => __('admin_api'),'icon' => 'fas fa-network-wired', 'link' => $flextype->router->pathFor('admin.api.index')]);
2525

26-
// Add Global Vars Admin Twig Extension
27-
$flextype->twig->addExtension(new GlobalVarsAdminTwigExtension($flextype));
28-
2926
/**
3027
* Add Assets
3128
*/
@@ -57,10 +54,6 @@
5754
return new EntriesController($container);
5855
};
5956

60-
$flextype['UsersController'] = static function ($container) {
61-
return new UsersController($container);
62-
};
63-
6457
$flextype['ToolsController'] = static function ($container) {
6558
return new ToolsController($container);
6659
};

middlewares/AdminPanelAuthMiddleware.php

Lines changed: 0 additions & 38 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Admin",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"description": "Admin theme for Flextype",
55
"homepage": "http://flextype.org",
66
"author": "Sergey Romanenko",

0 commit comments

Comments
 (0)