1. 10 Apr, 2019 2 commits
  2. 31 Mar, 2019 2 commits
  3. 25 Nov, 2018 14 commits
  4. 25 Jan, 2018 2 commits
  5. 04 Dec, 2017 2 commits
  6. 03 Dec, 2017 1 commit
  7. 15 Oct, 2017 7 commits
  8. 30 Jul, 2017 2 commits
    • Loïc DAYOT's avatar
      feat(): make easier purpose new event · 57724fde
      Loïc DAYOT authored
      For each day in a month of calendar, add link to show all events of the day.
      For each day in a month of calendar, add link to add new event at this date.
      Add link to add event from showoneday.php at this date.
      
      close #37
      57724fde
    • Loïc DAYOT's avatar
      feat(): Allow duplicate event. · a970ff28
      Loïc DAYOT authored
      Allow duplicate event when display one event. Solution for repeted events.
      
      close #6
      a970ff28
  9. 16 Jun, 2017 8 commits
    • Ploc's avatar
      chore(): bump version from 3.4.0 to 3.5.0-dev · 35075851
      Ploc authored
      35075851
    • Ploc's avatar
      chore(): bump version from 3.4.0-dev to 3.4.0 · e1a2a2f8
      Ploc authored
      e1a2a2f8
    • Loïc DAYOT's avatar
      feat(): add css class style in calendar depending on tags of the event · 01b75af4
      Loïc DAYOT authored
      Add a css class depending on tags of event in calendar.
      
      For example : tag `libre-en-fete-2017` for the event can add the following css class in calendar.css:
      
      ```css
      .cal_tag_libre-en-fete-2017::before {
        content: url(../../adl/image/lef-2007-small.png);
      }
      ```
      
      close #44
      01b75af4
    • Loïc DAYOT's avatar
      chore(): move default map parameters in config.inc.php · d52a18a1
      Loïc DAYOT authored
      Map parameters (zoom, lat, lon) are now set in local configuration file for easier configuration. Add a message when geolocation isn't found from address.
      
      BREAKING CHANGE:
      
      Add the following configuration in your `www/inc/config.inc.php` file in line 99:
      
      ```php
      /*
       * Map settings
       **/
      $mapGlobalDisplay = array( /** in map.php */
          'lat'     => 46.8,
          'lon'     => 1,
          'zoom'    => 6,
      );
      $mapLocalgroupDisplay = array( /** in showlocalgroup */
          'zoom'    => 13,
      );
      $mapEventDisplay = array( /** in showevent */
          'zoom'    => 11,
      );
      ```
      d52a18a1
    • Loïc DAYOT's avatar
      feat(): geolocation when editing an event · 28051cc0
      Loïc DAYOT authored
      Modify event form following the same modification as localgroup form, adding a map to determinate a point and an address. Forms are prettier. Geocoding from address is available in event form and localgroup form.
      
      - fix a typo
      - fix content check from localgroup edit form
      
      close #39 and #40
      28051cc0
    • Loïc DAYOT's avatar
      feat(): geolocation when editing a localgroup · 7f722ad9
      Loïc DAYOT authored
      Modification of localgroup edit form, add a map to determinate a point and an address.
      
      related to issue #39 and #40
      7f722ad9
    • Loïc DAYOT's avatar
      fix(): bad answer in ajax query to find localgroups · 441d4011
      Loïc DAYOT authored
      The warning message when no localgroup is found is no more computed in php, but in javascript.
      
      As a consequence, php must return an empty list, but not an error.
      441d4011
    • Loïc DAYOT's avatar
      feat(): allow to link one or more localgroups to each event · 750aa400
      Loïc DAYOT authored
      - Adding localgroup fields in event edit form, qualifing the localgroup role in organizer, partner...
      - The event edit form is changed for better visibility using fieldset tag.
      - The event edit form need javascript with jquery and jquery-ui. It isn't perfect for accessibility and could be enhanced.
      
      The localgroups linked are displayed in `showevent.php`. The events linked are displayed in `showlocalgroup.php`.
      
      close #5
      
      BREAKING CHANGE:
      
      Add the following text into `adl/text/text.inc.php` on line 51 (and/or into your theme directory):
      
      ```php
          $adl_lg_role = array('organizer'=>"organisateur", 'coorganizer'=>"co-organisateur", 'partner'=>"partenaire", 'other'=>"autre");
      ```
      
      Add the following text into `adl/templates/header.inc.html` on line 12 and into `adl/templates/iframe_header.inc.html` on line 12, and/or into your theme directory:
      
      ```php
          <link rel="stylesheet" type="text/css" href="adl/css/jquery-ui.css" />
      ```
      
      Add the following text into `adl/css/calendar.css` on line 382:
      
      ```css
          /*
           * Format event submission in relation with localgroups.
           * (used only in submit.php)
           */
          fieldset {
              background-color:#CCC;
              /*max-width:500px;*/
              padding:1em;
              margin: 2em;
              border:2px solid blue;
              -moz-border-radius:8px;
              -webkit-border-radius:8px;
              border-radius:8px;
              text-align:left;
          }
      
          legend {
              text-align:left;
              font-style: italic;
              color: navy;
              font-weight: bold;
          }
      
          label {
              text-align:left;
              font-style: italic;
          }
          label.only {
              display: block;
              padding-top: 1em;
          }
      
          p.legend {
            margin-top:0em;
            margin-bottom:0px;
            margin-left:2em;
            text-align:left;
            font-style: italic;
            padding:0;
            color: Teal;
          }
      
          .required {
            font-weight: bold;
            text-decoration:
          }
      
          #lg-container {
              display: inline-block;
              position: relative;
              vertical-align: middle;
              width: 360px;
          }
          #lg-container input {
              width:100%
          }
          #lg-container ul {
              left:0 !important;
              right:0 !important;
              max-height:320px;
              overflow-y:auto;
              overflow-x:hidden;
          }
      ```
      
      Execute the following sql statement:
      
      ```sql
      CREATE TABLE `adl_localgroups_events` (
        `localgroup_id` int(11) NOT NULL DEFAULT '0',
        `event_id` int(11) NOT NULL DEFAULT '0',
        `role` varchar(32) DEFAULT NULL
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
      
      ALTER TABLE `adl_localgroups_events`
        ADD PRIMARY KEY (`event_id`,`localgroup_id`),
        ADD KEY `role` (`role`);
      ```
      750aa400