Commit graph

17179 commits

Author SHA1 Message Date
Pierre de La Morinerie
04a6862fa6 spec: fix application_controller_spec
Rails controllers now looks for `media_type` rather than `content_type`.
2020-07-07 18:03:56 +02:00
Pierre de La Morinerie
0a3b4f7476 specs: fix some test helpers 2020-07-07 18:03:56 +02:00
Pierre de La Morinerie
2261c6c5d2 specs: refactor dossiers_controller_spec 2020-07-07 18:03:56 +02:00
Pierre de La Morinerie
b8706757e3 controllers: disable explicit purge of invalid file 2020-07-07 18:03:56 +02:00
Pierre de La Morinerie
719915e69f attestations: fix test of the logo preview
Now that attaching the logo doesn't save it, we can safely display the
preview without saving the logo first.
2020-07-07 18:03:56 +02:00
Pierre de La Morinerie
35240e2219 lint: fix Rubocop warnings
The Rails/UniqueValidationWithoutIndex rule is disabled for now, but
we'll need to re-enable it (and fix the underlying issues) after the
migration to Rails 6.
2020-07-07 18:03:56 +02:00
Paul Chavard
6cc76cdf05 WIP 2020-07-07 18:03:56 +02:00
Paul Chavard
04feada77e Use respond_to 2020-07-07 18:03:56 +02:00
Paul Chavard
f558b61298 Update schema.rb comment 2020-07-07 18:03:56 +02:00
Paul Chavard
c9ab80c880 WIP 2020-07-07 18:03:56 +02:00
Paul Chavard
13c21d89af Fix attestation_template spec 2020-07-07 18:03:56 +02:00
Paul Chavard
6a24c3f812 Rails app:update 2020-07-07 18:03:56 +02:00
Paul Chavard
fc3aece318 Rails 6 2020-07-07 18:03:56 +02:00
jpoulvel
bb1ae34ffd
Merge pull request #5346 from betagouv/dev
2020-07-07-03
2020-07-07 17:51:32 +02:00
Pierre de La Morinerie
40f78114ad
Merge pull request #5344 from betagouv/fix_instructeur_procedure_path
Instructeur : correction de l'affichage des pages de notification et de statistiques de la démarche
2020-07-07 17:37:20 +02:00
Judith
927a3b3efd fix all instructeur procedure_path into instructeur_procedure_path 2020-07-07 17:11:46 +02:00
Judith
060022df78 fix instructeur_mail_notifications 2020-07-07 17:11:46 +02:00
jpoulvel
90f04124b8
Merge pull request #5343 from betagouv/dev
2020-07-07-02
2020-07-07 17:03:48 +02:00
Pierre de La Morinerie
448df0ae5f
Merge pull request #5341 from betagouv/fix_apercu
Administrateur : correction d'une erreur sur la page "Nouvelle démarche"
2020-07-07 16:52:21 +02:00
Judith
2adb854bf8 new_from_existing : added new route for 'Consulter' 2020-07-07 14:51:08 +00:00
jpoulvel
acdf059139
Merge pull request #5340 from betagouv/dev
2020-07-07-01
2020-07-07 16:25:07 +02:00
jpoulvel
192a2e795d
Merge pull request #5327 from betagouv/new_url_for_new_administrateur
Nettoyage des routes /admin
2020-07-07 16:15:47 +02:00
Judith
9793128f61 'Services' routes moved under 'new_administrateur' scope and '/admn' added in their url 2020-07-07 14:08:01 +00:00
Judith
782706537d Changed the routes to pass all new design admin pages under
'new_administrateur' scope, except 'services'.
As a result, the url of these pages will all include '/admin'.
2020-07-07 14:08:01 +00:00
Pierre de La Morinerie
9a89b3d2f0
Merge pull request #5336 from betagouv/tabs-more-visible
Amélioration de la visibilité des onglets de l'interface
2020-07-07 11:15:08 +02:00
Pierre de La Morinerie
f5f7a47de3 stylesheet: make the selected tab more visible
Tabs are notoriously hard to notice. Make them stand out more.
2020-07-07 11:02:15 +02:00
Pierre de La Morinerie
38bc85d8d4
Merge pull request #5335 from betagouv/fix-disclosure-indicator
Usager : le triangle à côté de la date de clôture de la démarche est maintenant correctement masqué
2020-07-07 10:37:24 +02:00
Pierre de La Morinerie
c3b648f975 stylesheets: hide summary details marker on procedure summary
Chrome needs a specific syntax, but other browsers use the standard way.

See developer.mozilla.org/fr/docs/Web/HTML/Element/details#Personnaliser_le_marqueur_de_r%C3%A9v%C3%A9lation
2020-07-07 10:20:01 +02:00
Pierre de La Morinerie
b6fbf9bd4b gems: update scss_lint
Fix false-positive on pseudo-elements.
2020-07-07 10:20:01 +02:00
Keirua
6c841cba12
Merge pull request #5338 from betagouv/fix-bill-dashboard
Fix broken bill dashboard page
2020-07-07 10:17:48 +02:00
clemkeirua
90efbe66a9 define SHOW_PAGE_ATTRIBUTES for bill dashboard 2020-07-07 08:06:37 +00:00
Keirua
11b9847a33
Merge pull request #5337 from betagouv/fix-broken-empty-demandes-screen
fix demandes adapter when no demandes
2020-07-07 10:04:41 +02:00
clemkeirua
d5c955080b fix demandes adapter when no demandes 2020-07-07 09:24:23 +02:00
Pierre de La Morinerie
b5ce7e5324
Merge pull request #5334 from betagouv/improve-synthese-badges
Instructeur : amélioration de l'apparence des badges de synthèse des dossiers
2020-07-06 17:56:11 +02:00
Pierre de La Morinerie
5f1d38a555 stylesheets: improve procedure synthese badges
- Align with baseline
- More padding
- More margin
- Use constants for colors and margins
2020-07-06 15:11:45 +02:00
Pierre de La Morinerie
71c59c1085
Merge pull request #5332 from betagouv/dev 2020-07-06 12:12:09 +02:00
Pierre de La Morinerie
612c826d04
Merge pull request #5331 from betagouv/fix-numbers-rendering
Correction des exports PDF des dossiers, dans le cas où l'effectif mensuel était présent
2020-07-06 11:52:12 +02:00
Pierre de La Morinerie
975d1648d5 dossier: fix PDF rendering of effectif_mensuel
The effectif_mensuel was a number, it needs to be converted explicitely
into a string.

As a bonus, `nil.to_s` is `""`, so we can remove the special case for
nil.
2020-07-06 11:41:25 +02:00
Pierre de La Morinerie
060bf1f9ca factories: flesh out the default etablissement for a dossier 2020-07-06 11:41:25 +02:00
Pierre de La Morinerie
a78c0441d6
Merge pull request #5328 from betagouv/fix-select-width
Usager : correction de la largeur maximale des menus déroulants
2020-07-06 10:59:30 +02:00
Pierre de La Morinerie
a810daeb0c stylesheets: fix with of large select elements
Select elements with very long options would overflow the form
width, and create a disgraceful scroller bar on the bottom of the
screen.
2020-07-06 10:55:34 +02:00
Pierre de La Morinerie
fb012fc447
Merge pull request #5324 from betagouv/5189-ie-11-eol
La date de fin de support d'Internet Explorer 11 (le 31 janvier 2021) est annoncée dans le bandeau de dépréciation
2020-07-06 10:55:24 +02:00
clemkeirua
ca74ae5a5e ajout d'une bannière de dépréciation pour IE11 2020-07-06 10:01:02 +02:00
Pierre de La Morinerie
84bd3879c2
Merge pull request #5329 from betagouv/dev 2020-07-02 16:16:19 +02:00
Pierre de La Morinerie
440f8d6b71
Merge pull request #5325 from maatinito/issue/dossier_pdf_layout
5325 : meilleure présentation pour les dossiers exportés en PDF
2020-07-02 14:08:51 +02:00
maatinito
1c29e903da pdf dossier: better layout for etablissement fields 2020-07-02 13:53:36 +02:00
Keirua
b96b842d1f
Merge pull request #5312 from myriamzbyt/fix_5300_instructeur_tableau_synthese_dossiers
Fix 5300 instructeur tableau synthese dossiers
2020-07-02 11:25:02 +02:00
Myriam
0f542527fb Instructeur : add overview table with counts for files
- changement du design
- tableau visible seulement si plus d'une procédure
2020-07-02 09:02:49 +00:00
Myriam
a486fe9a2e Instructeur : add overview table with counts for files
nombre total de dossier :
- 'à suivre'
- 'suivi'
- 'traité'
- 'dossier'
- 'archivé'
2020-07-02 09:02:49 +00:00
Pierre de La Morinerie
83d230f8b4
Merge pull request #5323 from betagouv/dev 2020-07-01 16:17:27 +02:00