46e3794a4e
change .search to .ransack for updated ransack gem
2023-02-24 18:54:32 +01:00
3ffdb424d5
replace deprecated update_attributes with update
2022-10-26 13:19:27 +02:00
Patrick Gansterer
a40934dd5a
Fix missing I18n in messages plugin
2022-05-27 23:10:07 +02:00
Patrick Gansterer
f7311d25f6
Remove deprecated test_files attributes from gemspec files
2022-05-27 22:41:18 +02:00
Patrick Gansterer
754099999e
Add requeue action for printer jobs
2022-05-27 22:41:18 +02:00
Patrick Gansterer
7e8c1d041d
Auto correct rubocop style issues
2022-02-20 16:28:54 +01:00
Patrick Gansterer
47d9c79617
Use ActiveJob instead of Resque directly
...
This allows us to directly pass entities to the job.
2021-03-08 12:30:58 +01:00
Patrick Gansterer
ea2862fdef
Run rubocop --fix-layout and remove encoding comments
2021-03-02 09:12:19 +01:00
Patrick Gansterer
74531f90c7
Add Rails release to ActiveRecord::Migration
2020-09-05 14:40:11 +02:00
Patrick Gansterer
44a198c7bc
Adopt Rails 5 belongs_to_required_by_default
2020-09-05 14:40:11 +02:00
Patrick Gansterer
2557645f4f
Rails 5.0
2020-09-05 14:40:11 +02:00
wvengen
85e16c3e28
Crowdin roundtrip
2020-09-05 13:22:28 +02:00
Patrick Gansterer
266e9337be
Various small rails 5 adoptions
2020-09-04 12:54:42 +02:00
Patrick Gansterer
26aecbbe9e
Do not limit the number of page versions to 20
...
This reverts 164653dbfc
.
2020-09-04 12:27:05 +02:00
Patrick Gansterer
aa44291b69
Handle more possible inputs for polls correct
2020-08-13 17:20:49 +02:00
Patrick Gansterer
67ab647eb0
Remove number_display.rb
2020-08-03 15:31:34 +02:00
Patrick Gansterer
6b400b4f96
Increase choices size for polls
...
MariaDB/MySQL stores the array as serialized string, so the current
limit of 255 is too small to store all choices.
2020-07-31 21:43:56 +02:00
Patrick Gansterer
f5bbe0d5ae
Fix exception for blank body in SMTP server
2020-07-30 17:19:49 +02:00
Patrick Gansterer
057f3ec8ea
Add welcome mail
2020-07-30 17:14:14 +02:00
Patrick Gansterer
1053b3883d
Add admin interface for the links
2020-07-29 11:38:23 +02:00
Patrick Gansterer
7657b05787
Add links plugin
...
This can be used to link to external services related to the foodcoop.
With the indirect mode it is possible to implement a secure login to other
services. In that case Foodsoft will send a HTTP GET request and redirect
the user to the returned Location header. This allows the generation of
a one-time login URL.
A typical use-case would be that a workgroup, which is responsible for
the email account, does not need to share the login credentials and can
use a link within the Foodsoft instead.
2020-07-29 11:25:04 +02:00
Patrick Gansterer
d75b881318
Set Poll.multi_select_count to default value in model if nil
...
Since multi_select_count depends on the type of poll, we can not require
its presence via validates_presence_of, but can use the default value.
2020-07-29 09:14:30 +02:00
wvengen
e3746eebd7
Translation fixes + Crowdin roundtrip
2020-07-25 15:48:36 +02:00
Patrick Gansterer
3a4519757e
Add move operation for documents plugin
2020-03-23 16:31:26 +01:00
Patrick Gansterer
d476993321
Add polls plugin
2020-02-24 14:27:22 +01:00
Patrick Gansterer
42e0ce86a8
Throw a SMTP exception when the body is blank in a received message
2020-02-18 19:46:48 +01:00
Patrick Gansterer
7f375baf49
Send e-mail message reply only to original sender
2020-02-18 19:37:51 +01:00
Patrick Gansterer
5426420e8f
Make private messages visible for sender
2020-02-18 19:21:46 +01:00
Patrick Gansterer
d3dc70f87b
Fix Messages#new for stock orders after 7fcfd75
2019-11-16 11:50:25 +01:00
Patrick Gansterer
6ce51744b5
Add missing German translation after ca76de8
2019-11-15 21:04:38 +01:00
Patrick Gansterer
7fcfd75fe3
Add pickup date to order select box in Messages#new
2019-11-15 21:03:19 +01:00
Patrick Gansterer
0564b18e22
Fix message plugin after f8148e7d30
2019-10-30 12:02:00 +01:00
Patrick Gansterer
1550eedb5a
Add additional eager loading annotations
2019-10-30 11:53:44 +01:00
Patrick Gansterer
722bb474d1
Show private messages in foodsofts index pages ( fixes #106 )
2019-10-29 13:40:11 +01:00
Patrick Gansterer
f8148e7d30
Store message receivers in a new table instead of in a serializied value
2019-10-29 13:40:11 +01:00
Patrick Gansterer
2100c738af
Change deprecated *_filter methods to *_action
2019-10-29 09:41:01 +01:00
wvengen
9840803a9f
Crowdin roundtrip
2019-10-26 21:24:46 +02:00
wvengen
132b9765ed
Move translations to printer plugin
2019-10-21 17:42:25 +00:00
wvengen
3cbb5783d4
Move translations to wiki plugin
2019-10-21 17:42:25 +00:00
wvengen
ca76de8a5b
Move translations to messages plugin
2019-10-21 17:42:25 +00:00
wvengen
4366a9b2bb
Move translations to documents plugin
2019-10-21 17:42:25 +00:00
wvengen
f3ffcdaf6a
Move translations to discourse plugin
2019-10-21 17:42:25 +00:00
wvengen
c03bd5996c
Move translations to current_orders plugin
2019-10-21 17:42:25 +00:00
JuliusR
3ade87167a
Allow Wiki links to pages that have number signs in title
2019-10-14 07:24:53 +00:00
JuliusR
8b0c749c5b
Fix anchor links in Wiki
...
Fixes #558 .
2019-10-14 07:24:53 +00:00
Patrick Gansterer
226192f7cb
Allow changing the visibitly (public/privat) of messages ( fixes #625 )
2019-02-11 16:54:30 +01:00
Patrick Gansterer
c955a6ee40
Add a printer job queue via the printer plugin
2019-02-05 23:32:20 +01:00
Patrick Gansterer
52f322bf6e
Allow empty subjects when receiving reply messages via SMTP
2019-02-05 23:31:31 +01:00
Patrick Gansterer
fdbdbb25cf
Use Base64.strict_encode64 in discourse plugin
...
Base64.encode64 adds unneded newlines. Discourse can handle the newlines,
so this does not change the behaviour.
2019-02-05 02:03:42 +01:00
Patrick Gansterer
f8507655df
Show associated group when sending messages ( fixes #559 )
2019-01-15 05:20:06 +01:00