Commit Graph

1474 Commits

Author SHA1 Message Date
Thomas Citharel
0951a89c33 Merge branch 'patch-1' into 'master'
Update INSTALL.md: typo

See merge request framasoft/framadate!230
2018-03-02 12:03:22 +01:00
Thomas Citharel
678070af8f Merge branch 'patch-2' into 'master'
fix fork url, update urls from git.framasoft.org to framagit.org (avoid the redirection)

See merge request framasoft/framadate!231
2018-03-02 12:03:01 +01:00
Fla
fdbded4310 Update README.md: fix fork url, update urls from git.framasoft.org to framagit.org (avoid the redirection) 2018-03-01 22:52:39 +01:00
Fla
847dcf2b92 Update INSTALL.md: typo 2018-03-01 22:48:59 +01:00
Luc Didry
c4ec2bbc41 Fix $_SERVER['SERVER_PORT'] handling
While installing Framadate on Apache, but proxyfied by an Nginx,
$_SERVER['SERVER_PORT'] failed to be correctly handled.

$_SERVER['SERVER_PORT'] is then a string and not an integer, so it was
added in the response of get_server_name() function, breaking all the
css/js links.

I don't know if there is other situations where the bug appears.

Schema of the installation:

Nginx (443) -> Apache2 (80) + Framadate

Please note that using port 80 on Nginx worked.
2018-02-28 17:09:16 +01:00
Luc Didry
ee807db380 [Zanata] Add push-locales to CI for branch develop 2018-02-28 09:43:53 +01:00
Luc Didry
3637e052d5 [Zanata] Add script to update zanata for one locale
ex: ./push-trad-to-zanata.sh fr_FR
2018-02-27 17:39:46 +01:00
Luc Didry
f340fbe046 Update json locale files (fetched from Zanata) 2018-02-27 17:12:25 +01:00
Luc Didry
6839065ece [Zanata] Fix bugs in po to nested json toolchain 2018-02-27 17:12:25 +01:00
Luc Didry
1c8e0061b5 [Zanata] Prettyfying locales json files
In order to compare actual json files to zanata-backed files, we need to
sort the keys and have a 3-spaces indent.

This is done with jq:

cd locale/
mkdir tmp/
for i in *.json; do jq --indent 3 -S -M '.' < $i > tmp/$i ; done
mv tmp/* .
rmdir tmp
2018-02-27 17:12:15 +01:00
Thomas Citharel
c5b50050c9 Merge branch 'zanata-integration' into 'develop'
Zanata integration (https://trad.framasoft.org)

See merge request framasoft/framadate!227
2018-02-26 17:29:00 +01:00
Luc Didry
2907a20c9f Update README for zanata integration 2018-02-26 14:36:31 +01:00
Luc Didry
15b173569d Zanata integration (https://trad.framasoft.org)
1. Install zanata-cli on your computer
(https://zanata.readthedocs.io/en/latest/client/installation/linux-installation/)
2. Configure zanata-cli
(https://zanata.readthedocs.io/en/latest/client/configuration/)
3. Do your stuff, add your new strings to locale/en.json only
4. Push the new locales: make push-locales
5. Translate on https://trad.framasoft.org
6. Pull the new locales: make pull-locales (requires the Perl module
JSON, provided by libjson-perl on Debian)
7. Commit and enjoy
2018-02-26 14:32:17 +01:00
Thomas Citharel
87b89bc609 Merge branch 'trad-de' into 'develop'
Translate missing italian strings

See merge request framasoft/framadate!226
2018-02-21 12:10:41 +01:00
Tubia
1d89074965 Translate missing italian strings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-21 12:08:57 +01:00
Thomas Citharel
32ffa5f3e3 Merge branch 'trad-de' into 'develop'
German translation

See merge request framasoft/framadate!225
2018-02-21 11:53:06 +01:00
Lukas Müller
710304c183 German translation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-21 11:44:44 +01:00
Thomas Citharel
991088119f typo on CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-21 11:36:27 +01:00
Thomas Citharel
872e30939c Merge branch 'fix-version-check' into 'develop'
Fix php version check

See merge request framasoft/framadate!223
2018-02-21 11:24:10 +01:00
Thomas Citharel
755cd18d1a Fix php version check
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-21 11:17:55 +01:00
Simon LEBLANC
8720595874 Allow setting SMTP config
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-21 11:07:11 +01:00
Thomas Citharel
7e12443bc2 Merge branch 'develop' into funky 2018-02-20 19:40:51 +01:00
Thomas Citharel
01dc23125a Merge branch 'merge-develop' into 'master'
Merge develop

Closes #205 and #190

See merge request framasoft/framadate!222
2018-02-20 19:31:26 +01:00
Thomas Citharel
77f05b1c21 fix issue with check for maxValue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-20 19:29:56 +01:00
Thomas Citharel
bf753480dd fix ui stuff
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-20 19:29:40 +01:00
Thomas Citharel
801bc08a81 Merge branch 'develop' 2018-02-20 19:05:24 +01:00
Thomas Citharel
e6ed712123 Merge branch 'update-jquery' into 'master'
Update jquery

Closes #254

See merge request framasoft/framadate!221
2018-02-20 18:06:47 +01:00
Thomas Citharel
bd931676ae update bootstrap
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-20 18:00:43 +01:00
Thomas Citharel
d106d3ba41 update jquery
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-20 18:00:27 +01:00
Thomas Citharel
d9f50e8706 Merge branch 'cookies-http-only' into 'master'
Add a check at install to suggest setting session.cookie_httponly inside php.ini

See merge request framasoft/framadate!220
2018-02-20 17:46:36 +01:00
Thomas Citharel
1de98223db Add a check at install to suggest setting session.cookie_httponly inside php.ini
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-20 17:44:08 +01:00
Thomas Citharel
2328b2c871 Merge branch 'css-results-poll-responsive' into 'master'
Css results poll responsive

See merge request framasoft/framadate!219
2018-02-20 17:14:13 +01:00
Marjolaine Vé
c350a7a012 Changement de le·a en le ou la 2018-02-20 17:04:11 +01:00
Marjolaine Vé
f11fd8c541 [FR] Ecriture inclusive 2018-02-20 17:04:11 +01:00
Marjolaine Vé
4bbbaf19ed [Responsive] Buttons not too long 2018-02-20 17:04:11 +01:00
Marjolaine Vé
efda4e97b0 [Responsive] List of polls for admins with scrollbar 2018-02-20 17:04:11 +01:00
Marjolaine Vé
b29bbb5c9a Create a button for "Back to administration" link 2018-02-20 17:04:11 +01:00
Marjolaine Vé
02fdf05786 Change place of arrows on poll results 2018-02-20 17:04:11 +01:00
Marjolaine Vé
4e2a48685a Add space between language select and h1 2018-02-20 17:04:11 +01:00
Marjolaine Vé
27f4c1045a Allow buttons to be on many lines 2018-02-20 17:04:11 +01:00
Marjolaine Vé
ea575522a9 Add viewport to test responsive online 2018-02-20 17:04:11 +01:00
Thomas Citharel
6e1386fa4d Merge branch 'limit-number-of-participants' into 'master'
Limit number of participants

Closes #238

See merge request framasoft/framadate!218
2018-02-20 16:52:32 +01:00
Thomas Citharel
a442cc5ee7 CS
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-20 16:50:14 +01:00
Thomas Citharel
ff47a21ac2 Check that conditions on valueMax are acceptable before adding the vote
Handles people voting when the answers valueMax has been reached by someone else in the background

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-20 16:47:10 +01:00
Thomas Citharel
76b19ee9ba fix votes wrongly calculated because of type check
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-20 15:17:14 +01:00
Thomas Citharel
2d39a83a7f rebase and run php-cs-fixer
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-20 14:15:18 +01:00
Erwan TERTRAIS
64ff414900 ValueMax : limit the number of voters per option
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-20 14:15:18 +01:00
Thomas Citharel
2a01afe4b8 Merge branch 'fix-edit-vote-button-pos' into 'master'
Fix edit vote button pos

Closes #69

See merge request framasoft/framadate!217
2018-02-20 14:11:19 +01:00
Thomas Citharel
70f296377f Move some style to css files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-20 12:42:27 +01:00
Erwan TERTRAIS
95c4737953 edit button classic poll 2018-02-20 12:09:56 +01:00