spina-admin-conferences-fork 3.0.0.rc2 → 3.0.0.rc3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +40 -57
- data/app/views/spina/admin/conferences/conferences/index.html.haml +3 -1
- data/app/views/spina/admin/conferences/delegates/index.html.haml +3 -1
- data/app/views/spina/admin/conferences/dietary_requirements/index.html.haml +3 -1
- data/app/views/spina/admin/conferences/institutions/index.html.haml +3 -1
- data/app/views/spina/admin/conferences/presentation_attachment_types/index.html.haml +3 -1
- data/app/views/spina/admin/conferences/presentation_types/index.html.haml +3 -1
- data/app/views/spina/admin/conferences/presentations/index.html.haml +3 -1
- data/app/views/spina/admin/conferences/rooms/index.html.haml +3 -1
- data/app/views/spina/admin/conferences/sessions/index.html.haml +3 -1
- data/lib/spina/admin/conferences/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '0924918c23bbaf05550c4f245a658955dc8116dfbdda3e9fe17abfc59576dc97'
|
|
4
|
+
data.tar.gz: 201b0680cad2c8c4b16a922c11784c1ca170d534288eed0d44c438fe141f2a56
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 71f9d163f9a0e96c5b7202143df4a49e1dc6945fc200fd427c1e3f356aed5f7e04d373916f5a59d9a7827f1c0b4a53ac1a31d554997e507b33b0651c47fefff3
|
|
7
|
+
data.tar.gz: 805deb378c7202842bf7bbbfaf1bf256341386e978f4566b1a2d71aaaf555fea4bddd5ea6eaa7866f0d8ba08ba51d687981bcccb96f275723c5c1ba353381a2a
|
data/README.md
CHANGED
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
# Conferences
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
[ 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
|
+

|
|
8
|
+
[](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
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
58
|
-
```bash
|
|
59
|
-
$ bundle:install
|
|
60
|
-
```
|
|
51
|
+
Then execute:
|
|
61
52
|
|
|
62
|
-
Run the Spina install generator:
|
|
63
53
|
```bash
|
|
64
|
-
$
|
|
54
|
+
$ bundle install
|
|
65
55
|
```
|
|
66
56
|
|
|
67
|
-
|
|
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
|
-
```
|
|
75
|
-
|
|
59
|
+
```bash
|
|
60
|
+
$ bin/rails spina_admin_conferences:install:migrations
|
|
61
|
+
$ bin/rails db:migrate
|
|
76
62
|
```
|
|
77
63
|
|
|
78
|
-
You
|
|
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
|
-
$
|
|
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
|
-
|
|
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
|
-
|
|
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'
|
|
@@ -6,4 +6,6 @@
|
|
|
6
6
|
= t '.new'
|
|
7
7
|
|
|
8
8
|
= render partial: 'dietary_requirements', object: @dietary_requirements
|
|
9
|
-
|
|
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'
|
|
@@ -6,4 +6,6 @@
|
|
|
6
6
|
= t '.new'
|
|
7
7
|
|
|
8
8
|
= render partial: 'presentation_attachment_types', object: @presentation_attachment_types
|
|
9
|
-
|
|
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
|
-
|
|
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'
|
|
@@ -22,4 +22,6 @@
|
|
|
22
22
|
active: controller_name == 'sessions')
|
|
23
23
|
|
|
24
24
|
= render partial: 'sessions', object: @sessions
|
|
25
|
-
|
|
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'
|
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.
|
|
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-
|
|
12
|
+
date: 2022-02-07 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: haml-rails
|