Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

Events im ICAL Format #1

Open
wants to merge 529 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
529 commits
Select commit Hold shift + click to select a range
eec92d9
Become all-powerful to write a small config
kronn Sep 20, 2017
20927eb
Restart mysql to make new configuration effective
kronn Sep 20, 2017
a9e986e
add default env var for secret token
mtnstar Sep 21, 2017
0a905e0
Make rubyzip an explicit dependency
kronn Sep 25, 2017
19a598b
Pull translations from transifex
kronn Sep 25, 2017
1e7d3b3
Update CHANGELOG and VERSION for release
kronn Sep 25, 2017
b516060
Consider group when updating role inline (#382)
Sep 25, 2017
5b60d63
Feature/374 vcard export (#390)
MartinGantenbein Sep 25, 2017
a6125fa
autolinks content of additional information of person (#388)
RolandStuder Sep 25, 2017
e5cec98
Replace conditional with simpler call to_s
amaierhofer Sep 25, 2017
69043b0
Preload phone_numbers when rendering vcf cards
amaierhofer Sep 25, 2017
adaa94d
extract search area in people filter, display only available roles, r…
codez Jun 6, 2017
23964cd
combine person filters, refs #278
codez Jun 7, 2017
87ec320
make different filters collapsible, refs #278
codez Jun 7, 2017
bb00d84
Allow to edit people-filters, see #223
kronn Jun 7, 2017
aee9d37
persist role types instead of ids, migrate existing filters, refs #278
codez Jun 8, 2017
7be28f1
fix role selection, refs #223
mtnstar Jun 8, 2017
f29aa6a
fix qualification per selection, refs #223
mtnstar Jun 8, 2017
ce145b0
fix rcov for ci:nightly:wagon, update mysql2 gem, fix bundler in ci
mtnstar Sep 25, 2017
4cfe387
update gemfile.lock
mtnstar Sep 26, 2017
9fe3e35
Manually integrate refactoring of filters with related work
kronn Sep 26, 2017
48dd77d
Extend documentation
kronn Sep 26, 2017
c430a0f
Allocate fewer strings
kronn Sep 26, 2017
2b2fe37
Merge branch 'people_filter', see #377
kronn Sep 26, 2017
66289ed
Support vcf export on participations list
amaierhofer Sep 27, 2017
327d0f3
Conform to linter and styleguide
kronn Sep 28, 2017
b427aa0
Reduce N+1 Queries
kronn Sep 28, 2017
13b5a65
Merge branch 'master' of https://github.com/hitobito/hitobito into fe…
Oct 2, 2017
7770f43
Merge branch 'master' of github.com:diegosteiner/hitobito into featur…
Oct 2, 2017
105433d
Extract ical export into separate class
Oct 2, 2017
208b765
Add specs for GroupHelper
Oct 2, 2017
6af7b7c
Format specs
Oct 2, 2017
08dab5a
Export People in Background Job and send as Mail
bihorco36 Oct 2, 2017
0623579
Add translations for the vCard export item
MartinGantenbein Oct 8, 2017
63aded5
Export Events in Background Job and send as Mail
bihorco36 Oct 24, 2017
2fe31ca
removed unused method in export base job
bihorco36 Oct 24, 2017
07621d7
Merge branch 'master' into feature/event_ical
kronn Oct 25, 2017
33f5976
Export Event Participations in Background Job and send as Mail
bihorco36 Oct 26, 2017
10826ce
Participations export job code cleanup after review
bihorco36 Oct 26, 2017
35845ad
created attr_reader for exporter in export_base_job
bihorco36 Nov 13, 2017
e05d2f3
fixed wronng search results, refs #396
bihorco36 Nov 15, 2017
1d8bca1
join roles to unknown person filter range
bihorco36 Nov 16, 2017
b9b8746
Add migration for invoice models
amaierhofer Nov 16, 2017
4ef2ef9
Add invoice_config model
amaierhofer Nov 16, 2017
f5078f5
Adding invoice and invoice_config models
amaierhofer Nov 16, 2017
b4b6d5e
Add InvoiceAbility and spec
amaierhofer Nov 16, 2017
9de598e
Add Invoice and InvoiceList Controllers
amaierhofer Nov 16, 2017
1c0d6c6
Merge pull request #411 from hitobito/feature/rechnungsstellung
amaierhofer Nov 17, 2017
50b8c95
Revert "join roles to unknown person filter range"
amaierhofer Nov 17, 2017
b5c7a56
Add missing license headers to new files
amaierhofer Nov 17, 2017
984c88c
Fix Syntax error in invoices migration
amaierhofer Nov 17, 2017
3682a21
Fix failing invoice_lists_controller_spec
amaierhofer Nov 17, 2017
f1d147b
Join roles in qualification filter when sorting by role
amaierhofer Nov 17, 2017
fbb6d4e
Check prior to joining roles in people/filter/list
amaierhofer Nov 17, 2017
20ac41f
Update rubocop and rubyzip gems
amaierhofer Nov 20, 2017
c382a82
Simplify rubocop setup
amaierhofer Nov 20, 2017
9e67f95
Fix rubocop statement in Gemfile
amaierhofer Nov 20, 2017
8693266
Support filtering role by timeframe and state
amaierhofer Nov 19, 2017
d714cf6
Add timeframe end state filtering to people filter UI
amaierhofer Nov 19, 2017
973da6e
Merge branch 'feature/159_time_based_role_filter'
amaierhofer Nov 20, 2017
76cd7e8
Drop older Ruby-Version, requiring 2.1+
kronn Nov 20, 2017
fbe38e4
Expect Hitobito to run on more rubies
kronn Nov 20, 2017
b3ddfbe
Use correct timezone for comparison
kronn Nov 21, 2017
6fbb50b
Merge pull request #413 from hitobito/drop-older-rubies
amaierhofer Nov 21, 2017
be25037
company names: exclude blank entries
mtnstar Nov 21, 2017
2a9d0f9
automatically remove sphinx index job when daemon not running on same…
mtnstar Nov 21, 2017
f8cbee5
Configure () as default %w LiteralDelimiter
amaierhofer Nov 22, 2017
bb48ac8
Fix documentation for Person#groups_with_permission
amaierhofer Nov 22, 2017
7f07b6f
Person#finance_groups returns groups where user can manage invoices
amaierhofer Nov 22, 2017
aa67238
Add index action to invoice ability
amaierhofer Nov 22, 2017
1f76015
Add top-level invoice navigation
amaierhofer Nov 22, 2017
35adaf1
Add side navigation for invoices
amaierhofer Nov 22, 2017
7c5ece6
Merge branch 'feature/rechnungsstellung-navigation'
amaierhofer Nov 22, 2017
6294850
Translate some more invoice attributes
amaierhofer Nov 22, 2017
bece9ee
Configure Style/SymbolArray rubocop cop
amaierhofer Nov 22, 2017
af05851
Add InvoiceArticle as templates for an InvoiceItem
kronn Nov 21, 2017
0bbd465
Basic CRUD-Interface for InvoiceArticles
kronn Nov 22, 2017
76e91b7
Activate Typeahead for some fields
kronn Nov 22, 2017
d975535
Integrate InvoiceArticle-selection into Invoice-creation
kronn Nov 22, 2017
672acfc
Refactor JS to have separate methods
kronn Nov 22, 2017
cc87eb4
Trigger recalculation after inserting data
kronn Nov 22, 2017
b1cbe40
Remove logging
kronn Nov 22, 2017
100d055
Show management of InvoiceArticles under Settings for now
kronn Nov 22, 2017
1425b82
Add basic spec so we can add more later
kronn Nov 22, 2017
82312cd
Merge branch 'invoice-articles', see #60
kronn Nov 22, 2017
a024e3d
implemented invoice_configs_controller, refs #45
bihorco36 Nov 23, 2017
7111524
Make invoice list columns sortable
amaierhofer Nov 22, 2017
591e0e3
Format state and page invoice list
amaierhofer Nov 23, 2017
43dfc51
Merge branch 'feature/42_rechnungslist_anzeigen', see #42
amaierhofer Nov 23, 2017
2922b57
Adding license headers to view files
amaierhofer Nov 23, 2017
c8df3ad
Change description, add group_id to invoice_articles
amaierhofer Nov 23, 2017
1eb7646
Annotate invoice models
amaierhofer Nov 23, 2017
b9213e3
Add links to config and articles to invoices/_nav_left
amaierhofer Nov 23, 2017
76b928f
Adjust views for nested invoice_articles
amaierhofer Nov 23, 2017
ee797e9
Consolidate Invoice and InvoiceArticle permissions
amaierhofer Nov 23, 2017
7551c77
Merge branch 'review/36_artikelverwaltung'
amaierhofer Nov 23, 2017
8616662
Adapt abilities for invoices, #39
amaierhofer Nov 23, 2017
0ea457d
Adjust role in invoices_controller feature spec
amaierhofer Nov 24, 2017
7b7ba22
Add recipient_ids virtual attribute on invoice
amaierhofer Nov 27, 2017
9d302df
Fix transaction handling in Invoice#multi_create
amaierhofer Nov 27, 2017
eb24761
Enable invoice_list#show route
amaierhofer Nov 27, 2017
18c6b9d
Add create invoice button to people index actions
amaierhofer Nov 27, 2017
c3b419e
Use recipient_ids when creating invoices
amaierhofer Nov 27, 2017
721fd9c
Store referer in session and use for invoice_list cancel_url
amaierhofer Nov 27, 2017
37bb484
Merge branch 'feature/359_rechnung_aus_personen_liste_erstellen'
amaierhofer Nov 27, 2017
a7484d4
Remove bad includes syntax for Sphinx.search
amaierhofer Nov 27, 2017
93191e9
Convert negative into positve guard statement
amaierhofer Nov 27, 2017
6edf3b0
Allow passing extra options to #query_event
amaierhofer Nov 27, 2017
da742b3
Query events and groups in full_text#index, remove paging
amaierhofer Nov 27, 2017
8fe70a3
Render people, groups and events in full_text#index
amaierhofer Nov 27, 2017
e0a0c31
Render invoice create button for participations, #360
amaierhofer Nov 27, 2017
1b5ff3f
Do not change search_strategy interface
amaierhofer Nov 28, 2017
0f23bea
Adding auto_submit and clear_input javascript modules
amaierhofer Nov 28, 2017
4adedee
Search invoices by title, sequence_number and recipient.last_name
amaierhofer Nov 28, 2017
ec263a8
Render sequence number on invoice list
amaierhofer Nov 28, 2017
7e4a11e
Merge branch 'feature/209_search_invoices', #209
amaierhofer Nov 28, 2017
db18f82
Sort by sequence_number in Invoice#list scope
amaierhofer Nov 28, 2017
ae22780
Reflect current level in navigation
kronn Nov 28, 2017
cac4531
Add better_errors to improve debugging experience
kronn Nov 28, 2017
77825e1
Revert "Add better_errors to improve debugging experience"
kronn Nov 29, 2017
775456b
Silence Rails/ApplicationRecord until we actually use ist
kronn Nov 29, 2017
1473397
Revert precalculation of roles to restore previous behaviour
kronn Nov 29, 2017
094e239
Conform to linter and styleguide
kronn Nov 29, 2017
e7df266
Add payment_reminder model, add reminded state
amaierhofer Nov 29, 2017
dc45bc6
Adding ability for payment_reminders
amaierhofer Nov 29, 2017
04e62f5
Add payment_reminders controller and spec
amaierhofer Nov 29, 2017
f53e2ac
Create payment_reminders from invoices#show
amaierhofer Nov 29, 2017
1a227fb
Merge branch 'feature/mahnung_senden', #259
amaierhofer Nov 29, 2017
b9ef8f6
invoice pdf export, refs #45, #46
bihorco36 Nov 22, 2017
4525226
Fixed Migration for SQLite Databases
bihorco36 Nov 29, 2017
d5fb0f1
Render custom form for invoices
amaierhofer Nov 29, 2017
493ab73
Use group path in invoices javascript handling
amaierhofer Nov 29, 2017
12e4b96
Use input even in invoice js, add missing spec
amaierhofer Nov 29, 2017
1ed19db
Merge branch 'feature/rechnung_anpassen', #49
amaierhofer Nov 29, 2017
20daa63
Trigger invoice pdf export via custom data attribute
amaierhofer Nov 29, 2017
4a0e06c
Fix n+1 query when exporting invoice list as pdf
amaierhofer Nov 29, 2017
f3324df
Add payment model and associations
amaierhofer Nov 29, 2017
43c4a77
Add payments to invoice ability
amaierhofer Nov 29, 2017
73fdc2d
Adding payments controller and spec
amaierhofer Nov 29, 2017
2178888
Create payments from invoices#show
amaierhofer Nov 29, 2017
df7bc69
Minor payment_reminder cleanup
amaierhofer Nov 29, 2017
72e86d6
Merge branch 'feature/zahlung_erfassen', #48
amaierhofer Nov 29, 2017
cd07da2
hitobito is multilingual, and some comments reflect that
kronn Nov 30, 2017
c8d66eb
Explain :finance-Permission
kronn Nov 30, 2017
1d341d9
Implemented details view for Invoice#show, refs #47
bihorco36 Nov 27, 2017
9bf927f
Add filter helper
amaierhofer Dec 1, 2017
4ecd0be
Add filters for state and due_since to invoices
amaierhofer Dec 1, 2017
2b290b0
Add invoice filter
amaierhofer Dec 1, 2017
a0ac510
Verify state and due_since filter in controller spec
amaierhofer Dec 1, 2017
f547af5
Show overdue filter only for certain states
amaierhofer Dec 1, 2017
e58fc9b
Merge branch 'feature/rechnungen_filtern', #424
amaierhofer Dec 1, 2017
3a1b1fc
Move invoice_ids filtering to invoice filter
amaierhofer Dec 1, 2017
dbfe5a3
implemented external invoices, refs #61
bihorco36 Dec 1, 2017
dc5365e
fixed invalid migration
bihorco36 Dec 1, 2017
9ddf817
Allow passing block to TableBuilder#col
amaierhofer Dec 1, 2017
78873c1
Use decorators when rendering invoices
amaierhofer Dec 1, 2017
a34ffb9
Update db/schema.rb from last migration
amaierhofer Dec 1, 2017
f3c9300
Show Payments in Invoice history, refs #47
bihorco36 Dec 1, 2017
65deaa3
Conform to linter and styleguide
kronn Nov 29, 2017
411bc85
Move commonly used compose-method into super-class
kronn Nov 29, 2017
7dad5b2
Make interpolating more fields easier
kronn Nov 29, 2017
2622fbd
Search required fields in subject as well
kronn Nov 29, 2017
2ef41ba
Allow to interpolate placeholders in subject as well
kronn Nov 29, 2017
4a4d66e
Interpolate placeholders in subject as well
kronn Nov 29, 2017
947d615
Add mailer and custom_content
kronn Nov 29, 2017
b2fbb5f
Add BackgroundJob for sending mails with PDF
kronn Dec 1, 2017
b8ee526
Typo has beem fixed
kronn Dec 1, 2017
da7f0a9
Send invoices per mail in background
kronn Dec 1, 2017
c225219
Handle missing email in bulk sending
kronn Dec 1, 2017
2930f58
Avoid sending an invoice twice
kronn Dec 1, 2017
cbefa52
Remove check that is now covered by a model-validation
kronn Dec 1, 2017
8167ceb
Adapt to messages being an array
kronn Dec 1, 2017
7d6700d
Updating the Invoice happens in a background-job
kronn Dec 1, 2017
18063df
Validation have changed, so must this spec
kronn Dec 1, 2017
9a4085d
Decorate everything that should output a formatted price
kronn Dec 1, 2017
5724388
Merge branch 'mail-invoice', see #43
kronn Dec 1, 2017
dba89f6
Adapt spec to have the expected setup
kronn Dec 4, 2017
faa83fa
Populate person address from recipient address
amaierhofer Dec 4, 2017
d8626c8
Add Label links to invoice export dropdown
amaierhofer Dec 4, 2017
ae87073
Adjust invoices controller for label export
amaierhofer Dec 4, 2017
fe56e4f
Extract adding label items into seperate class
amaierhofer Dec 4, 2017
27cb248
More resilient conversion of invoice to contactable
amaierhofer Dec 4, 2017
da42e48
Open pdf export links in new window
amaierhofer Dec 4, 2017
4ee0ed3
Less specific selector for handling pdf export link
amaierhofer Dec 4, 2017
9ffbf58
Merge branch 'feature/rechnung_etikettendruck', #59
amaierhofer Dec 4, 2017
cd0d1e0
fixed locale attribute typo for invoice_item
bihorco36 Dec 4, 2017
302d261
skip feature specs in travis job
bihorco36 Dec 4, 2017
123c145
Add index_invoices permission check to group_ability
amaierhofer Dec 4, 2017
baa3dc6
Use group index_invoices ability action
amaierhofer Dec 4, 2017
3864031
Remove obsolete index action from invoices ability
amaierhofer Dec 4, 2017
f8b415f
Add person index_invoices ability action
amaierhofer Dec 4, 2017
a584111
Merge branch 'index_invoices permission', #39
amaierhofer Dec 4, 2017
be213b8
Reduce links for non active groups in invoices/_nav_left
amaierhofer Dec 4, 2017
ae404b2
Extract partials from invoices/list
amaierhofer Dec 4, 2017
3198248
Pass comma-separated ids to invoice_lists controller
amaierhofer Dec 4, 2017
94de82e
Extract checkable js module from invoices
amaierhofer Dec 4, 2017
fa91bdc
Change to ids params in invoice/filter
amaierhofer Dec 4, 2017
e5640c0
Allow passing item_options for dropdown/label_items
amaierhofer Dec 4, 2017
9171710
Render invoices of person on separate tab
amaierhofer Dec 4, 2017
766a32b
Merge branch 'feature/rechnung_auf_person', #210
amaierhofer Dec 4, 2017
24c6b33
Call can? on proper reciever in sheet/person.rb
amaierhofer Dec 4, 2017
8f094fd
Handle invoices for external people without email
kronn Dec 4, 2017
f8a2bfe
Update the state as soon as we intent to send it
kronn Dec 4, 2017
4c5acbe
Adapter feature spec for new invoices tab
amaierhofer Dec 4, 2017
1cd02a7
Conform to linter and styleguide
kronn Dec 4, 2017
c3da96d
Allow to just update the status of invoices
kronn Dec 4, 2017
2225953
Use central source of truth for Invoice-fn
kronn Dec 4, 2017
5767247
Clean up visual space by grouping similar actions
kronn Dec 4, 2017
0f11c24
Merge branch 'mail-invoice-fixes', see #43
kronn Dec 4, 2017
44427bf
Fix failing person/invoices_controller spec
amaierhofer Dec 4, 2017
01d2920
Disable rubocop warning without generating new one
amaierhofer Dec 5, 2017
a9adc62
Add specs for added mail flag in invoice_lists controller
amaierhofer Dec 5, 2017
a5303c0
Make filename for invoices that have not been sent
amaierhofer Dec 5, 2017
bdb200a
Fix failing invoice_spec
amaierhofer Dec 5, 2017
fe937aa
Make tarantula accept 404 for people/invoices
amaierhofer Dec 5, 2017
8979f8a
Merge pull request #399 from MartinGantenbein/bugfix/add-missing-vcar…
amaierhofer Dec 5, 2017
ce160f3
Make invoice validation error consistent
amaierhofer Dec 5, 2017
f5a63de
Change payment#received_at to not null, #48
amaierhofer Dec 5, 2017
1c69431
Populate payment with open amount
amaierhofer Dec 5, 2017
a5f346f
Remove checkbox and reciever from person/invoices, #210
amaierhofer Dec 5, 2017
7b8f131
Typo has beem fixed
kronn Dec 5, 2017
b9e3950
Define state query methods on invoice
amaierhofer Dec 5, 2017
50749ee
Updating CHANGELOG.md
amaierhofer Dec 5, 2017
82dc8b2
Rely on sent? and sent_at? in invoices views
amaierhofer Dec 5, 2017
db53a39
Rename invoice table and status partials
amaierhofer Dec 5, 2017
59ebc17
Invoice Receiver Address fix in PDF
bihorco36 Dec 5, 2017
604c643
Moved PDF export to own print Dropdown
bihorco36 Dec 5, 2017
52aabd5
Do not render invoice articles dropdown when empty
amaierhofer Dec 5, 2017
c7034a6
Properly format labels and numbers in invoice_lists/calculated
amaierhofer Dec 5, 2017
d1ad365
Use "E-Mail" consistently
kronn Dec 5, 2017
2feda55
Present invoice-articles more like other tables in hitobito
kronn Dec 5, 2017
c82ac6e
Show Invoice in context of originating group
kronn Dec 5, 2017
4e41ef9
Adapter invoice_lists feature spec for modified UI
amaierhofer Dec 5, 2017
84aa648
Add issued_at field to invoices
amaierhofer Dec 5, 2017
62bd3a9
Remove obsolete state StringInquirer from invoices
amaierhofer Dec 5, 2017
c3e96f4
Adding spec for invoice issued state change
amaierhofer Dec 5, 2017
6f4e599
Handle sent and issued state in invoices_list controller
amaierhofer Dec 5, 2017
36dfa52
Extract Invoice::History from helper, render issued
amaierhofer Dec 5, 2017
e26241c
Remove timecop gem
amaierhofer Dec 5, 2017
3c73e50
Add create invoice button to people/_actions_show
amaierhofer Dec 5, 2017
1cf8e85
Render person name as title on person/invoices list
amaierhofer Dec 5, 2017
6944f15
Add issue_at column to invoice lists
amaierhofer Dec 5, 2017
4e3eeed
Implemented Invoice CSV export, refs #211
bihorco36 Dec 4, 2017
c91ff2b
Fix broken invoice navigation
amaierhofer Dec 5, 2017
4884fd4
Fix n+1 query in person/invoices_controller
amaierhofer Dec 5, 2017
1aa2564
Use item_options for invoice csv export links
amaierhofer Dec 5, 2017
ecba36b
Move Invoices and -Articles to merged group, see #380
kronn Dec 5, 2017
2c641c3
Conform to linter and styleguide
kronn Dec 5, 2017
3b2155b
Merge branch 'master' of https://github.com/hitobito/hitobito into fe…
Dec 5, 2017
27b380e
Merge branch 'feature/event_ical' of github.com:diegosteiner/hitobito…
Dec 5, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,4 @@ TAGS
*.iml
.generators
.idea
.tool-versions
48 changes: 37 additions & 11 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
AllCops:
RunRailsCops: true
DisplayCopNames: true
Exclude:
- Rakefile
Expand All @@ -12,6 +11,12 @@ AllCops:
- tmp/**/*
- app/assets/config.rb

Rails:
Enabled: true

# we have not yet introcued ApplicationRecord as a Pattern
Rails/ApplicationRecord:
Enabled: false

Metrics/AbcSize:
Max: 20
Expand All @@ -21,19 +26,23 @@ Metrics/ClassLength:
Max: 200
Severity: error

Metrics/ModuleLength:
Max: 200
Severity: error

Metrics/CyclomaticComplexity:
Max: 6
Severity: error

Metrics/LineLength:
Max: 100
Severity: warning
IgnoreCopDirectives: true

Metrics/MethodLength:
Max: 10
Severity: error


# Keep for now, easier with superclass definitions
ClassAndModuleChildren:
Enabled: false
Expand All @@ -55,10 +64,6 @@ Documentation:
DotPosition:
Enabled: false

# Missing UTF-8 encoding statements should always be created.
Encoding:
Severity: error

# Keep single line bodys for if and unless
IfUnlessModifier:
Enabled: false
Expand All @@ -72,23 +77,31 @@ Rails/Delegate:
Enabled: false

# That's no huge stopper
Style/EmptyLines:
Layout/EmptyLines:
Enabled: false

# We thinks that's fine for specs
Style/EmptyLinesAroundBlockBody:
Layout/EmptyLinesAroundBlockBody:
Enabled: false

# We thinks that's fine
Style/EmptyLinesAroundClassBody:
Layout/EmptyLinesAroundClassBody:
Enabled: false

# We thinks that's fine
Style/EmptyLinesAroundModuleBody:
Layout/EmptyLinesAroundModuleBody:
Enabled: false

# We thinks that's fine
Style/MultilineOperationIndentation:
Layout/MultilineOperationIndentation:
Enabled: false

# We are using Ruby 2+ anyway...
Style/AsciiComments:
Enabled: false

# For now, we keep encoding comment
Style/Encoding:
Enabled: false

# We thinks that's fine
Expand All @@ -103,6 +116,19 @@ Style/SymbolProc:
Style/GuardClause:
Enabled: false

# We think that's fine
Style/PercentLiteralDelimiters:
PreferredDelimiters:
'%w': '()'

# We think that's fine
Style/SymbolArray:
EnforcedStyle: brackets

Style/PercentLiteralDelimiters:
PreferredDelimiters:
'%w': '()'

# We thinks that's fine
Style/SingleLineBlockParams:
Enabled: false
27 changes: 27 additions & 0 deletions .s2i/post_assemble
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/bash

set -ex

# this script is executed after our rails images default assemble script.

pushd /opt/app-root/src

# load development seeds when demo instance
if [ $DEMO_INSTANCE -eq 1 ]; then
echo 'demo instance: creating symlink for loading development seeds'
for wagon in vendor/wagons/*
do
cd $wagon/db/seeds
ln -s development production
done
fi

if [ $PULL_TRANSIFEX -eq 1 ]; then
echo 'pulling transifex translations ...'
RAILS_HOST_NAME='build.hitobito.ch' bundle exec rake tx:pull tx:wagon:pull -t
fi

BUILD_DATE=$(date '+%Y-%m-%d %H:%M:%S')
echo "(built at: $BUILD_DATE)" > BUILD_INFO

popd
19 changes: 19 additions & 0 deletions .s2i/post_deploy
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

set -ex

# This script is executed after our rails images' default assemble script.

pushd /opt/app-root/src

bundle exec rake db:seed
bundle exec rake wagon:migrate
bundle exec rake wagon:seed

for dir in vendor/wagons/*; do
if [[ -x $dir/.s2i/post_deploy ]] ; then
$dir/.s2i/post_deploy
fi
done

popd
62 changes: 62 additions & 0 deletions .s2i/pre_assemble
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
#!/bin/bash

set -ex

source_dir=$(dirname $0)/..

# this script places the core and wagon files in the right folders and creates the Wagonfile.
# after this, we are able to use our rails images default assemble script to do the execute default
# tasks like assets precompilation

pushd $source_dir

# update the composition-repo to newest versions of configured .gitmodules-branch
# devel is our indicator for the integration-environment
if [[ "x${OPENSHIFT_BUILD_REFERENCE}" = "xdevel" ]]; then
git submodule update --remote
fi

# move core
rm -r hitobito/.git
mv hitobito/* .

# add wagon sources
mkdir vendor/wagons
for dir in hitobito_*; do
if [[ ( -d $dir ) ]]; then
rm -r $dir/.git
mv $dir vendor/wagons/
fi
done

# place Wagonfile
mv -f config/rpm/Wagonfile .

# move hidden core dirs
rm -f .s2i/pre_assemble
cp -rf hitobito/.s2i . # cannot be moved since it is in use during this script's execution
mv hitobito/.tx .

# finally remove core source directory
rm -rf hitobito
rm -r .git

# TODO: Investigate. This seems ugly and is a hack to prevent assemble from failing with
#
# You are trying to install in deployment mode after changing
# your Gemfile. Run `bundle install` elsewhere and add the
# updated Gemfile.lock to version control.

# You have added to the Gemfile:
# * source: source at /home/sraez/dev/hitobito_generic_composition_apply/vendor/wagons/hitobito_generic
# * hitobito_generic

# You have deleted from the Gemfile:
# * source: source at ../hitobito_insieme
# * hitobito_insieme
# This inludes fixes from https://github.com/bundler/bundler/issues/2854#issuecomment-38991901
bundle install --no-deployment --path vendor/bundle
# Speed up the second `bundle install` run
bundle package --all

popd
18 changes: 12 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
language: ruby
cache: bundler
addons:
firefox: 45.0
branches:
only:
- master
Expand All @@ -9,18 +11,22 @@ env:
- HEADLESS=true
- RAILS_DB_ADAPTER=mysql2
rvm:
- 1.9.3
- 2.0.0
- 2.1.7
- 2.2.3
- 2.3.1
- 2.4.0
matrix:
allow_failures:
- rvm: 2.4.0
before_install:
- sudo apt-get -qq update
- sudo apt-get install sphinxsearch
- echo '[mysqld]' | sudo tee /etc/mysql/conf.d/sort_buffer_size.cnf > /dev/null
- echo 'sort_buffer_size = 2M' | sudo tee -a /etc/mysql/conf.d/sort_buffer_size.cnf > /dev/null
- sudo service mysql restart
install:
- sed -i "s/^\(gem .mysql2.\),.*$/\1/" Gemfile
- bundle install --path vendor/bundle
- bundle update mysql2
script:
- bundle exec rake db:create ci --trace
- bundle exec rake db:create ci --trace skip_tasks=spec:features
matrix:
allow_failures:
- rvm: 2.4.0
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Code:
Pascal Simon, Puzzle ITC
Mathis Hofer, Puzzle ITC
Diego Steiner
Lukas Blunschi

Design & Style:
Roland Studer, Puzzle ITC
Expand Down
48 changes: 47 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,60 @@
# Hitobito Changelog

## Version 1.X

* Alle Personenfilter sind zusammengefasst und lassen sich abspeichern.
* Personenfilter erlauben den Gültigzeitszeitraum einer Rolle einzuschränken.


## Version 1.17

* Export der Abonnenten einer Mailingliste wird im Hintergrund erstellt und per mail versendet


## Version 1.16

* Vorbedingungen von Kursarten können zusätzlich mit ODER verknüpft werden.
* Für alle Anlässe lassen sich beliebige Administrationsangaben zu den Teilnehmenden definieren.
* Anzeige der Hauptebene bei Personenexporten und Teilnehmerlisten.
* Anlässe können dupliziert werden.
* Personenfilter nach Qualifikationsdaten und mehreren Qualifikationen.
* Sichtbarkeit der Anmeldungen auf Kursliste für alle Personen ist pro Kurs konfigurierbar.
* Aktualisieren der Kontaktdaten bei der Eventanmeldung
* Festlegen von Pflichtangaben zur Person bei der Eventanmeldung
* Anmeldestand kann für alle sichtbar gemacht werden


## Version 1.15

* Neue Rolle "Helfer/-in" für Anlässe.
* Unterschriften können nun bei allen Anlässen eingefordert werden.
* Anzeige des Geburtsdatums in Anlassteilnahmelisten.
* Notizen ebenfalls auf Gruppen möglich.
* Alle Personen derselben Firma sind unter Person > Mitarbeiter/-innen ersichtlich.
* Qualifikationen werden in Kursen erst auf Knopfdruck aktualisiert.
* Anmeldedatum wird bei Anmeldeknopf auf Anlassliste angezeigt.


## Version 1.14

* Automatisches Ausfüllen der Kurs Beschreibung wenn ein Kurstyp gewählt wird.
* Admin kann gelöschte Personen in der Volltextsuche finden.
* Anfrageverfahren wird für gelöschte Personen ebenfalls ausgelöst.
* Gelöschte Personen können pro Ebene angezeigt werden.
* Benutzer/-innen können personalisierte Etiketten erstellen.
* Übername und ein P.P. Post Feld können den Etiketten hinzugefügt werden.
* Globale Suche nach Anlassnamen und Kursnummern.
* Excel-Export für Personen und Anlässe.
* CSV- und Excel-Exporte von Personen mit allen Angaben enthalten aktuelle Qualifikationen.
* Der Verlauf einer Person zeigt neu die Rollen so an, dass die Gruppen auch die übergeordneten Ebenen anzeigt.
* Der Verlauf einer Person wird neu nach der Gruppe inkl. übergeordneter Ebenen sortiert.


## Version 1.13

* Personen können in Mailinglisten nach Tags gefiltert werden.


## Version 1.12

* Zu Personen können eingeschränkt sichtbare Notizen hinterlegt werden.
Expand Down Expand Up @@ -96,4 +143,3 @@
* Separat definierbare Qualifikationstypen für Kursleiter.
* Pflichtfelder für Anlass Fragen.
* Mehrfachauswahl bei Personen Filter und Abo Listen.

Loading