anoubis 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +28 -0
- data/Rakefile +38 -0
- data/app/controllers/anoubis/application_controller.rb +78 -0
- data/app/controllers/anoubis/core/application_controller.rb +343 -0
- data/app/controllers/anoubis/core/data/actions.rb +962 -0
- data/app/controllers/anoubis/core/data/callbacks.rb +68 -0
- data/app/controllers/anoubis/core/data/convert.rb +407 -0
- data/app/controllers/anoubis/core/data/defaults.rb +217 -0
- data/app/controllers/anoubis/core/data/get.rb +531 -0
- data/app/controllers/anoubis/core/data/load.rb +89 -0
- data/app/controllers/anoubis/core/data/set.rb +49 -0
- data/app/controllers/anoubis/core/data/setup.rb +104 -0
- data/app/controllers/anoubis/core/data_controller.rb +28 -0
- data/app/controllers/anoubis/core/index/actions.rb +53 -0
- data/app/controllers/anoubis/core/index/callbacks.rb +23 -0
- data/app/controllers/anoubis/core/index_controller.rb +36 -0
- data/app/controllers/anoubis/etc/base.rb +52 -0
- data/app/controllers/anoubis/etc/data.rb +89 -0
- data/app/controllers/anoubis/etc/field.rb +468 -0
- data/app/controllers/anoubis/etc/field_options.rb +83 -0
- data/app/controllers/anoubis/etc/field_order.rb +51 -0
- data/app/controllers/anoubis/etc/filter.rb +251 -0
- data/app/controllers/anoubis/etc/menu.rb +101 -0
- data/app/controllers/anoubis/etc/model.rb +67 -0
- data/app/controllers/anoubis/etc/tab_item.rb +91 -0
- data/app/controllers/anoubis/etc.rb +8 -0
- data/app/controllers/anoubis/export.rb +47 -0
- data/app/controllers/anoubis/output/autocomplete.rb +30 -0
- data/app/controllers/anoubis/output/basic.rb +86 -0
- data/app/controllers/anoubis/output/data.rb +101 -0
- data/app/controllers/anoubis/output/delete.rb +41 -0
- data/app/controllers/anoubis/output/edit.rb +55 -0
- data/app/controllers/anoubis/output/frame.rb +227 -0
- data/app/controllers/anoubis/output/login.rb +71 -0
- data/app/controllers/anoubis/output/menu.rb +220 -0
- data/app/controllers/anoubis/output/update.rb +43 -0
- data/app/controllers/anoubis/sso/client/application_controller.rb +139 -0
- data/app/controllers/anoubis/sso/client/data/actions.rb +5 -0
- data/app/controllers/anoubis/sso/client/data/callbacks.rb +5 -0
- data/app/controllers/anoubis/sso/client/data/convert.rb +5 -0
- data/app/controllers/anoubis/sso/client/data/defaults.rb +5 -0
- data/app/controllers/anoubis/sso/client/data/get.rb +5 -0
- data/app/controllers/anoubis/sso/client/data/load.rb +26 -0
- data/app/controllers/anoubis/sso/client/data/set.rb +5 -0
- data/app/controllers/anoubis/sso/client/data/setup.rb +5 -0
- data/app/controllers/anoubis/sso/client/data_controller.rb +21 -0
- data/app/controllers/anoubis/sso/client/index/actions.rb +79 -0
- data/app/controllers/anoubis/sso/client/index/callbacks.rb +13 -0
- data/app/controllers/anoubis/sso/client/index_controller.rb +18 -0
- data/app/controllers/anoubis/sso/server/application_controller.rb +49 -0
- data/app/controllers/anoubis/sso/server/login_controller.rb +342 -0
- data/app/controllers/anoubis/sso/server/user_controller.rb +142 -0
- data/app/controllers/anoubis/tenant/application_controller.rb +54 -0
- data/app/controllers/anoubis/tenant/data/actions.rb +11 -0
- data/app/controllers/anoubis/tenant/data/callbacks.rb +11 -0
- data/app/controllers/anoubis/tenant/data/convert.rb +11 -0
- data/app/controllers/anoubis/tenant/data/defaults.rb +11 -0
- data/app/controllers/anoubis/tenant/data/get.rb +11 -0
- data/app/controllers/anoubis/tenant/data/load.rb +52 -0
- data/app/controllers/anoubis/tenant/data/set.rb +11 -0
- data/app/controllers/anoubis/tenant/data/setup.rb +11 -0
- data/app/controllers/anoubis/tenant/data_controller.rb +28 -0
- data/app/controllers/anoubis/tenant/index/actions.rb +191 -0
- data/app/controllers/anoubis/tenant/index/callbacks.rb +11 -0
- data/app/controllers/anoubis/tenant/index_controller.rb +38 -0
- data/app/controllers/anoubis/tenants_controller.rb +7 -0
- data/app/controllers/anoubis/users_controller.rb +7 -0
- data/app/jobs/anoubis/application_job.rb +6 -0
- data/app/mailers/anoubis/application_mailer.rb +8 -0
- data/app/models/anoubis/application_record.rb +45 -0
- data/app/models/anoubis/core/application_record.rb +250 -0
- data/app/models/anoubis/core/locales.rb +27 -0
- data/app/models/anoubis/sso/client/application_record.rb +3 -0
- data/app/models/anoubis/sso/client/group.rb +19 -0
- data/app/models/anoubis/sso/client/group_menu.rb +109 -0
- data/app/models/anoubis/sso/client/menu.rb +145 -0
- data/app/models/anoubis/sso/client/user.rb +81 -0
- data/app/models/anoubis/sso/client/user_group.rb +32 -0
- data/app/models/anoubis/sso/server/system.rb +36 -0
- data/app/models/anoubis/sso/server/user.rb +79 -0
- data/app/models/anoubis/tenant/application_record.rb +41 -0
- data/app/models/anoubis/tenant/group.rb +95 -0
- data/app/models/anoubis/tenant/group_locale.rb +19 -0
- data/app/models/anoubis/tenant/group_menu.rb +84 -0
- data/app/models/anoubis/tenant/menu.rb +156 -0
- data/app/models/anoubis/tenant/menu_locale.rb +27 -0
- data/app/models/anoubis/tenant/system.rb +127 -0
- data/app/models/anoubis/tenant/system_locale.rb +19 -0
- data/app/models/anoubis/tenant/system_menu.rb +51 -0
- data/app/models/anoubis/tenant/tenant.rb +107 -0
- data/app/models/anoubis/tenant/tenant_system.rb +19 -0
- data/app/models/anoubis/tenant/user.rb +225 -0
- data/app/models/anoubis/tenant/user_group.rb +32 -0
- data/app/services/anoubis/core_service.rb +16 -0
- data/app/services/anoubis/session_service.rb +17 -0
- data/app/validators/presence_in_tenant_validator.rb +20 -0
- data/config/initializers/mime_type.rb +1 -0
- data/config/locales/en.yml +120 -0
- data/config/locales/ru.yml +245 -0
- data/config/routes.rb +74 -0
- data/db/migrate/20181018085843_create_tenants.rb +13 -0
- data/db/migrate/20181018111217_create_systems.rb +10 -0
- data/db/migrate/20181018111713_create_tenant_systems.rb +11 -0
- data/db/migrate/20181018111925_create_groups.rb +13 -0
- data/db/migrate/20181018112151_create_users.rb +25 -0
- data/db/migrate/20181018115737_add_title_to_users.rb +10 -0
- data/db/migrate/20181022060211_create_menus.rb +18 -0
- data/db/migrate/20181115055245_create_group_menus.rb +12 -0
- data/db/migrate/20181115060830_create_system_menus.rb +11 -0
- data/db/migrate/20181122062131_create_user_groups.rb +11 -0
- data/db/migrate/20181221060727_create_menu_locales.rb +14 -0
- data/db/migrate/20181225062303_create_system_locales.rb +11 -0
- data/db/migrate/20181225062339_create_group_locales.rb +11 -0
- data/db/seeds.rb +268 -0
- data/lib/anoubis/engine.rb +13 -0
- data/lib/anoubis/version.rb +5 -0
- data/lib/anoubis.rb +213 -0
- data/lib/tasks/anubis_tasks.rake +10 -0
- data/lib/tasks/sessions/clear_sessions.rake +10 -0
- data/spec/anubis_spec.rb +5 -0
- data/spec/controllers/anoubis/index_controller_spec.rb +77 -0
- data/spec/dummy/Rakefile +3 -0
- data/spec/dummy/app/assets/config/manifest.js +2 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +2 -0
- data/spec/dummy/app/jobs/application_job.rb +2 -0
- data/spec/dummy/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +33 -0
- data/spec/dummy/bin/update +28 -0
- data/spec/dummy/config/application.rb +14 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/database.yml +54 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +54 -0
- data/spec/dummy/config/environments/production.rb +85 -0
- data/spec/dummy/config/environments/test.rb +46 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cors.rb +16 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +33 -0
- data/spec/dummy/config/puma.rb +34 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/config.ru +5 -0
- data/spec/dummy/db/schema.rb +167 -0
- data/spec/dummy/db/seeds.rb +1 -0
- data/spec/factories/anubis_group_locales.rb +7 -0
- data/spec/factories/anubis_group_menus.rb +7 -0
- data/spec/factories/anubis_groups.rb +6 -0
- data/spec/factories/anubis_menu_locales.rb +9 -0
- data/spec/factories/anubis_menus.rb +6 -0
- data/spec/factories/anubis_system_locales.rb +7 -0
- data/spec/factories/anubis_system_menus.rb +6 -0
- data/spec/factories/anubis_systems.rb +5 -0
- data/spec/factories/anubis_tenants.rb +7 -0
- data/spec/factories/anubis_users.rb +10 -0
- data/spec/integration/navigation_test.rb +7 -0
- data/spec/models/anoubis/group_locale_spec.rb +25 -0
- data/spec/models/anoubis/group_menu_spec.rb +50 -0
- data/spec/models/anoubis/group_spec.rb +52 -0
- data/spec/models/anoubis/menu_locale_spec.rb +31 -0
- data/spec/models/anoubis/menu_spec.rb +48 -0
- data/spec/models/anoubis/system_locale_spec.rb +20 -0
- data/spec/models/anoubis/system_menu_spec.rb +49 -0
- data/spec/models/anoubis/system_spec.rb +53 -0
- data/spec/models/anoubis/tenant_spec.rb +67 -0
- data/spec/models/anoubis/user_spec.rb +57 -0
- data/spec/rails_helper.rb +32 -0
- data/spec/requests/anoubis/users_request_spec.rb +5 -0
- data/spec/spec_helper.rb +13 -0
- metadata +408 -0
metadata
ADDED
@@ -0,0 +1,408 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: anoubis
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Andrey Ryabov
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-01-31 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 6.1.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 6.1.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: redis
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 4.5.1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 4.5.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bcrypt
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 3.1.16
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 3.1.16
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rest-client
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.1.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.1.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: mysql2
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.5.3
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.5.3
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.13'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.13'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 3.10.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 3.10.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: factory_bot_rails
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 6.2.0
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 6.2.0
|
125
|
+
description: Backend API system for simplify creation administration pages and work
|
126
|
+
with databases.
|
127
|
+
email:
|
128
|
+
- andrey.ryabov@ra-company.kz
|
129
|
+
executables: []
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files: []
|
132
|
+
files:
|
133
|
+
- MIT-LICENSE
|
134
|
+
- README.md
|
135
|
+
- Rakefile
|
136
|
+
- app/controllers/anoubis/application_controller.rb
|
137
|
+
- app/controllers/anoubis/core/application_controller.rb
|
138
|
+
- app/controllers/anoubis/core/data/actions.rb
|
139
|
+
- app/controllers/anoubis/core/data/callbacks.rb
|
140
|
+
- app/controllers/anoubis/core/data/convert.rb
|
141
|
+
- app/controllers/anoubis/core/data/defaults.rb
|
142
|
+
- app/controllers/anoubis/core/data/get.rb
|
143
|
+
- app/controllers/anoubis/core/data/load.rb
|
144
|
+
- app/controllers/anoubis/core/data/set.rb
|
145
|
+
- app/controllers/anoubis/core/data/setup.rb
|
146
|
+
- app/controllers/anoubis/core/data_controller.rb
|
147
|
+
- app/controllers/anoubis/core/index/actions.rb
|
148
|
+
- app/controllers/anoubis/core/index/callbacks.rb
|
149
|
+
- app/controllers/anoubis/core/index_controller.rb
|
150
|
+
- app/controllers/anoubis/etc.rb
|
151
|
+
- app/controllers/anoubis/etc/base.rb
|
152
|
+
- app/controllers/anoubis/etc/data.rb
|
153
|
+
- app/controllers/anoubis/etc/field.rb
|
154
|
+
- app/controllers/anoubis/etc/field_options.rb
|
155
|
+
- app/controllers/anoubis/etc/field_order.rb
|
156
|
+
- app/controllers/anoubis/etc/filter.rb
|
157
|
+
- app/controllers/anoubis/etc/menu.rb
|
158
|
+
- app/controllers/anoubis/etc/model.rb
|
159
|
+
- app/controllers/anoubis/etc/tab_item.rb
|
160
|
+
- app/controllers/anoubis/export.rb
|
161
|
+
- app/controllers/anoubis/output/autocomplete.rb
|
162
|
+
- app/controllers/anoubis/output/basic.rb
|
163
|
+
- app/controllers/anoubis/output/data.rb
|
164
|
+
- app/controllers/anoubis/output/delete.rb
|
165
|
+
- app/controllers/anoubis/output/edit.rb
|
166
|
+
- app/controllers/anoubis/output/frame.rb
|
167
|
+
- app/controllers/anoubis/output/login.rb
|
168
|
+
- app/controllers/anoubis/output/menu.rb
|
169
|
+
- app/controllers/anoubis/output/update.rb
|
170
|
+
- app/controllers/anoubis/sso/client/application_controller.rb
|
171
|
+
- app/controllers/anoubis/sso/client/data/actions.rb
|
172
|
+
- app/controllers/anoubis/sso/client/data/callbacks.rb
|
173
|
+
- app/controllers/anoubis/sso/client/data/convert.rb
|
174
|
+
- app/controllers/anoubis/sso/client/data/defaults.rb
|
175
|
+
- app/controllers/anoubis/sso/client/data/get.rb
|
176
|
+
- app/controllers/anoubis/sso/client/data/load.rb
|
177
|
+
- app/controllers/anoubis/sso/client/data/set.rb
|
178
|
+
- app/controllers/anoubis/sso/client/data/setup.rb
|
179
|
+
- app/controllers/anoubis/sso/client/data_controller.rb
|
180
|
+
- app/controllers/anoubis/sso/client/index/actions.rb
|
181
|
+
- app/controllers/anoubis/sso/client/index/callbacks.rb
|
182
|
+
- app/controllers/anoubis/sso/client/index_controller.rb
|
183
|
+
- app/controllers/anoubis/sso/server/application_controller.rb
|
184
|
+
- app/controllers/anoubis/sso/server/login_controller.rb
|
185
|
+
- app/controllers/anoubis/sso/server/user_controller.rb
|
186
|
+
- app/controllers/anoubis/tenant/application_controller.rb
|
187
|
+
- app/controllers/anoubis/tenant/data/actions.rb
|
188
|
+
- app/controllers/anoubis/tenant/data/callbacks.rb
|
189
|
+
- app/controllers/anoubis/tenant/data/convert.rb
|
190
|
+
- app/controllers/anoubis/tenant/data/defaults.rb
|
191
|
+
- app/controllers/anoubis/tenant/data/get.rb
|
192
|
+
- app/controllers/anoubis/tenant/data/load.rb
|
193
|
+
- app/controllers/anoubis/tenant/data/set.rb
|
194
|
+
- app/controllers/anoubis/tenant/data/setup.rb
|
195
|
+
- app/controllers/anoubis/tenant/data_controller.rb
|
196
|
+
- app/controllers/anoubis/tenant/index/actions.rb
|
197
|
+
- app/controllers/anoubis/tenant/index/callbacks.rb
|
198
|
+
- app/controllers/anoubis/tenant/index_controller.rb
|
199
|
+
- app/controllers/anoubis/tenants_controller.rb
|
200
|
+
- app/controllers/anoubis/users_controller.rb
|
201
|
+
- app/jobs/anoubis/application_job.rb
|
202
|
+
- app/mailers/anoubis/application_mailer.rb
|
203
|
+
- app/models/anoubis/application_record.rb
|
204
|
+
- app/models/anoubis/core/application_record.rb
|
205
|
+
- app/models/anoubis/core/locales.rb
|
206
|
+
- app/models/anoubis/sso/client/application_record.rb
|
207
|
+
- app/models/anoubis/sso/client/group.rb
|
208
|
+
- app/models/anoubis/sso/client/group_menu.rb
|
209
|
+
- app/models/anoubis/sso/client/menu.rb
|
210
|
+
- app/models/anoubis/sso/client/user.rb
|
211
|
+
- app/models/anoubis/sso/client/user_group.rb
|
212
|
+
- app/models/anoubis/sso/server/system.rb
|
213
|
+
- app/models/anoubis/sso/server/user.rb
|
214
|
+
- app/models/anoubis/tenant/application_record.rb
|
215
|
+
- app/models/anoubis/tenant/group.rb
|
216
|
+
- app/models/anoubis/tenant/group_locale.rb
|
217
|
+
- app/models/anoubis/tenant/group_menu.rb
|
218
|
+
- app/models/anoubis/tenant/menu.rb
|
219
|
+
- app/models/anoubis/tenant/menu_locale.rb
|
220
|
+
- app/models/anoubis/tenant/system.rb
|
221
|
+
- app/models/anoubis/tenant/system_locale.rb
|
222
|
+
- app/models/anoubis/tenant/system_menu.rb
|
223
|
+
- app/models/anoubis/tenant/tenant.rb
|
224
|
+
- app/models/anoubis/tenant/tenant_system.rb
|
225
|
+
- app/models/anoubis/tenant/user.rb
|
226
|
+
- app/models/anoubis/tenant/user_group.rb
|
227
|
+
- app/services/anoubis/core_service.rb
|
228
|
+
- app/services/anoubis/session_service.rb
|
229
|
+
- app/validators/presence_in_tenant_validator.rb
|
230
|
+
- config/initializers/mime_type.rb
|
231
|
+
- config/locales/en.yml
|
232
|
+
- config/locales/ru.yml
|
233
|
+
- config/routes.rb
|
234
|
+
- db/migrate/20181018085843_create_tenants.rb
|
235
|
+
- db/migrate/20181018111217_create_systems.rb
|
236
|
+
- db/migrate/20181018111713_create_tenant_systems.rb
|
237
|
+
- db/migrate/20181018111925_create_groups.rb
|
238
|
+
- db/migrate/20181018112151_create_users.rb
|
239
|
+
- db/migrate/20181018115737_add_title_to_users.rb
|
240
|
+
- db/migrate/20181022060211_create_menus.rb
|
241
|
+
- db/migrate/20181115055245_create_group_menus.rb
|
242
|
+
- db/migrate/20181115060830_create_system_menus.rb
|
243
|
+
- db/migrate/20181122062131_create_user_groups.rb
|
244
|
+
- db/migrate/20181221060727_create_menu_locales.rb
|
245
|
+
- db/migrate/20181225062303_create_system_locales.rb
|
246
|
+
- db/migrate/20181225062339_create_group_locales.rb
|
247
|
+
- db/seeds.rb
|
248
|
+
- lib/anoubis.rb
|
249
|
+
- lib/anoubis/engine.rb
|
250
|
+
- lib/anoubis/version.rb
|
251
|
+
- lib/tasks/anubis_tasks.rake
|
252
|
+
- lib/tasks/sessions/clear_sessions.rake
|
253
|
+
- spec/anubis_spec.rb
|
254
|
+
- spec/controllers/anoubis/index_controller_spec.rb
|
255
|
+
- spec/dummy/Rakefile
|
256
|
+
- spec/dummy/app/assets/config/manifest.js
|
257
|
+
- spec/dummy/app/assets/javascripts/application.js
|
258
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
259
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
260
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
261
|
+
- spec/dummy/app/controllers/application_controller.rb
|
262
|
+
- spec/dummy/app/jobs/application_job.rb
|
263
|
+
- spec/dummy/app/mailers/application_mailer.rb
|
264
|
+
- spec/dummy/app/models/application_record.rb
|
265
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
266
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
267
|
+
- spec/dummy/bin/bundle
|
268
|
+
- spec/dummy/bin/rails
|
269
|
+
- spec/dummy/bin/rake
|
270
|
+
- spec/dummy/bin/setup
|
271
|
+
- spec/dummy/bin/update
|
272
|
+
- spec/dummy/config.ru
|
273
|
+
- spec/dummy/config/application.rb
|
274
|
+
- spec/dummy/config/boot.rb
|
275
|
+
- spec/dummy/config/cable.yml
|
276
|
+
- spec/dummy/config/database.yml
|
277
|
+
- spec/dummy/config/environment.rb
|
278
|
+
- spec/dummy/config/environments/development.rb
|
279
|
+
- spec/dummy/config/environments/production.rb
|
280
|
+
- spec/dummy/config/environments/test.rb
|
281
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
282
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
283
|
+
- spec/dummy/config/initializers/cors.rb
|
284
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
285
|
+
- spec/dummy/config/initializers/inflections.rb
|
286
|
+
- spec/dummy/config/initializers/mime_types.rb
|
287
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
288
|
+
- spec/dummy/config/locales/en.yml
|
289
|
+
- spec/dummy/config/puma.rb
|
290
|
+
- spec/dummy/config/routes.rb
|
291
|
+
- spec/dummy/config/spring.rb
|
292
|
+
- spec/dummy/config/storage.yml
|
293
|
+
- spec/dummy/db/schema.rb
|
294
|
+
- spec/dummy/db/seeds.rb
|
295
|
+
- spec/factories/anubis_group_locales.rb
|
296
|
+
- spec/factories/anubis_group_menus.rb
|
297
|
+
- spec/factories/anubis_groups.rb
|
298
|
+
- spec/factories/anubis_menu_locales.rb
|
299
|
+
- spec/factories/anubis_menus.rb
|
300
|
+
- spec/factories/anubis_system_locales.rb
|
301
|
+
- spec/factories/anubis_system_menus.rb
|
302
|
+
- spec/factories/anubis_systems.rb
|
303
|
+
- spec/factories/anubis_tenants.rb
|
304
|
+
- spec/factories/anubis_users.rb
|
305
|
+
- spec/integration/navigation_test.rb
|
306
|
+
- spec/models/anoubis/group_locale_spec.rb
|
307
|
+
- spec/models/anoubis/group_menu_spec.rb
|
308
|
+
- spec/models/anoubis/group_spec.rb
|
309
|
+
- spec/models/anoubis/menu_locale_spec.rb
|
310
|
+
- spec/models/anoubis/menu_spec.rb
|
311
|
+
- spec/models/anoubis/system_locale_spec.rb
|
312
|
+
- spec/models/anoubis/system_menu_spec.rb
|
313
|
+
- spec/models/anoubis/system_spec.rb
|
314
|
+
- spec/models/anoubis/tenant_spec.rb
|
315
|
+
- spec/models/anoubis/user_spec.rb
|
316
|
+
- spec/rails_helper.rb
|
317
|
+
- spec/requests/anoubis/users_request_spec.rb
|
318
|
+
- spec/spec_helper.rb
|
319
|
+
homepage: https://github.com/RA-Company/
|
320
|
+
licenses:
|
321
|
+
- MIT
|
322
|
+
metadata: {}
|
323
|
+
post_install_message:
|
324
|
+
rdoc_options: []
|
325
|
+
require_paths:
|
326
|
+
- lib
|
327
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
328
|
+
requirements:
|
329
|
+
- - ">="
|
330
|
+
- !ruby/object:Gem::Version
|
331
|
+
version: 2.7.1
|
332
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
333
|
+
requirements:
|
334
|
+
- - ">="
|
335
|
+
- !ruby/object:Gem::Version
|
336
|
+
version: '0'
|
337
|
+
requirements: []
|
338
|
+
rubygems_version: 3.1.2
|
339
|
+
signing_key:
|
340
|
+
specification_version: 4
|
341
|
+
summary: Anoubis API Backend System
|
342
|
+
test_files:
|
343
|
+
- spec/models/anoubis/system_spec.rb
|
344
|
+
- spec/models/anoubis/group_locale_spec.rb
|
345
|
+
- spec/models/anoubis/system_locale_spec.rb
|
346
|
+
- spec/models/anoubis/group_menu_spec.rb
|
347
|
+
- spec/models/anoubis/menu_spec.rb
|
348
|
+
- spec/models/anoubis/menu_locale_spec.rb
|
349
|
+
- spec/models/anoubis/user_spec.rb
|
350
|
+
- spec/models/anoubis/system_menu_spec.rb
|
351
|
+
- spec/models/anoubis/tenant_spec.rb
|
352
|
+
- spec/models/anoubis/group_spec.rb
|
353
|
+
- spec/factories/anubis_users.rb
|
354
|
+
- spec/factories/anubis_system_menus.rb
|
355
|
+
- spec/factories/anubis_menus.rb
|
356
|
+
- spec/factories/anubis_systems.rb
|
357
|
+
- spec/factories/anubis_menu_locales.rb
|
358
|
+
- spec/factories/anubis_group_locales.rb
|
359
|
+
- spec/factories/anubis_tenants.rb
|
360
|
+
- spec/factories/anubis_groups.rb
|
361
|
+
- spec/factories/anubis_system_locales.rb
|
362
|
+
- spec/factories/anubis_group_menus.rb
|
363
|
+
- spec/anubis_spec.rb
|
364
|
+
- spec/rails_helper.rb
|
365
|
+
- spec/controllers/anoubis/index_controller_spec.rb
|
366
|
+
- spec/requests/anoubis/users_request_spec.rb
|
367
|
+
- spec/integration/navigation_test.rb
|
368
|
+
- spec/dummy/bin/setup
|
369
|
+
- spec/dummy/bin/bundle
|
370
|
+
- spec/dummy/bin/rails
|
371
|
+
- spec/dummy/bin/update
|
372
|
+
- spec/dummy/bin/rake
|
373
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
374
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
375
|
+
- spec/dummy/app/models/application_record.rb
|
376
|
+
- spec/dummy/app/mailers/application_mailer.rb
|
377
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
378
|
+
- spec/dummy/app/assets/javascripts/application.js
|
379
|
+
- spec/dummy/app/assets/config/manifest.js
|
380
|
+
- spec/dummy/app/controllers/application_controller.rb
|
381
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
382
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
383
|
+
- spec/dummy/app/jobs/application_job.rb
|
384
|
+
- spec/dummy/Rakefile
|
385
|
+
- spec/dummy/config.ru
|
386
|
+
- spec/dummy/db/schema.rb
|
387
|
+
- spec/dummy/db/seeds.rb
|
388
|
+
- spec/dummy/config/storage.yml
|
389
|
+
- spec/dummy/config/boot.rb
|
390
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
391
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
392
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
393
|
+
- spec/dummy/config/initializers/cors.rb
|
394
|
+
- spec/dummy/config/initializers/inflections.rb
|
395
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
396
|
+
- spec/dummy/config/initializers/mime_types.rb
|
397
|
+
- spec/dummy/config/cable.yml
|
398
|
+
- spec/dummy/config/locales/en.yml
|
399
|
+
- spec/dummy/config/database.yml
|
400
|
+
- spec/dummy/config/puma.rb
|
401
|
+
- spec/dummy/config/routes.rb
|
402
|
+
- spec/dummy/config/environments/test.rb
|
403
|
+
- spec/dummy/config/environments/production.rb
|
404
|
+
- spec/dummy/config/environments/development.rb
|
405
|
+
- spec/dummy/config/application.rb
|
406
|
+
- spec/dummy/config/environment.rb
|
407
|
+
- spec/dummy/config/spring.rb
|
408
|
+
- spec/spec_helper.rb
|