spina-admin-conferences-fork 3.0.0.rc2 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +40 -57
- data/app/controllers/spina/admin/conferences/conferences_controller.rb +1 -1
- 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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04e02facd9459b2d318700b6a952840b0d530a50506cce62af24e025d8f4b67d
|
4
|
+
data.tar.gz: b65f88665e6e307bca93b7856d08ca8ce3ae9269eb9a73bb6fa7cf114d42a575
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73b8ab062950d7d81c053c0d6e10f001d370340e561d847cb640c4d9e95a22e29b80e7115921830d46e4ee528bf569912fc58640a5044bea513a686c7361e66c
|
7
|
+
data.tar.gz: 2d75341a09031bb14cd6fca5ed15b5dd3eedf15e32c986bd42bfecca31e2a040e5946f212ac07222cb70f1a5b5acc54698160221ccdf7c05e11a1d64aae6c377
|
data/README.md
CHANGED
@@ -1,33 +1,34 @@
|
|
1
1
|
# Conferences
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
[
|
6
|
-
|
7
|
-
|
8
|
-
[![
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
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
|
-
|
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
|
|
@@ -20,7 +20,7 @@ module Spina
|
|
20
20
|
CONTENT_PARAMS = Spina.config.locales.inject({}) { |params, locale| params.merge("#{locale}_content_attributes": [*PARTS_PARAMS]) }
|
21
21
|
PARAMS = [:start_date, :finish_date, :name, **CONTENT_PARAMS,
|
22
22
|
events_attributes: %i[id name start_datetime finish_datetime description location]].freeze
|
23
|
-
PARTS = %w[text submission_url submission_email_address submission_date submission_text gallery sponsors].freeze
|
23
|
+
PARTS = %w[text submission_url submission_email_address submission_date submission_text gallery sponsors documents].freeze
|
24
24
|
|
25
25
|
before_action :set_conference, only: %i[edit update destroy]
|
26
26
|
before_action :set_conferences_breadcrumb
|
@@ -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
|
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-03-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: haml-rails
|
@@ -575,9 +575,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
575
575
|
version: '2.7'
|
576
576
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
577
577
|
requirements:
|
578
|
-
- - "
|
578
|
+
- - ">="
|
579
579
|
- !ruby/object:Gem::Version
|
580
|
-
version:
|
580
|
+
version: '0'
|
581
581
|
requirements: []
|
582
582
|
rubygems_version: 3.1.6
|
583
583
|
signing_key:
|