Commit graph

1151 commits

Author SHA1 Message Date
Andrew Cantino
8e4f23b621 Merge pull request #530 from cantino/heroku_first_time_makes_admin_user
refactor bin/setup_heroku so button users get admin accounts
2014-09-23 14:01:30 -07:00
Dominik Sander
7e662ead90 Merge pull request #535 from dsander/fix-navigation-line-break
Fixed navigation bar when many events are pending
2014-09-23 22:27:21 +02:00
Dominik Sander
d10f21bb79 Fixed navigation bar when many events are pending
Fixes #498
2014-09-23 22:03:53 +02:00
Andrew Cantino
ca0234b02d refactor bin/setup_heroku so button users get admin accounts 2014-09-22 22:21:15 -07:00
Akinori MUSHA
ab82683216 Merge pull request #518 from knu/refactor-map_marker
Add Event#location and refactor the map_marker partial.
2014-09-22 00:36:33 +09:00
Akinori MUSHA
be4dc34f8e Apply a correct fix for the flonum issue. 2014-09-21 23:02:39 +09:00
Andrew Cantino
d390aa1afe Merge pull request #523 from roblevintennis/master
Added bundle to install steps
2014-09-20 20:52:00 -07:00
Akinori MUSHA
10adab94db Avoid __send__. 2014-09-21 12:42:12 +09:00
Rob Levin
4187154b4f Added bundle to install steps 2014-09-20 16:20:38 -07:00
Akinori MUSHA
dd507e3cbf Make Event's location accessible from Liquid templates. 2014-09-19 21:57:45 +09:00
Akinori MUSHA
1406f37d48 Add Event#location= and make location an accessible attribute.
Add long aliases for lat and lng to Location.
2014-09-19 21:16:35 +09:00
Akinori MUSHA
edcd80f228 OK, Ruby 2.1 has introduced flonum, so do not expect identity. 2014-09-19 21:01:03 +09:00
Akinori MUSHA
b25142e793 Introduce a Location class. 2014-09-19 19:06:55 +09:00
Akinori MUSHA
1784eeb38a TIL: x ? y in CoffeeScript is a shorthand for if x? then x else y. 2014-09-19 15:40:57 +09:00
Akinori MUSHA
d22cad0327 Remove the map_marker partial, which is no longer useful. 2014-09-19 15:20:24 +09:00
Akinori MUSHA
223f3a61e9 Compact map_marker.js and use Utils.jsonify. 2014-09-19 11:29:36 +09:00
Akinori MUSHA
951648c94e Refactor the map_marker partial. 2014-09-19 10:48:33 +09:00
Akinori MUSHA
d4bd3c7c8b Add Event#location. 2014-09-19 10:36:27 +09:00
Akinori MUSHA
aceed9ac83 Add a scope with_location to Event. 2014-09-19 10:16:02 +09:00
Akinori MUSHA
94cec5e4cd Merge pull request #511 from knu/agent-drop_pending_events
Give user an option to drop pending events when enabling an agent.
2014-09-18 17:25:05 +09:00
Akinori MUSHA
faed2845c6 Add a spec for how drop_pending_events= should work. 2014-09-18 17:08:02 +09:00
Akinori MUSHA
4a06afafde Move these specs to the right splace. 2014-09-18 16:47:04 +09:00
Akinori MUSHA
a7f5ee3051 Do not update last_checked_event_id if an agent cannot receive events.
Use `maximum` while at it.
2014-09-18 15:09:18 +09:00
Akinori MUSHA
ea0fb2cf90 Make drop_pending_events a virtual attribute of Agent. 2014-09-18 15:09:17 +09:00
Akinori MUSHA
b933a886ea Add a tooltip for the "Drop pending events" option. 2014-09-18 14:42:15 +09:00
Akinori MUSHA
edb87b5d38 Reduce duplicates. 2014-09-18 14:41:24 +09:00
Akinori MUSHA
c138a49824 Fix debug code. 2014-09-18 14:11:19 +09:00
Akinori MUSHA
c35d6b99f0 Merge pull request #504 from knu/user_location_agent-issue-490
Update UserLocationAgent
2014-09-18 12:34:43 +09:00
Akinori MUSHA
7edbf92f01 Give user an option to drop pending events when enabling an agent.
This is shown in a confirmation dialog introduced for enable/disable
actions.
2014-09-18 12:32:11 +09:00
Akinori MUSHA
2f01eb017c Include another concern inside of the included block. 2014-09-17 18:07:18 +09:00
Akinori MUSHA
a6c16f07ac Stop requiring files that is to be autoloaded.
cf. https://github.com/rails/rails/issues/15767

Back out the move `load_types_in`, which was innocent because it does
not load anything.

Have to make sure #502 does not recur.
2014-09-17 18:05:32 +09:00
Akinori MUSHA
89754a1cb3 Integrate UserLocationUpdatesController into WebRequestsController. 2014-09-17 10:39:30 +09:00
Andrew Cantino
2216e8ea10 Merge pull request #508 from cantino/update-nodejs-for-chef
The development of the nodejs cookbook has been moved
2014-09-16 15:36:06 -07:00
othreed
9e8d0803a3 The development of the nodejs cookbook has been move from github.com/mdxp/nodejs-cookbook to here: github.com/redguide/nodejs 2014-09-16 15:15:24 -07:00
Andrew Cantino
56e2afc38c Merge pull request #503 from knu/respring
Readd Spring fixing a problem with a git-sourced gem.
2014-09-16 14:43:08 -07:00
Andrew Cantino
02e57f4f88 Merge pull request #506 from cantino/downgrade_better_errors
downgrade better_errors since we still support ruby 1.9.3 for now
2014-09-16 11:52:48 -07:00
Andrew Cantino
4662653627 downgrade better_errors since we still support ruby 1.9.3 for now 2014-09-16 11:31:42 -07:00
Akinori MUSHA
f720291b49 UserLocationAgent: Receive events and accept POST via WebRequestsController.
Show the POST URL on the details page while at it.

The old user_location_updates URLs still work.

This addresses #490.
2014-09-16 20:56:08 +09:00
Akinori MUSHA
0f2af0ac12 Fix the events#show page when an event contains lat/lng information.
The map_marker partial is moved to `views/shared` to be shared globally.

This addresses #490.
2014-09-16 19:40:17 +09:00
Akinori MUSHA
53e2c8b4ed Readd Spring fixing a problem with a git-sourced gem.
cf. #478
2014-09-16 18:22:02 +09:00
Akinori MUSHA
36102dd3f1 Call load_types_in after necessary class methods are defined.
Loaded subclasses need them.

This should fix #502.
2014-09-16 17:07:48 +09:00
Akinori MUSHA
1245a1ec9f Load huginn_scheduler first before each thread starts to auto-load files.
This should fix #501.
2014-09-16 17:07:48 +09:00
Andrew Cantino
85fb86b1cb Merge pull request #495 from cantino/fix_rss_agent_ids
Calculate IDs in RssAgent if none are available
2014-09-14 14:56:31 -07:00
Andrew Cantino
3f81060bf1 add event description, disable spring because it messes with foreman 2014-09-14 13:28:11 -07:00
Andrew Cantino
34e7a52f0c calculate ids if none are available 2014-09-13 11:51:12 -07:00
Akinori MUSHA
b71ad2e99c Merge pull request #488 from knu/data_output_agent-pubDate
DataOutputAgent: Allow the `pubDate` value for each item to be given by user.
2014-09-13 16:11:38 +09:00
Andrew Cantino
f29aedd8c6 update CHANGES.md 2014-09-12 23:25:05 -07:00
Andrew Cantino
933f1eb1f9 integrate knu's suggestions 2014-09-12 22:30:45 -07:00
Andrew Cantino
40304e1f4b Merge branch 'master' into table_sorting 2014-09-12 22:10:17 -07:00
Andrew Cantino
c28f9a7f48 Merge pull request #491 from cantino/maintain_changes
update CHANGES.md
2014-09-12 22:05:17 -07:00