Commit graph

231 commits

Author SHA1 Message Date
Patrick Gansterer
e6e8c845cd Cleanup notify_users_of_weekly_task 2017-09-30 12:11:44 +02:00
Patrick Gansterer
52dc7b1387 Raise a RoutingError for unknown foodcoop in multi_coop_installs
This gives the correct error code for request to files in the root
folder (e.g. /apple-touch-icon.png), which do not exist.
2017-09-25 10:16:03 +02:00
Patrick Gansterer
f8662c9184 Redirect to root_url of default_scope when no slug is given 2017-08-29 23:40:48 +02:00
Patrick Gansterer
04a833a5f5 Allow ERB syntax in the app_config.yml
This change allows us to refer to envrionment variables in the yml file.
This is helpful if passwords are passed as environment variables in
Docker installations to avoid plain passwords in configuration files.
2017-03-04 13:17:22 +01:00
Patrick Gansterer
56d121e02e Fix FoodsoftConfig.each_coop after 4e35e2d 2017-02-15 09:52:37 +01:00
Patrick Gansterer
57bfd542b4 Fix create_upcoming_periodic_tasks after 9ae7c05 2017-02-15 09:52:16 +01:00
Patrick Gansterer
294d14624c Count only undeleted users for the user_count expansion varibale 2016-03-04 20:47:49 +01:00
Patrick Gansterer
4e35e2d58e Add handling for message reply via email
If the reply_email_domain configuration is set the messages plugin will
use unique Reply-To addresses for every email. They contain enough
information to reconstruct the message context and a hash to avoid
user forgery and spam.
A mail transfer agent must be configured to call the new rake task
foodsoft:parse_reply_email for incoming mails. The rake task requires
the receipt of the mail in the RECIPIENT variable and the raw message
via standard input. An example invocation would look like:
rake foodsoft:parse_reply_email RECIPIENT=f.1.1.HASH < test.eml
2016-03-04 18:11:27 +01:00
Patrick Gansterer
9ae7c05a89 Create next tasks directly after creating a periodic task 2016-03-04 17:13:16 +01:00
wvengen
6bf693e0ee Fix lingering buglet (would not even run with Array) 2015-11-14 17:07:44 +01:00
wvengen
c1413ff817 Allow clearing default order schedule 2015-10-23 14:53:01 +02:00
Mike iLL Kilmer
7abaa1ac92 Add more concise prompt for database configuration process. 2015-08-11 21:18:43 -05:00
Benjamin Meichsner
342b916ce6 Use OpenSans TTF for better utf-8 compability in prawn documents. 2015-06-12 17:03:22 +02:00
wvengen
c388b4e410 Merge branch 'dockerization' 2015-05-08 13:06:15 +02:00
wvengen
27050f8b02 Make rake setup task work with Docker 2015-05-02 14:34:13 +02:00
wvengen
26e7012ef0 Fix import options and add tests 2015-04-11 02:52:57 +02:00
wvengen
07ba6f0535 Import multiple spreadsheet formats. Make upload work like sync. 2015-04-11 02:52:57 +02:00
wvengen
15ac566ece Add help page for Foodsoft variables 2015-03-20 16:32:58 +01:00
wvengen
9df483cf4e Add foodsoft expansion variables for wiki 2015-02-28 14:50:25 +01:00
wvengen
be128243fc Cleanup wiki plugin a bit 2015-02-28 14:50:25 +01:00
wvengen
118886344a Use boolean comparators where it makes sense 2015-01-14 21:17:00 +01:00
wvengen
2687da357a Fix mailer warnings 2015-01-13 18:02:30 +01:00
wvengen
cfdfe5f23e Improve header+footer in PDFs 2015-01-03 00:24:33 +01:00
wvengen
d1ece157c6 Get rid of last empty page in PDFs 2015-01-03 00:24:33 +01:00
wvengen
3e6a882268 Don't provide default date when schedule is unset 2014-12-31 14:24:55 +01:00
wvengen
cee2ac8f9f Merge pull request #331 from foodcoops/feature/configure-upfront-tasks
Configure upfront tasks
2014-12-06 14:35:22 +01:00
wvengen
a278004c11 Merge pull request #330 from foodcoops/feature/plugin-move
Move plugins to separate directory.
2014-12-02 23:37:22 +01:00
wvengen
f6c008c79c Allow configuration of task periods 2014-11-23 01:34:51 +01:00
wvengen
219eb71bc9 Allow to specify an order schedule for new orders. 2014-11-23 00:38:13 +01:00
wvengen
6aa8ee7968 Move plugins to separate directory. 2014-11-22 00:43:24 +01:00
wvengen
6e990fed4c Upgrade to rails 4.1 2014-11-21 14:37:56 +01:00
wvengen
6188567931 hide message preferences when messages are disabled 2014-11-20 23:11:04 +01:00
wvengen
c585f53f54 Merge pull request #315 from wvengen/feature/db_seeds
more extensive database seeds (in two languages)
2014-10-16 20:43:11 +02:00
wvengen
9e7b2321cd Merge pull request #316 from wvengen/feature/disable_config_validation
disable config validation (closes foodcoops#313)
2014-10-09 09:45:53 +02:00
wvengen
575928d8a3 fix use_messages heading in config screen (closes foodcoops#319) 2014-10-07 01:07:11 +02:00
wvengen
a594dffed2 disable config validation (closes foodcoops#313) 2014-09-30 15:09:47 +02:00
wvengen
0e1cde9e2b more extensive database seeds (in two languages) (closes foodcoops#277) 2014-09-29 17:26:27 +02:00
Benjamin Meichsner
8e04074cd3 Fixed I18n.locale bu in wiki page. 2014-09-23 19:04:23 +02:00
Benjamin Meichsner
d9e8f29d44 Fixed number_to_currency bug in financial transaction csv export. 2014-09-22 17:37:51 +02:00
Benjamin Meichsner
9b03ac9a7c Do not fail over missing user, when building rss feed. 2014-09-22 11:02:45 +02:00
wvengen
8b83787252 simplify config loading 2014-09-11 16:40:21 +02:00
wvengen
92b6e6e28e fix encoding issue (for Ruby 1.9) 2014-09-11 14:46:50 +02:00
wvengen
3f3d7c4e3b export + encoding fix (ruby 1.9.3)
Conflicts:
	lib/order_csv.rb
2014-09-03 17:42:59 +02:00
wvengen
1c878c3c13 fix config issue with nested hash 2014-09-02 16:19:08 +02:00
wvengen
a699f95903 fix fax documents for stock orders (closes foodcoops#79) 2014-09-02 15:47:01 +02:00
wvengen
10a193add3 make nested properties work better 2014-09-02 15:02:26 +02:00
wvengen
68ccc19c70 allow to configure currency (closes foodcoops#258) 2014-09-02 15:02:25 +02:00
wvengen
f09ef892dc add foodsoft_config protection whitelisting 2014-09-02 15:02:25 +02:00
wvengen
daae87f6d5 fix deprecation warning 2014-09-02 14:21:32 +02:00
wvengen
6115979bae allow protected keys to be set/unset + config_db tests 2014-09-02 14:21:32 +02:00
wvengen
34e8901d04 let plugins define their own foodcoop-config defaults 2014-09-02 14:21:32 +02:00
wvengen
429e111db4 hide protected keys from config 2014-09-02 14:21:32 +02:00
wvengen
90f60595e6 don't fail in foodsoft_config without database,
and use proper config defaults so that configuration editing has
sensible default values
2014-09-02 14:21:32 +02:00
wvengen
7b000c39eb add foodcoop configuration screen 2014-09-02 14:21:32 +02:00
wvengen
dd3ac0971c allow to put foodcoop config in database 2014-09-02 14:21:32 +02:00
wvengen
0b08d461fa remove html escaping from all text mails 2014-09-01 11:08:32 +02:00
wvengen
790a6b1972 allow to set page break options for each document 2014-08-29 12:01:21 +02:00
wvengen
5349add890 fix fax txt table 2014-07-01 10:12:59 +02:00
wvengen
133b832d78 fix database migrations 2014-06-24 09:13:35 +02:00
wvengen
873e8d44a2 harmonize foodsoft capitalisation 2014-06-23 17:51:20 +02:00
wvengen
6466ea9653 revamp footer 2014-06-23 17:51:20 +02:00
wvengen
ffd1c06729 fix number crash 2014-06-23 17:51:19 +02:00
wvengen
c64a7ba3cd validate date and time inputs 2014-06-23 17:51:18 +02:00
wvengen
ef0888f38d add view for all transactions + csv 2014-06-23 17:51:17 +02:00
wvengen
34f85895c5 make multicoops:run also work on single coop 2014-05-30 12:13:09 +02:00
wvengen
0afe8bb20c fix csv export option handling 2014-05-13 18:04:57 +02:00
wvengen
724ce6ff60 make csv export more compatible with Microsoft Excel 2014-05-13 17:01:28 +02:00
wvengen
4c1e5e2b00 fix default textarea height 2014-05-13 17:01:27 +02:00
wvengen
3a41e9530f fix order bug 2014-05-13 17:01:27 +02:00
wvengen
83738c8383 set config defaults for multicoops 2014-05-13 17:01:27 +02:00
wvengen
64bb8e043d enable/disable plugins by config option 2014-05-13 17:01:26 +02:00
wvengen
6d98be6d22 reload app config before each test
(complements 21bef8e304d05025b72b39e790abc7e8a4f4f5e1)
2014-05-13 17:01:26 +02:00
wvengen
ed439d0b08 use minimal app_config for tests 2014-05-13 17:01:26 +02:00
wvengen
0ed867b991 optional database overrides in multicoop app_config 2014-05-13 17:01:26 +02:00
wvengen
ea8e4ee560 add pdf configuration options 2014-05-13 17:01:26 +02:00
wvengen
89f4a18b24 make messages plugin work with custom navigation menu 2014-05-13 17:01:26 +02:00
Robert Waltemath
7556c753d0 Extract message system to plugin. 2014-05-13 17:01:25 +02:00
wvengen
48e9a3e4f5 add fax csv 2014-05-13 17:01:25 +02:00
wvengen
03585e272f add configuration for default language 2014-05-13 17:01:25 +02:00
wvengen
3f032e5dd9 make apple points optional
a next step would be to move this to a plugin
2014-05-13 17:01:25 +02:00
wvengen
bb9269f755 avoid word-wrap when showing currency 2014-03-15 16:40:53 +01:00
wvengen
fccdaccb8d fix initial deploy (return value) [ci skip] 2014-03-03 17:05:01 +01:00
wvengen
cd32f702b0 fix resque task user switching 2014-02-26 13:09:22 +01:00
wvengen
ab514d7eb6 use encrypted cookies on new installations 2014-02-24 12:46:28 +01:00
wvengen
7841245795 migrate to Rails 4.0 (closes foodcoops#214)
Conflicts:
	Gemfile.lock
2014-02-24 12:46:28 +01:00
wvengen
d92f3f2298 deploy: persist changes to session_store iniitalizer [ci skip] 2014-02-03 10:53:22 +01:00
wvengen
d496c452e6 allow to enable/disable plugins in deploy 2014-01-15 21:41:54 +01:00
wvengen
46b36c42bd simplify initial database setup deployment rules 2014-01-15 21:40:51 +01:00
wvengen
af3761fcf5 do not run resque verbose by default 2014-01-15 17:28:20 +01:00
wvengen
ca234f0b70 deployment with Capistrano 3 (affects foodcoops#148) 2014-01-15 13:58:24 +01:00
wvengen
69a29b8296 Merge pull request #245 from fsmanuel/rss_feed + 1 2014-01-06 13:55:32 +01:00
wvengen
fe111a1422 require gem in plugin 2014-01-06 13:54:56 +01:00
Manuel Wiedenmann
0d0ff90a64 adds an RSS feed for pages/all 2014-01-04 20:12:01 +01:00
Julius
3bf1392251 Show clearer error message on WikiCloth exception 2013-12-22 23:34:54 +01:00
Julius
42e983f7ee Move html markup of WikiCloth exception from locales to controller 2013-12-22 18:09:40 +01:00
Julius
496a250495 Rescue on WikiCloth exception 2013-12-22 12:17:02 +01:00
wvengen
043607f20d workaround wikicloth i18n issue (closes foodsoft#217) 2013-12-06 16:41:16 +01:00
wvengen
9badaca2f3 fix wiki page creation 2013-11-25 16:33:12 +01:00
wvengen
5adb25caf5 copy wiki strings to plugin area 2013-11-19 18:33:54 +01:00
wvengen
66ac3be81f Merge branch 'master' into allow-no-nickname
Conflicts:
	app/views/home/ordergroup.html.haml
	app/views/login/new_password.html.haml
	app/views/shared/_auto_complete_users.rhtml
	app/views/shared/memberships/_current_members.rhtml
	app/views/shared/memberships/_non_members.rhtml
2013-11-18 11:42:49 +01:00