Commit Graph

843 Commits

Author SHA1 Message Date
5807c44b70 Taking only future events for the ical format 2018-07-14 17:32:11 +02:00
95edd455a5 Attempt to slightly limit the ical events, to only have the future one... 2018-07-14 16:40:01 +02:00
1bdd9f434f Optimised region filter, to minimise db requests 2018-07-14 16:20:15 +02:00
c1546d9684 The new ical generators 2018-07-14 00:50:13 +02:00
32a5eb605b Now using the icalendar gem, to generate ical files 2018-07-14 00:49:52 +02:00
3714c614c8 Cleaned up sass imports 2018-07-14 00:49:33 +02:00
8151612f05 Mise en forme pour les tags 2018-07-12 18:13:54 +02:00
c7bc91aded Better autocomplete display 2018-07-12 12:15:49 +02:00
a9b4fbd644 javascript async loading is only setup in production, as it should 2018-07-11 19:24:21 +02:00
bbb10479b0 javascript are marked as asynchronous 2018-07-08 16:20:22 +02:00
135e33c44c Migration to Ruby on Rails 5.2 2018-07-08 16:19:39 +02:00
4002695e5d Some cleaning up, for rubocop 2018-05-23 09:24:42 +02:00
ad01be89c4 Another attempt at managing region with a parent one... 2018-05-06 21:25:35 +02:00
60df916a62 The geocoding address does not use anymore the country if this country is "top level".
This should better handle the "other" country, which OSM has troubles with...
2018-05-06 21:20:48 +02:00
e1c2eb7b5d Contact address is now displayed only when present 2018-04-08 23:40:08 +02:00
06d7538d73 Events' contact address is no longer required.
Refs #107
2018-04-08 23:37:12 +02:00
453dba408f Tighter table display on small screens 2018-04-08 23:04:52 +02:00
9180a13f1d Remise du logo april plutôt que libre en fête 2018-04-08 22:23:36 +02:00
ab3c2e4c53 Link is added to the sidebar title to directly go to the region's organisations
Refs #123
2018-04-08 19:34:44 +02:00
bef9773d55 Organisations' filter has a title popup to explain the criteria used
Refs #124
2018-04-08 19:28:15 +02:00
40be723334 Correction on the ics calendar format, which was wrongly using ; instead of :
Refs #125
2018-04-08 00:43:11 +02:00
f79271520c The organisation search bar and countries selector are moved up 2018-04-08 00:17:31 +02:00
e0fba8e6d7 Events geojson generation is separated into its own jbuilder 2018-04-05 22:00:07 +02:00
5e6d4778a8 Attempt to remove all timezone info from ics and rss feeds 2018-03-27 23:30:21 +02:00
9fbf119d08 The tag separator now manages , differently 2018-03-18 18:56:46 +01:00
c37fc6f3cd Added region_id to the generated geojson 2018-03-18 18:20:11 +01:00
838d4538a6 Updated diaspora label, to better conform to their official logo
Refs #61
2018-03-18 17:15:03 +01:00
604d0eceb3 Removal of an unused link 2018-03-18 16:55:39 +01:00
669471aa59 Another attempt :) 2018-03-18 16:41:07 +01:00
64cd896006 Quick correction on ragion scoping to local ones 2018-03-18 16:36:18 +01:00
c960760964 Local regions can now be listed in json 2018-03-18 16:32:59 +01:00
2ee90cd937 Missing region scope 2018-03-18 16:05:26 +01:00
3e044ca64a The diaspora icon is configured everywhere. Refs #61 2018-03-18 15:33:48 +01:00
ec8d9596e5 Added submission_time and decision_time to all json 2018-03-18 15:01:19 +01:00
5a2dba3b2e We also publish events submission_time and decision_time in their json 2018-03-18 14:41:48 +01:00
99ff9fa4c1 Tags can also use a comma as delimiter 2018-03-17 17:29:39 +01:00
eb46eb92ef The ics timezone now should be using the server setting.
Hopefully, this should be the good one in quebec or brasil!

(testing and feedback would be great)

Closes #76
2018-03-17 17:21:26 +01:00
db2fd4eb96 When updating an event, user is then redirect to the displayed event.
Closes #105
2018-03-17 16:53:38 +01:00
08e53af140 Icons for global event and "libre en fete" can be added and seen together
Closes #122
2018-03-17 16:22:36 +01:00
803dfc94a3 In all mails, a link to "infos" is added in the signature. Closes #112 2018-03-17 16:10:06 +01:00
cf3e6274eb Using update instead of update_attributes 2018-03-17 15:49:43 +01:00
6724cccf0e Updated diaspora icon, using css (not a font awesome icon). Closes #61 2018-03-17 15:32:42 +01:00
980d6421aa Improved event creation, to handle params like event[tag_list]=test 2018-03-02 10:23:16 +01:00
fa3b63d237 Links to new event can prefill tags
Closes #110
2018-03-01 22:53:20 +01:00
b5ebea1472 Yet more missing awesome icons 2018-03-01 22:33:38 +01:00
512308c48e Image optimized 2018-03-01 22:19:21 +01:00
fbe6541037 Bundle update 2018-03-01 22:18:04 +01:00
a2b8786cf6 Better organisation's details 2018-03-01 21:51:45 +01:00
57035f9ab7 Updated LEF banner 2018-03-01 20:57:07 +01:00
08706d2e13 Some missing awesome font icons 2018-03-01 20:46:06 +01:00
d7eb4c9cf7 Go from organisation edition back to organisation consultation 2018-03-01 20:42:14 +01:00
26a2ce254a The active filtering button has a title, and is slightly separated from others
Closes #114
2018-02-17 16:46:53 +01:00
073893424d Missing awesome icons 2018-02-11 18:06:32 +01:00
3d338b3018 Bundle update, including a big upgrade to font awesome 5 2018-02-11 13:13:41 +01:00
b989e079f0 The login field was newly limited to be an email adress, back to normal text input! 2018-02-04 23:38:15 +01:00
5cc0f6d39b Better region output in json 2018-02-01 20:12:57 +01:00
319e01f27b Events' json now includes events' region 2018-02-01 20:10:48 +01:00
43a957e2b7 Quick correction, commercial week is a Date method... 2018-01-27 18:09:58 +01:00
b2fc347303 The "future" filter is back to have a "false" value 2018-01-22 00:37:45 +01:00
67d62c40fd Trouble with hidden radio buttons 2018-01-22 00:20:28 +01:00
867ea155c7 Attempt to correct a bug related to included regions 2018-01-22 00:09:45 +01:00
cdd2f3de5e Repeating rules are now required 2018-01-21 23:25:31 +01:00
dde09adbc1 Better form appearance, with larger paddings 2018-01-21 20:32:03 +01:00
10c77b95ee Optimising DB queries: sub regions are eager loaded 2018-01-21 13:29:24 +01:00
6d3cb23965 Slightly cleaner organisation's page layout 2018-01-05 22:39:29 +01:00
76358d1056 Migration to rails 5.1 complete 2018-01-01 17:52:33 +01:00
32298c4980 Cleaner datetime localization for xml output 2017-12-25 21:12:30 +01:00
c76c46a104 Merge branch 'master' of git.framasoft.org:agenda-libre/agenda-libre-ruby into rails5 2017-11-17 23:37:03 +01:00
5efd394ce8 Quick correction, so that nil repeatitions will not generate an exception 2017-11-12 19:12:48 +01:00
86684e6bf2 Intermediary upgrade to rails 5 2017-11-11 12:44:09 +01:00
4b7dfa2772 Migration to Ruby on Rails 5.1 2017-10-21 22:12:19 +02:00
e3a012fcdf Mails' translations should not have ' html encoded anymore 2017-10-21 20:21:25 +02:00
4a4cce9978 Correction on rss builder to better manage region 2017-10-15 01:02:58 +02:00
8591f4f786 The map link/icon is back into the footer instead of under the month agenda 2017-10-14 22:15:09 +02:00
e010bdf69c Links are in https rather than http 2017-10-14 21:39:56 +02:00
105c41b4c2 Sanitizing was a bit brutal, removing the iframe to open a chat window 2017-10-09 00:51:57 +02:00
1093b28f7f Removed some unnecessary sanitation 2017-10-09 00:28:28 +02:00
a087109229 Debug element was left in the code 2017-10-08 16:21:49 +02:00
9d4567430b Quick correction, so that new event and orga can work properly again 2017-10-08 14:28:18 +02:00
e8a58e8157 Compiled assets 2017-10-08 11:38:34 +02:00
b860fa7035 Address generated for OSM geocoding is now using country name and not code 2017-10-08 11:37:02 +02:00
418930387f The french typography mechanism should not interact with the date/hour selector 2017-10-08 00:49:59 +02:00
02a4ff4dc3 Update to the frType javascript library 2017-10-07 18:52:15 +02:00
61411b26de Updated frTypo library 2017-10-02 16:36:20 +02:00
01ae744c7b Orgas filtering can now use the near scope 2017-09-17 23:43:04 +02:00
12ba0c42dd Quick correction, to manage the region zero 2017-09-17 20:41:48 +02:00
9638996386 Quick correction, to manage the region zero 2017-09-17 20:36:29 +02:00
950728ae50 Quick correction, filter region stored in session was not used... 2017-09-17 18:41:05 +02:00
5a672589bc Region filtering should now work with countries and their sub regions 2017-09-17 18:25:34 +02:00
0c2c80fc32 It is now possible to deselect a filtering region 2017-09-17 14:50:29 +02:00
85b4ac888f Bundle update and rubocop cleanup 2017-09-17 11:14:49 +02:00
e6ae709ce4 Nicer looking "other country" flag 2017-09-07 22:36:53 +02:00
fc0abb0dc7 Slightly better looking region selector 2017-09-07 22:09:30 +02:00
73d3aa248d Orthograph correction 2017-09-03 12:00:53 +02:00
627e3606ea Tighter region selector, to better display the increasing number of regions 2017-09-02 20:57:10 +02:00
335305a1e1 The link to visualize was too relative, and sometimes it could fail in some specific cases (after a failed creation) 2017-08-26 21:49:54 +02:00
fd1c11265b Latest active_admin version should work with adl.
But waiting for ruby > 2.1 in production...
2017-07-28 00:35:14 +02:00
4e3055ada3 The region filter is now set in the user's session 2017-07-14 17:50:13 +02:00
c2a47847a2 Organisation types can be associated to regions now 2017-07-06 16:00:36 +02:00
1de8e3ef14 Links to filter on region do not use the "all" value anymore 2017-07-06 14:45:20 +02:00
3b0925da1d sparkline and leaflet managed as rails assets dependencies 2017-07-06 11:39:26 +02:00
453e6d276d Events and Orgas geocoding now uses the country code if available 2017-07-06 11:35:42 +02:00
b7beb0b5fa Organisations counter per kind can also filtered by selected region 2017-07-02 15:40:13 +02:00
a4446df2f6 The selected region, in the top right filter, is better displayed 2017-07-02 14:19:42 +02:00
491287ed01 Statistics only display data for the selected region 2017-07-02 14:13:09 +02:00
208fe78178 Stats can be filtered using the regions selector at the top 2017-07-02 13:28:10 +02:00
7e188aa5f1 The region selector will always be above the eventual map 2017-07-02 13:02:20 +02:00
c481997773 The orga moderation button is better looking 2017-07-02 12:58:14 +02:00
37266beec2 Attempt to use, again, the region, in the reverse geocoding process 2017-07-02 12:25:43 +02:00
7afa2951d0 Correction, so that we can still edit an orga, even if it has no submitter 2017-07-02 12:16:53 +02:00
7dd9d65ea9 Missing chevron on country with regions 2017-07-01 19:13:13 +02:00
61fe1dd547 Add Luxembourg and Tunisia 2017-07-01 19:02:46 +02:00
e446007d66 The dot "." in any organisation name is replaced with a dash "-" when searching for tagged events 2017-07-01 17:25:15 +02:00
22e4cef45a Better markdown output, for linuxfr 2017-06-10 14:28:10 +02:00
69bfd4ffc4 No renumbering if content is empty 2017-06-09 17:37:24 +02:00
324e53297b Does not replace links with no number 2017-06-06 23:29:45 +02:00
988da88983 Also unescape double quotes 2017-06-06 23:26:52 +02:00
1aa7aa936b Attempt to improve the markdown digest 2017-06-06 23:08:10 +02:00
2d9107997f Quick correction 2017-06-04 16:52:33 +02:00
9dfdeeaea0 Less line feeds at the markdown output 2017-06-04 14:59:31 +02:00
83bcde3101 Attempt to better manage markdown, for the linuxfr digest! 2017-06-04 14:38:02 +02:00
45b18e0c34 The markdown digest seemed broken, no line breaks, we now use kramdown which is able to generate markdown from html 2017-06-04 12:59:14 +02:00
4ce608dd5c Silly bug blocking identication 2017-06-02 23:55:26 +02:00
fb861930b2 Quick correction on a form label 2017-06-02 13:19:11 +02:00
664be5db70 Improved accessibility, darker label color 2017-06-02 13:15:23 +02:00
2b9efc57b5 Form elements should not move anymore when focused 2017-05-29 23:30:49 +02:00
87e63d0f34 Slightly cleaner code 2017-05-29 22:18:04 +02:00
7e2c45d006 Quick correction for markdown digest 2017-05-28 00:18:01 +02:00
d69a3f8f06 New organisation is set using the url region 2017-05-27 18:57:30 +02:00
3f88e82bfd Quebec flag should be better handled in production 2017-05-27 18:44:09 +02:00
323ec7d276 Region selector should be better displayed vertically 2017-05-27 18:21:07 +02:00
fcc80d891b The region selection, when creating/editing events and orgas, done using radio buttons.
This should let the project evolve to a multi country one.

Refs #63
2017-05-27 17:46:01 +02:00
7de12f70c8 The markdown digest now includes the country code 2017-05-27 14:42:51 +02:00
1b64f9fb9a Larger tinymce body font 2017-05-27 14:09:18 +02:00
cb5df5c248 The country flags are all managed using the super flag-icons-rails gem.
The Quebec flag is a simple css declaration!
2017-05-27 13:28:03 +02:00
893f2de4a7 Better form, much larger 2017-05-27 13:02:27 +02:00
26a718a90c Bundle update and ApplicationRecord as required in rails 5.1+ 2017-05-27 09:34:24 +02:00
bdd522a5ff Small addition on the validation form 2017-05-22 16:49:34 +02:00
9bfef874a0 Better looking forms 2017-05-22 16:42:21 +02:00
bc5267c4dc Quick quick correction, it seems a textarea containing html code that includes style elements is displayed as an empty textarea!
Replaced with a classic text input, tinymce picks it up correctly...
2017-05-20 19:53:38 +02:00
6ac523eea7 Removal of an extraneous console.log 2017-05-20 18:23:57 +02:00
ed797cfafb The country selector is associated with chevron, to let the user see a region can be selected 2017-05-20 18:10:04 +02:00
6924f7ec3c Changes to the main display: the title is flushed left.
Plus the map footer item is moved to be just below the main calendar view
2017-05-20 17:23:57 +02:00
7f2b5a7a6e Regions can now be organised into a hierarchy.
The region selector is back on the top page, but right under the related country's flag
2017-05-20 16:02:07 +02:00
a5084cfa84 French typography, spacing at least, when applicable 2017-05-07 22:09:04 +02:00
ec60e8853b Proper html sanitation for static pages 2017-05-07 22:06:45 +02:00
66ce115fc3 Link to events on the tag page 2017-05-07 21:44:24 +02:00
2d5b916077 Listing future events, with full description. Refs #90 2017-05-07 19:29:56 +02:00
c41f81822b Stroked through text is now displayed correctly
Closes #87
2017-05-06 16:31:18 +02:00
eb1f65d524 More tags accepted in the orga and event description 2017-05-06 16:15:38 +02:00
3485a9b9c9 Changes to the tinymce editor 2017-05-06 16:11:24 +02:00
053a94198e Bundle update, new tinymce version! 2017-05-06 15:46:50 +02:00
45722dc224 SPAM removal will not send an email or version data 2017-05-06 15:46:22 +02:00
8112a4056f No more mister nice guy, the main table's width is now set at 100%! 2017-05-05 00:07:29 +02:00
7eff55625d Individual table cells should not be larger than 1/7th of the screen width 2017-05-05 00:05:27 +02:00
a048844ce1 Main table no more constrained to a width of 90% 2017-05-04 23:09:21 +02:00
9e6af6a5f6 Libre en fête logo changed back to april 2017-05-04 22:32:45 +02:00
d9a360575a Added link to brasilian agenda!!! 2017-05-04 22:13:24 +02:00
082e0a307f Bundle update and subsequent cleaning up related to the new rubocop version 2017-04-22 20:01:47 +02:00
83f1e9dbc9 Event's url is no longer required 2017-04-22 11:35:37 +02:00
8f6b37bb8e Libre en Fete banner back on the main page 2017-02-16 19:05:09 +01:00
d26f49e11c Quick correction so that event duplication does reuse tags 2017-02-11 14:34:27 +01:00
a59d293070 Quick correction to correct an exception when a repetition is set without rule 2017-01-22 14:20:47 +01:00
e89329ee04 Updated to libre en fête 2017 2017-01-19 14:54:50 +01:00
Paulo Henrique de Lima Santana
25f7ef9514 removed reclamation 2017-01-18 11:03:12 -02:00
37d5075b47 Ensuring tags are copies to sub events 2017-01-02 10:29:02 +01:00
716568f511 Bundle update 2016-12-23 22:47:34 +01:00
628392093e Better tag cloud display 2016-12-17 22:54:29 +01:00
179ec98cf0 Better tag cloud display 2016-12-17 22:49:01 +01:00
155215c812 Better tag cloud display 2016-12-17 22:43:07 +01:00
bdfb9311b5 Quick correction on tags in digest 2016-12-17 19:40:32 +01:00
24e2543a1d Tag links point to the proper page 2016-12-17 18:47:05 +01:00
4f8cf33f90 Geocoding only occurs avec address has changed 2016-12-17 17:44:35 +01:00
5b3228dae8 Webshims and select2 removed, replaced with straight rails datetime select and jquery tags input 2016-12-17 16:59:11 +01:00
f6e43ce10e Organisation submitter is set to the contact if empty 2016-11-08 15:40:35 +01:00
ed8bbfb718 Font familly removed, so that the browser's default font will apply 2016-11-08 15:07:32 +01:00
2a4e71f7a9 Translations and preview for organisation moderation mails 2016-11-07 22:30:44 +01:00
2fae5c09a4 Migration to the gem high_voltage: « Easily include static pages in your Rails app»
This replaces the "application" directory where were stored some common static pages
2016-10-31 23:44:44 +01:00
60e641ac91 Tests updated for the new organisation mails 2016-10-31 22:41:20 +01:00
786eb5ee2a Cleaned up code, to follow the ruby style guidelines 2016-10-31 22:35:14 +01:00
Paulo Henrique de Lima Santana
1bb504493a Updates in functios to send emails to submitters and/or moderators 2016-10-28 15:46:58 -02:00
Paulo Henrique de Lima Santana
369d7015df Updates in functios to send emails to submitters and/or moderators 2016-10-28 15:14:24 -02:00
Paulo Henrique de Lima Santana
9b2039f5f8 Send emails to moderators when orgas are manipuleted 2016-10-28 14:11:27 -02:00
778e44f12f Cleaner URL when using the filter form 2016-10-28 14:35:27 +02:00
d25e133b13 Organisations can also be searched using near/distance filters 2016-10-28 11:48:44 +02:00
2d79606e07 Merge branch 'filter' 2016-10-28 11:33:39 +02:00
40bfa440a6 A separate filter page lets users search more precisely for events or organisations, in different formats 2016-10-28 11:32:57 +02:00
414f2ab488 Multi day events and prev/next header links 2016-10-22 11:23:27 +02:00
a57b376151 Separate page to manage a complete filter, presenting all available options 2016-10-21 13:46:32 +02:00
bc81a2fb9c Event calendar better displayed on small screens: past events only visible when hovering over the current month 2016-10-20 23:46:54 +02:00
ce956fcd11 Link added from organisation to its events 2016-10-19 14:31:00 +02:00
d574b1624a Url sent in mails are now enclosed in angled brackets,
as recommended in RFC 3986 section C (ftp://ftp.rfc-editor.org/in-notes/rfc3986.txt)

Close #77
2016-10-18 23:28:18 +02:00
0b4f398f61 No more timezone referenced in ical. Should resolve #76 2016-10-18 15:52:56 +02:00
aaaeb323bc Tags page better displayed 2016-10-18 15:37:03 +02:00
c664c180c1 We can now trace visitors using piwik 2016-10-17 12:21:23 +02:00
28f6f7f4f4 Bundle update 2016-10-15 16:39:15 +02:00
f82369a9f8 Latest rubocop 2016-09-19 16:35:19 +02:00
572ab44e2b Removal of compass, which was used to support older browsers 2016-09-17 22:45:32 +02:00
a2dc4144e7 Better management of a textual reason when destroying moderated events 2016-09-17 19:41:29 +02:00
3069dced13 It is now possible to repeat events using a new méthod: nth day of the month 2016-09-17 17:19:41 +02:00