Commit graph

2059 commits

Author SHA1 Message Date
gregoirenovel
6a13e481fd Fix the declaration order 2017-04-19 17:05:57 +02:00
gregoirenovel
0ed13c9fe7 Remove duplicated properties 2017-04-19 17:05:56 +02:00
gregoirenovel
c5fc77b606 Change the comments style 2017-04-19 17:05:56 +02:00
gregoirenovel
bb02339183 Use border: none instead of border: 0 2017-04-19 17:05:56 +02:00
gregoirenovel
db331447e1 Use hex codes for colors 2017-04-19 17:05:55 +02:00
gregoirenovel
0f914ce77d Merge pull request #59 from sgmap/mandatory_attachment
Mandatory attachment
2017-04-19 17:05:23 +02:00
Simon Lehericey
ce4a23ec7f MandatoryAttachment: show * near mandatory attachment 2017-04-19 15:45:45 +02:00
Simon Lehericey
2b969ef575 MandatoryAttachment: group missing errors logic together
and show errors only if not draft
2017-04-19 15:45:45 +02:00
gregoirenovel
6c7ed9d04a Merge pull request #119 from sgmap/cleanup
Cleanup
2017-04-19 12:01:30 +02:00
gregoirenovel
b00eb914da Use case statements instead of if statements where appropriated 2017-04-19 11:57:49 +02:00
gregoirenovel
9071656b55 Use #each instead of #map where appropriated 2017-04-19 11:57:49 +02:00
LeSim
a309f07771 Merge pull request #120 from sgmap/typography-fixes
Typography fixes
2017-04-19 11:56:34 +02:00
gregoirenovel
ddf02ccd6d Use a non-breaking space after the “numéro” contraction 2017-04-19 11:19:53 +02:00
gregoirenovel
aa41349f0c Lowercase the “n” of “numéro” contraction where needed 2017-04-19 11:19:53 +02:00
gregoirenovel
ba4ee68019 Use masculine ordinal indicator instead of the degree sign
It’s the right way to contract “numéro”

We should use the superscript lowercase o but
it’s hard to do in places where only raw text is
available
2017-04-19 11:19:53 +02:00
LeSim
42866fdcde Merge pull request #116 from sgmap/description_controller_refactor
Description controller refactor
2017-04-19 10:57:03 +02:00
Simon Lehericey
4cd21580fb DescriptionController: move html_safe to the view
html_safe could not work upon redirection as stated here :
https://groups.google.com/forum/#!topic/rubyonrails-core/z52zgDgUmbs
2017-04-19 10:52:04 +02:00
Simon Lehericey
eb3bb63a8f DescriptionController: remove useless @champs 2017-04-19 10:52:04 +02:00
Simon Lehericey
866a54085c DescriptionController: cosmetic 2017-04-19 10:52:04 +02:00
Simon Lehericey
157d1818b2 DescriptionController: move instance var to local var 2017-04-19 10:52:04 +02:00
gregoirenovel
b36252b916 Merge pull request #117 from sgmap/pieces_justificatives_improvements
Pieces justificatives improvements
2017-04-19 10:30:40 +02:00
Simon Lehericey
71542f6a3a PiecesJustificativesService: more explicit selection of content 2017-04-19 10:24:08 +02:00
Simon Lehericey
21d7a96062 PiecesJustificativesService: less violent error message in case of virus 2017-04-19 10:22:30 +02:00
Simon Lehericey
395c9d5bb1 PiecesJustificativesService: improve error message when the file cannot be saved 2017-04-19 10:20:32 +02:00
Simon Lehericey
e0828dda13 PiecesJustificativesService: save_pj returns nil if no errors 2017-04-19 10:16:30 +02:00
LeSim
c103e55579 Merge pull request #115 from sgmap/french_datetime
Commentaire: use fr local to display date
2017-04-19 10:10:57 +02:00
Simon Lehericey
8e7e7a8ab4 Stats Index: remove useless locale 2017-04-19 10:06:22 +02:00
Simon Lehericey
4c74b04a91 Commentaire: use fr local to display date 2017-04-19 10:06:22 +02:00
LeSim
030bdc86d6 Merge pull request #82 from sgmap/pieces_justificatives_refactor
Pieces justificatives refactor
2017-04-18 18:07:11 +02:00
Simon Lehericey
367b7c6ae1 DescriptionController: use common system to redirect with errors 2017-04-18 17:48:03 +02:00
Simon Lehericey
591ed2037e PiecesJustificativesServices: refactor upload_one! 2017-04-18 17:48:03 +02:00
Simon Lehericey
03e9cd523e PiecesJustificativesService: mandatory pj check and add test 2017-04-18 17:48:03 +02:00
Simon Lehericey
e49ea2d0e0 PiecesJustificative: add field to set it mandatory
small css to align the fields
2017-04-18 17:48:03 +02:00
Simon Lehericey
a907b9c062 Migration: add mandatory column to type de piece justificative 2017-04-18 17:48:03 +02:00
gregoirenovel
955552b0d2 Merge pull request #111 from sgmap/french-format
French format
2017-04-18 14:35:15 +02:00
gregoirenovel
3abbb0bdcd Use french formatting for numbers on the Stats page 2017-04-18 14:34:56 +02:00
gregoirenovel
858109c64b Add the complete french number part of fr.yml 2017-04-18 14:34:56 +02:00
gregoirenovel
be50c48eae Merge pull request #113 from sgmap/favicon
[Fix #112] Add favicons
2017-04-18 14:34:02 +02:00
gregoirenovel
21ff863dab [Fix #112] Add favicons 2017-04-17 19:32:26 +02:00
gregoirenovel
ca2d7038d4 Merge pull request #108 from sgmap/remove_tps_v2_in_deploy
Remove tps_v2 reference in deploy script
2017-04-17 09:43:51 +02:00
Mathieu Magnin
cc36ec49e2 Remove tps_v2 reference in deploy script 2017-04-14 16:14:17 +02:00
gregoirenovel
b5b2bd7b9f Merge pull request #100 from sgmap/add_individual_infos_to_csv
Add individual infos to flat table export serializer
2017-04-13 16:58:53 +02:00
Mathieu Magnin
1612b60126 Remove useless code 2017-04-13 16:54:00 +02:00
Mathieu Magnin
320d5da40f Add individual infos to flat table export serializer 2017-04-13 16:54:00 +02:00
Mathieu Magnin
f5e8631b71 Merge pull request #94 from sgmap/fix-test
Order types_de_piece_justificative on Procedure
2017-04-13 15:06:56 +02:00
gregoirenovel
d531b02bc5 Order types_de_piece_justificative on Procedure
So that /spec/controllers/api/v1/
dossiers_controller_spec.rb#L163-L179 (on commit
8852431 for example) does not randomly fail due
to unordered types_de_piece_justificative
2017-04-13 14:48:18 +02:00
Mathieu Magnin
3e41c648a2 Merge pull request #95 from sgmap/auto-deploy-master
[Fix #93] Auto-deploy master after it has built
2017-04-13 14:13:43 +02:00
gregoirenovel
142ca444d3 [Fix #93] Auto-deploy master after it has built 2017-04-13 11:55:43 +02:00
gregoirenovel
8852431efe Merge pull request #92 from sgmap/add_ssh_key_to_deploy_with_circleci
Add ssh key to deploy with circleci
2017-04-13 09:50:13 +02:00
Mathieu Magnin
11455ce5bb Add ssh key to deploy with circleci 2017-04-13 09:25:34 +02:00