phcmembers 1.9.0 → 1.9.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea94282373123404f64191d4b3ed2cba2d7a82cb
4
- data.tar.gz: 814c8aec41915dd7135d514721c377d2b39fb4cf
3
+ metadata.gz: 2f744f42adc64b8a6ff1aeffd4c89b57a26190c9
4
+ data.tar.gz: 8ab20d087a41865d8212e4e9f45196fb82fb1481
5
5
  SHA512:
6
- metadata.gz: c5dc5de388cae7f86013cebe8ba1a04f8b005d64d268b1f974b5298e826ded896951ba2d23dd5917248a3636be0733a5c0dd898a87f7b754a5a4608c5152b50d
7
- data.tar.gz: 4720fcad55ef923e7041bd08033992f1d62688f6f405c4ac3c5f850acaa893862340caac92745761b51c9f1648dde6503ad5fda07d9e6358d93e4f3c36ab4128
6
+ metadata.gz: 9addb90a83146614d151a3262b06284ed98eadbabe381ecdaecf4dac8c0b0d5f9b874bb3fe2f5379cb68bf864667116aeca0370b840512a9e22dba5c6c0c035c
7
+ data.tar.gz: 3052d04bf18af60d1d2c7442ec830b38bd726730e673032ae07bb23d3699a478d765775687f674be7dbd8173b5b79d094eaf62569a34c02c37dd26b20b466fc1
data/README.md CHANGED
@@ -2,42 +2,43 @@
2
2
  [![Code Climate](https://codeclimate.com/github/PHCNetworks/phc-members/badges/gpa.svg)](https://codeclimate.com/github/PHCNetworks/phc-members)
3
3
  [![Issue Count](https://codeclimate.com/github/PHCNetworks/phc-members/badges/issue_count.svg)](https://codeclimate.com/github/PHCNetworks/phc-members)
4
4
  [![Gem Version](https://badge.fury.io/rb/phcmembers.svg)](https://badge.fury.io/rb/phcmembers)
5
-
5
+
6
6
  ### PHC-Members (Membership & Directory Engine) Documentation
7
7
  PHCPress is an open source membership and listing directory engine purpose built for PHCMembers application.
8
-
9
- - Fast setup of mebership and web directory modules.
8
+
9
+ - Fast setup of membership and web directory modules.
10
10
  - Directory and listings manager with a web directory API.
11
11
  - Member's list, contact information and listings manager.
12
12
  - Easy app integration with views for your app.
13
13
  - Uses Devise (user model) for authentication.
14
-
14
+
15
15
  #### Step 1 - Add PHC-Members to your gemfile
16
-
17
- gem 'phcmembers', '~> 1.8', '>= 1.8.1'
16
+
17
+ gem 'phcmembers', '~> 1.9'
18
18
  bundle exec install
19
-
19
+
20
20
  #### Step 2 - Add database migration files
21
-
21
+
22
22
  rake railties:install:migrations
23
23
  rake db:migrate
24
-
24
+
25
25
  #### Step 3 - Mount PHC-Members in your Routes File
26
26
  Mount the Engine in your Routes File
27
-
27
+
28
28
  mount Phcmembers::Engine, :at => '/'
29
-
29
+
30
30
  #### Step 4 - Generate Views
31
31
  Generate views for customization and app integration.
32
-
32
+
33
33
  rails generate phcmembers:views
34
-
34
+
35
35
  #### Step 5 - Recompile Assets
36
36
  PHC-Members UI requires bootstrap and fontawesome to operate.
37
-
37
+
38
38
  rake assets:clobber
39
39
  rake assets:precompile
40
-
40
+
41
41
  #### Additional Info & Help
42
42
 
43
43
  [Past Security Patch Notes](https://github.com/PHCNetworks/phc-members/wiki/Critical-Security-Updates)
44
+
@@ -1,10 +1,12 @@
1
1
  require_dependency "phcmembers/application_controller"
2
2
 
3
3
  module Phcmembers
4
- class DashboardController < ApplicationController
4
+ class Dashboard::IndicesController < ApplicationController
5
5
 
6
- #before_action :authenticate_user!
6
+ # Filters
7
+ before_action :authenticate_user!
7
8
 
9
+ # Dashboard Index
8
10
  def index
9
11
  @members_main = Members::Main.all
10
12
  @members_listing = Members::Listing.all
data/config/routes.rb CHANGED
@@ -1,7 +1,12 @@
1
1
  Phcmembers::Engine.routes.draw do
2
2
 
3
3
  # Dashboard
4
- root :to => "dashboard#index"
4
+ namespace :dashboard do
5
+
6
+ # Dashboard Main Index
7
+ get '/' => 'indices#index'
8
+
9
+ end
5
10
 
6
11
  # Application Client Backend
7
12
  namespace :members do
@@ -1,3 +1,3 @@
1
1
  module Phcmembers
2
- VERSION = "1.9.0"
2
+ VERSION = "1.9.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcmembers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
@@ -426,7 +426,7 @@ files:
426
426
  - app/controllers/phcmembers/api/catsapi_controller.rb
427
427
  - app/controllers/phcmembers/api/listapi_controller.rb
428
428
  - app/controllers/phcmembers/application_controller.rb
429
- - app/controllers/phcmembers/dashboard_controller.rb
429
+ - app/controllers/phcmembers/dashboard/indices_controller.rb
430
430
  - app/controllers/phcmembers/directory/categories_controller.rb
431
431
  - app/controllers/phcmembers/directory/catlists_controller.rb
432
432
  - app/controllers/phcmembers/members/contacts_controller.rb
@@ -452,13 +452,12 @@ files:
452
452
  - app/views/layouts/_application_header.html.erb
453
453
  - app/views/layouts/_application_sidebar.html.erb
454
454
  - app/views/layouts/application.html.erb
455
- - app/views/layouts/dashboard.html.erb
456
455
  - app/views/layouts/phcmembers/application.html.erb
457
456
  - app/views/layouts/phcmembers/directory/directory_all.html.erb
458
457
  - app/views/layouts/phcmembers/members/members_all.html.erb
459
458
  - app/views/phcmembers/api/catsapi/index.json.rabl
460
459
  - app/views/phcmembers/api/listapi/index.json.rabl
461
- - app/views/phcmembers/dashboard/index.html.erb
460
+ - app/views/phcmembers/dashboard/indices/index.html.erb
462
461
  - app/views/phcmembers/directory/categories/_form.html.erb
463
462
  - app/views/phcmembers/directory/categories/edit.html.erb
464
463
  - app/views/phcmembers/directory/categories/index.html.erb
@@ -1,97 +0,0 @@
1
- <div class="row">
2
- <div class="col-sm-12">
3
- <div class="chart-wrapper">
4
- <div class="chart-title">
5
- Cell Title
6
- </div>
7
- <div class="chart-stage">
8
- <img data-src="holder.js/100%x240/white">
9
- </div>
10
- <div class="chart-notes">
11
- Notes about this chart
12
- </div>
13
- </div>
14
- </div>
15
- </div>
16
- <div class="row">
17
- <div class="col-sm-4">
18
- <div class="chart-wrapper">
19
- <div class="chart-title">
20
- Cell Title
21
- </div>
22
- <div class="chart-stage">
23
- <img data-src="holder.js/100%x120/white">
24
- </div>
25
- <div class="chart-notes">
26
- Notes about this chart
27
- </div>
28
- </div>
29
- </div>
30
- <div class="col-sm-4">
31
- <div class="chart-wrapper">
32
- <div class="chart-title">
33
- Cell Title
34
- </div>
35
- <div class="chart-stage">
36
- <img data-src="holder.js/100%x120/white">
37
- </div>
38
- <div class="chart-notes">
39
- Notes about this chart
40
- </div>
41
- </div>
42
- </div>
43
- <div class="col-sm-4">
44
- <div class="chart-wrapper">
45
- <div class="chart-title">
46
- Cell Title
47
- </div>
48
- <div class="chart-stage">
49
- <img data-src="holder.js/100%x120/white">
50
- </div>
51
- <div class="chart-notes">
52
- Notes about this chart
53
- </div>
54
- </div>
55
- </div>
56
- </div>
57
- <div class="row">
58
- <div class="col-sm-4">
59
- <div class="chart-wrapper">
60
- <div class="chart-title">
61
- Cell Title
62
- </div>
63
- <div class="chart-stage">
64
- <img data-src="holder.js/100%x120/white">
65
- </div>
66
- <div class="chart-notes">
67
- Notes about this chart
68
- </div>
69
- </div>
70
- </div>
71
- <div class="col-sm-4">
72
- <div class="chart-wrapper">
73
- <div class="chart-title">
74
- Cell Title
75
- </div>
76
- <div class="chart-stage">
77
- <img data-src="holder.js/100%x120/white">
78
- </div>
79
- <div class="chart-notes">
80
- Notes about this chart
81
- </div>
82
- </div>
83
- </div>
84
- <div class="col-sm-4">
85
- <div class="chart-wrapper">
86
- <div class="chart-title">
87
- Cell Title
88
- </div>
89
- <div class="chart-stage">
90
- <img data-src="holder.js/100%x120/white">
91
- </div>
92
- <div class="chart-notes">
93
- Notes about this chart
94
- </div>
95
- </div>
96
- </div>
97
- </div>