Commit graph

124 commits

Author SHA1 Message Date
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
Patrick Gansterer
abe847c0ee Add and inherit from ApplicationRecord to match Rails 5.0 style 2019-01-15 04:40:05 +01:00
wvengen
fd96b6ccc1
Prepare for API v1 (PR #570) 2018-10-13 20:16:35 +02:00
wvengen
d9ae0d11b0
Bundle update (CVE-2018-3760, requires Ruby 2.3, PR #561) 2018-10-13 20:04:00 +02:00
Patrick Gansterer
954795138d Make the site_map the default view when showing all wiki pages 2018-06-11 15:51:33 +02:00
Patrick Gansterer
dc94e98138 Add folders to the documents plugin 2017-11-21 10:12:13 +01:00
Patrick Gansterer
816f699f69 Switch license to AGPL (fixes #496, PR #513) 2017-11-10 17:02:35 +01:00
wvengen
b49bfb0d8c Localeapp roundtrip + fixes
This includes an overdue synchronization of plugin locales. To make
translation easier for non-developers, we keep the strings at localeapp,
which puts everything in one file. All plugins enabled by default are
therefore included in Foodsoft's locales.
2017-10-27 22:37:32 +02:00
Patrick Gansterer
0de7fc0da5 Add a wiki page for the Dashboard 2017-10-26 21:23:51 +02:00
Patrick Gansterer
cef951e421 Remove unused function from Page model 2017-10-26 21:23:51 +02:00
Patrick Gansterer
db46f189be Ensure that WikiCloth does not show Edit links 2017-10-26 21:23:51 +02:00
Patrick Gansterer
da1ebe915c Use deface in wiki plugin 2017-10-26 21:23:51 +02:00
Patrick Gansterer
8e593f8629 Support receiving of signed multipart mails in messages plugin 2017-10-19 14:58:26 +02:00
Patrick Gansterer
8a9d7a91c9 Add whitelisting for documents 2017-10-12 20:46:39 +02:00
Patrick Gansterer
957b347b04 Ensure correct extension when downloading documents 2017-10-12 20:46:39 +02:00