Commit Graph

780 Commits

Author SHA1 Message Date
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
ab195d28ae Tags selector back in place 2016-09-12 00:12:24 +02:00
c27b292879 Fewer mails sent to the submitter 2016-09-11 23:53:09 +02:00
0cc86601d0 The parameter that can be used to have future *and* past events in the rss feed is renamed to future 2016-09-11 22:50:03 +02:00
0fbdf39922 Merge branch 'all_events_rss' into 'master'
events: allow rss feeds to show all events

RSS feeds can be easily parsed and hence can be used to populate program for
events with the proper tags. By adding the 'showall=true' to the query string,
it is possible to see all events corresponding to the requested criteria in
the RSS feed, whether past or future and more than 20.

Signed-off-by: Geneviève Bastien <gbastien@versatic.net>

See merge request !1
2016-09-11 19:22:01 +02:00
cb474960f0 The rejection reason is better managed 2016-09-11 19:13:10 +02:00
93bdb05a01 Acceptation mail is only sent to the main event, not repeats 2016-09-11 18:32:08 +02:00
06e3595988 The changeset displayed on the versions page are now better line wrapped 2016-09-11 18:17:25 +02:00
dfc18d452d Merge branch 'recurrent' 2016-09-11 17:47:39 +02:00
4192ddcb4a Better changeset display in the versions pages 2016-09-11 17:46:28 +02:00
2026213536 It is now possible to create repeat events, which will be automatically created during moderation 2016-09-11 17:40:49 +02:00
Geneviève Bastien
ec406e5c07 events: allow rss feeds to show all events
RSS feeds can be easily parsed and hence can be used to populate program for
events with the proper tags. By adding the 'showall=true' to the query string,
it is possible to see all events corresponding to the requested criteria in
the RSS feed, whether past or future and more than 20.

Signed-off-by: Geneviève Bastien <gbastien@versatic.net>
2016-09-02 21:44:43 -04:00
160fcafea4 Updated logo and favicon 2016-07-02 17:03:03 +02:00
64aa18aacd Bundle update, and upgrade to latest turbolinks 2016-07-02 16:48:47 +02:00
9c55f58254 Organisations with no tags do not disturb the form anymore 2016-06-25 18:47:08 +02:00
0b54eaceeb New assets targets to precompile assets easily 2016-06-25 17:02:57 +02:00
6b92c40ea8 Quick correction so that the map bouding code will be working again in all browsers 2016-06-25 16:16:05 +02:00
8bbece331e Initial work on recurrent events 2016-06-25 16:03:08 +02:00
f16f7c780c The css to position legend markers was overriden by the vendor styles... 2016-05-23 01:54:46 +02:00
1d5eac21f2 Map legend markers now have the proper color 2016-05-23 01:51:45 +02:00
e4429e5f6d Missing marker on the event display 2016-05-23 01:11:22 +02:00
d46608823e Specific marker color in moderation 2016-05-22 01:23:17 +02:00
beb06ddf94 Correction on paths 2016-05-22 01:12:30 +02:00
3c826ee66f The maps' items now have proper markers and different colors. Refs #71 2016-05-21 23:15:49 +02:00
6a7895095e Event refusals was not properly sent to the submitter 2016-05-21 12:03:05 +02:00
76f78baa4d Back to the april banner 2016-05-19 21:42:02 +02:00
8b7838959b Orga's links now using the proper name_as_tag tranformation 2016-04-24 20:35:21 +02:00
3712aa1de3 ul and ol lists have a left padding 2016-04-23 14:50:15 +02:00
f47c5e8a12 Back to not using region names in geocoding, it seems to disturb OSM... :( 2016-04-20 16:25:53 +02:00
0a57efcbc9 Removed iframe layout, which was not necessary 2016-04-17 15:34:04 +02:00
50f429784c Some advances to maps, and translations. Refs #71 2016-04-17 14:07:39 +02:00
b7b36fbc1e Top right control is now expanded 2016-04-17 01:40:34 +02:00
88ec02e006 Quick correction, to render the correct number of organisations. Refs #71 2016-04-16 23:34:22 +02:00
f02c0b10f2 Organisations are now also displayed on the map. Refs #71 2016-04-16 23:08:03 +02:00
77ba9032d3 Organisations can now have a detailed place name and address, plus a specific geocoded localisation. Refs #71 2016-04-09 16:06:22 +02:00
98c9eeb22e Better correction :) 2016-04-08 18:17:54 +02:00
28fe903d58 Quick correction so that the libre en fete test does not break events without tags 2016-04-08 18:14:14 +02:00
fcb2bd409e Bundle update 2016-03-27 14:34:34 +02:00
9700a88109 It is now possible to limit events near some location. Refs #70 2016-03-12 16:15:17 +01:00
9237f6bc14 Bundle update 2016-03-12 13:10:34 +01:00
4e4f6b0621 Lists bullets are better displayed 2016-03-06 01:51:13 +01:00
18af616ce3 Libre en fête logo added to corresponding events 2016-03-01 23:19:47 +01:00
8d7c7e7f02 Libre en fête icons and banner added to the main calendar page 2016-03-01 22:54:52 +01:00
ad748f04da Using paper trail previous version instead of reify 2016-03-01 22:22:26 +01:00
6d724bea73 The map title displays the eventual filtering tag in its title 2016-03-01 00:59:17 +01:00
fbeba30cd1 Cleaner tables, particularly for the tighest screens. Refs #14, #24 2016-02-27 18:54:57 +01:00
10fa69eb89 Fewer attributes paper trailed 2016-02-27 17:42:07 +01:00
938ba42ac6 Kind names properly translated in the tooltip. Refs #48 2016-02-26 23:25:22 +01:00
16f7a6abf7 Small evolution to the linuxfr form 2016-02-20 17:12:15 +01:00
55b5545a0f Tags organisation is factorised 2016-02-20 16:53:54 +01:00
1b8de3ee35 Bundle update 2016-02-13 17:24:23 +01:00
f980b60145 Better protection against spam 2016-01-26 15:31:03 +01:00
b14eec0488 Putting protection on some organisations, so that spammers have less access... 2016-01-26 15:09:33 +01:00
af5104ca31 Merge conflit corrected 2016-01-18 18:00:28 +01:00
7b0d142693 Until OSM reverse geocoding understands the new French regions, we do not use regions' names... 2016-01-18 18:00:03 +01:00
32e574665f Until OSM reverse geocoding understands the new French regions, we do not use regions' names... 2016-01-18 17:56:40 +01:00
449e0e191d Important pagination correction 2016-01-18 00:24:53 +01:00
4a740d2596 Possibility to edit and create orga kinds 2016-01-13 22:47:18 +01:00
df6902a535 Attempt to a quick correction 2016-01-11 13:06:39 +01:00
1a0e09213a Quick correction on the rss feed, ordering by id and limited to 20 elements 2016-01-10 23:41:03 +01:00
fd36bc7361 Better counter/filtering. Refs #52 2016-01-10 17:28:47 +01:00
6846e7abde Filtering active organisations. Refs #52 2016-01-10 17:15:56 +01:00
09382cb3d2 Organisation kinds counters and filters added to the organisations' page. Refs #52 2016-01-10 16:18:20 +01:00
8758427e3c Better title to the organisations page. Refs #49 2016-01-10 15:43:22 +01:00