spina-admin-conferences-fork 3.0.0.rc2 → 3.0.0.rc3

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
  SHA256:
3
- metadata.gz: d2069cad41a5e1fa9f40f6b8ca9be7b946105af40c65583c50029299a1ed355f
4
- data.tar.gz: f0acfe5219d447618b3a5c483a9083f5cc119e5986823b948930ab5cbcae4d8d
3
+ metadata.gz: '0924918c23bbaf05550c4f245a658955dc8116dfbdda3e9fe17abfc59576dc97'
4
+ data.tar.gz: 201b0680cad2c8c4b16a922c11784c1ca170d534288eed0d44c438fe141f2a56
5
5
  SHA512:
6
- metadata.gz: c2a1b90a47c802b67c44c97df7c0baa7f97c5a845e7c7b9cc6665d4ba278c08dd0d5f3d243ea170d41fe35c9f2a6337071916f70faca05f32f3655da6255cd8a
7
- data.tar.gz: ba33885b606f4d54e469e3f528d8a2e9e997cbf22755cbfa0b090472aa4f495592c292a5c3dfb7a6e084b15fd9c4ee3beb0780692c69638490edfe93825083f3
6
+ metadata.gz: 71f9d163f9a0e96c5b7202143df4a49e1dc6945fc200fd427c1e3f356aed5f7e04d373916f5a59d9a7827f1c0b4a53ac1a31d554997e507b33b0651c47fefff3
7
+ data.tar.gz: 805deb378c7202842bf7bbbfaf1bf256341386e978f4566b1a2d71aaaf555fea4bddd5ea6eaa7866f0d8ba08ba51d687981bcccb96f275723c5c1ba353381a2a
data/README.md CHANGED
@@ -1,33 +1,34 @@
1
1
  # Conferences
2
2
 
3
- ![Rails tests](https://github.com/jmalcic/spina-admin-conferences/workflows/Rails%20tests/badge.svg?branch=master&event=push)
4
- [![Coverage Status](https://coveralls.io/repos/github/jmalcic/spina-admin-conferences/badge.svg?branch=master)](https://coveralls.io/github/jmalcic/spina-admin-conferences?branch=master)
5
- [![Total alerts](https://img.shields.io/lgtm/alerts/g/jmalcic/spina-admin-conferences.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/jmalcic/spina-admin-conferences/alerts/)
6
- [![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/jmalcic/spina-admin-conferences.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/jmalcic/spina-admin-conferences/context:javascript)
7
- [![Code quality](https://www.codefactor.io/repository/github/jmalcic/spina-admin-conferences/badge)](https://www.codefactor.io/repository/github/jmalcic/spina-admin-conferences)
8
- [![Inline docs](http://inch-ci.org/github/jmalcic/spina-admin-conferences.svg?branch=master)](http://inch-ci.org/github/jmalcic/spina-admin-conferences)
9
- [![Visual testing](https://percy.io/static/images/percy-badge.svg)](https://percy.io/Ulab/spina-admin-conferences)
10
-
11
- *Conferences* is a plugin for [Spina](https://www.spinacms.com 'Spina website') (a [Rails](http://rubyonrails.org 'Ruby on Rails website') content management system) to add conference management functionality.
12
- With the plugin, you'll be able to manage details of conferences, delegates, and presentations.
13
- See the wiki for details of the types of data supported.
3
+ *Conferences* is a plugin for [Spina](https://www.spinacms.com/) that provides conference management functionality. With the plugin, you'll be able to manage details of conferences, delegates, and presentations.
4
+
5
+ Spina is a content management system built in [Ruby on Rails](http://rubyonrails.org/). *Conferences* augments Spina by providing an admin interface for managing conferences.
6
+
7
+ ![Rails tests](https://github.com/louis-vs/spina-admin-conferences-fork/workflows/Verify/badge.svg?branch=main&event=push)
8
+ [![CodeFactor](https://www.codefactor.io/repository/github/louis-vs/spina-admin-conferences-fork/badge)](https://www.codefactor.io/repository/github/louis-vs/spina-admin-conferences-fork)
9
+
10
+ ## Features
11
+
12
+ The conferences plugin covers many important aspects of managing a conferences, including:
13
+
14
+ - Simple interface that builds upon Spina's own.
15
+ - Manage details about delegates, including dietary requirements.
16
+ - Manage conferences, supporting conferences with multiple host institutions.
17
+ - Manage presentations, including presentation types.
18
+
19
+ Currently, a submissions management system is not included, but this is planned for a future release. This will allow you to manage the submissions process for conferences in a manner integrated with the CMS.
14
20
 
15
21
  ## Usage
16
22
 
17
23
  The plugin will add a **Conferences** item to Spina's primary navigation menu.
18
24
  The menu structure will then be as follows:
19
25
 
20
- * *Other menu items*
21
-
22
- * Conferences
23
-
24
- * Institutions
25
-
26
- * Conferences
27
-
28
- * Delegates
29
-
30
- * Presentations
26
+ - *Other menu items*
27
+ - Conferences
28
+ - Institutions
29
+ - Conferences
30
+ - Delegates
31
+ - Presentations
31
32
 
32
33
  After installing the plugin, you just need to start your server in the usual way:
33
34
  ```bash
@@ -37,63 +38,45 @@ $ rails s
37
38
  ## Installation
38
39
 
39
40
  ### From scratch
41
+ Make sure you have a working installation of Ruby on Rails 7. You can find a setup guide [here](https://guides.rubyonrails.org/getting_started.html).
40
42
 
41
- You'll need [Rails](http://rubyonrails.org 'Ruby on Rails website') installed if it isn't already.
42
- Read how to do this in the [Rails getting started guide](https://guides.rubyonrails.org/getting_started.html 'Getting Started with Rails').
43
+ You then need to install Spina, following the guide [on the Spina website](https://spinacms.com/docs).
43
44
 
44
- Then run:
45
- ```bash
46
- $ rails new your_app --database postgresql
47
- $ rails db:create
48
- $ rails active_storage:install
49
- ```
50
-
51
- Add this line to your application's Gemfile:
45
+ To install the plugin, add this line to your application's Gemfile:
52
46
 
53
47
  ```ruby
54
- gem 'spina'
48
+ gem 'spina-admin-conferences-fork', '~> 3.0'
55
49
  ```
56
50
 
57
- And then execute:
58
- ```bash
59
- $ bundle:install
60
- ```
51
+ Then execute:
61
52
 
62
- Run the Spina install generator:
63
53
  ```bash
64
- $ rails g spina:install
54
+ $ bundle install
65
55
  ```
66
56
 
67
- And follow the prompts.
68
- Then follow the instructions below.
69
-
70
- ### For existing Spina installations
71
-
72
- Add this line to your application's Gemfile:
57
+ You'll then need to install and run the migrations from the plugin:
73
58
 
74
- ```ruby
75
- gem 'spina-admin-conferences'
59
+ ```bash
60
+ $ bin/rails spina_admin_conferences:install:migrations
61
+ $ bin/rails db:migrate
76
62
  ```
77
63
 
78
- You'll then need to install and run the migrations from Conferences (the Spina install generator does this for Spina).
64
+ You can then start a local server to test that everything's working.
79
65
 
80
- First install the migrations and then migrate the database:
81
66
  ```bash
82
- $ rake spina_admin_conferences:install:migrations
83
- $ rake db:migrate
67
+ $ bin/rails s
84
68
  ```
85
69
 
70
+ You can manually populate the database from within the app, or alternatively you can use seed data for testing. A sample `seeds.rb` file can be found [here](../master/test/dummy/db/seeds.rb).
71
+
72
+
86
73
  ### Configuring the main Rails app
87
74
 
88
- Conferences requires a job queueing backend for import functionality, and you'll also want to cache pages listing
89
- presentations, conferences, and so on. Read about this in the Rails guides covering
90
- [Active Job](https://guides.rubyonrails.org/active_job_basics.html) and
91
- [caching](https://guides.rubyonrails.org/caching_with_rails.html).
75
+ Conferences requires a job queueing backend for import functionality, and you'll also want to cache pages listing presentations, conferences, and so on. Read about this in the Rails guides covering [Active Job](https://guides.rubyonrails.org/active_job_basics.html) and [caching](https://guides.rubyonrails.org/caching_with_rails.html).
92
76
 
93
77
  ## Contributing
94
78
 
95
- You're very welcome to contribute, particularly to translations.
96
- If there's a bug, or you have a feature request, make an issue on GitHub first.
79
+ Bug reports and feature requests are welcome in the [Issues](https://github.com/louis-vs/spina-admin-conferences-fork/issues) section. Translations are also very welcome!
97
80
 
98
81
  ## License
99
82
 
@@ -22,4 +22,6 @@
22
22
  active: controller_name == 'sessions')
23
23
 
24
24
  = render partial: 'conferences', object: @conferences
25
- = link_to_next_page @conferences, 'Next'
25
+ .ml-8.inline-flex
26
+ .btn.btn-primary= link_to_prev_page @conferences, 'Previous'
27
+ .btn.btn-primary= link_to_next_page @conferences, 'Next'
@@ -14,4 +14,6 @@
14
14
  = t '.new'
15
15
 
16
16
  = render partial: 'delegates', object: @delegates
17
- = link_to_next_page @delegates, 'Next'
17
+ .ml-8.inline-flex
18
+ .btn.btn-primary= link_to_prev_page @delegates, 'Previous'
19
+ .btn.btn-primary= link_to_next_page @delegates, 'Next'
@@ -6,4 +6,6 @@
6
6
  = t '.new'
7
7
 
8
8
  = render partial: 'dietary_requirements', object: @dietary_requirements
9
- = link_to_next_page @dietary_requirements, 'Next'
9
+ .ml-8.inline-flex
10
+ .btn.btn-primary= link_to_prev_page @dietary_requirements, 'Previous'
11
+ .btn.btn-primary= link_to_next_page @dietary_requirements, 'Next'
@@ -19,4 +19,6 @@
19
19
 
20
20
 
21
21
  = render partial: 'institutions', object: @institutions
22
- = link_to_next_page @institutions, 'Next'
22
+ .ml-8.inline-flex
23
+ .btn.btn-primary= link_to_prev_page @institutions, 'Previous'
24
+ .btn.btn-primary= link_to_next_page @institutions, 'Next'
@@ -6,4 +6,6 @@
6
6
  = t '.new'
7
7
 
8
8
  = render partial: 'presentation_attachment_types', object: @presentation_attachment_types
9
- = link_to_next_page @presentation_attachment_types, 'Next'
9
+ .ml-8.inline-flex
10
+ .btn.btn-primary= link_to_prev_page @presentation_attachment_types, 'Previous'
11
+ .btn.btn-primary= link_to_next_page @presentation_attachment_types, 'Next'
@@ -22,4 +22,6 @@
22
22
  active: controller_name == 'sessions')
23
23
 
24
24
  = render partial: 'presentation_types', object: @presentation_types
25
- = link_to_next_page @presentation_types, 'Next'
25
+ .ml-8.inline-flex
26
+ .btn.btn-primary= link_to_prev_page @presentation_types, 'Previous'
27
+ .btn.btn-primary= link_to_next_page @presentation_types, 'Next'
@@ -15,4 +15,6 @@
15
15
 
16
16
 
17
17
  = render partial: 'presentations', object: @presentations
18
- = link_to_next_page @presentations, 'Next'
18
+ .ml-8.inline-flex
19
+ .btn.btn-primary= link_to_prev_page @presentations, 'Previous'
20
+ .btn.btn-primary= link_to_next_page @presentations, 'Next'
@@ -19,4 +19,6 @@
19
19
 
20
20
 
21
21
  = render partial: 'rooms', object: @rooms
22
- = link_to_next_page @rooms, 'Next'
22
+ .ml-8.inline-flex
23
+ .btn.btn-primary= link_to_prev_page @rooms, 'Previous'
24
+ .btn.btn-primary= link_to_next_page @rooms, 'Next'
@@ -22,4 +22,6 @@
22
22
  active: controller_name == 'sessions')
23
23
 
24
24
  = render partial: 'sessions', object: @sessions
25
- = link_to_next_page @sessions, 'Next'
25
+ .ml-8.inline-flex
26
+ .btn.btn-primary= link_to_prev_page @sessions, 'Previous'
27
+ .btn.btn-primary= link_to_next_page @sessions, 'Next'
@@ -4,7 +4,7 @@ module Spina
4
4
  module Admin
5
5
  module Conferences
6
6
  # Version number.
7
- VERSION = '3.0.0.rc2'
7
+ VERSION = '3.0.0.rc3'
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spina-admin-conferences-fork
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.rc2
4
+ version: 3.0.0.rc3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Louis Van Steene
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-01-30 00:00:00.000000000 Z
12
+ date: 2022-02-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: haml-rails