Segnalazione #107
Segnalazione #76: App user
Utenti: importazione da file CSV
100%
Description
Importazione di utenti da file CSV, dove si forniscono gli estremi di parsing e la definizione delle colonne.
ALlego screenshot di applicazione gtk+
Files
Associated revisions
Redone with jQuery UI. refs: #107
Use <th> to declare fields, preview csv contents. refs: #107
Add extra padding <th> for extra columns in the CSV. refs: #107
Applied feedback from Lynoure. refs: #107
Sync with master. refs: #107
Added interaction modules to jquery-ui. refs: #107
Use a callback to create padding THs. refs: #107
Make the table headers sortable. refs: #107
Implemented drag/drop and swap of items on drop. refs: #107
Highlight columns with classes. refs: #107
Highlight while dragging, and allow to drop where one started. refs: #107
Implemented striking over leading lines to be ignored. refs: #107
More table coloring examples. refs: #107
Implemented generation of parsed data. refs: #107
Added trigger to notify when there is data. refs: #107
Better validator for integers. refs: #107
Implemented initial field autodetect. refs: #107
Do not try to read whole files for a preview. refs: #107
Tell papaparse to stop parsing at self.options.preview_rows. refs: #107
Made a couple of method names more descriptive. refs: #107
Refactored without using jQuery UI interactions. refs: #107
Add options.drag_source_class to the element being dragged. refs: #107
Finalize dragging on dragend instead of drop, to deal well with dropping outside the intende targets. refs: #107
Allow to drop on the whole of table columns. refs: #107
Removed debugging prints. refs: #107
Export all the information gathered by the plugin. refs: #107
Renamed field.index to field.column and added a sample server-side implementation. refs: #107
Also add first_row to the form. refs: #107
Allow to unassign and reassign fields. refs: #107
Trigger changed event when unassigning columns. refs: #107
Removed debugging print. refs: #107
Sync with master. refs: #107
Added interaction modules to jquery-ui. refs: #107
Use a callback to create padding THs. refs: #107
Make the table headers sortable. refs: #107
Implemented drag/drop and swap of items on drop. refs: #107
Highlight columns with classes. refs: #107
Highlight while dragging, and allow to drop where one started. refs: #107
Implemented striking over leading lines to be ignored. refs: #107
More table coloring examples. refs: #107
Implemented generation of parsed data. refs: #107
Added trigger to notify when there is data. refs: #107
Better validator for integers. refs: #107
Implemented initial field autodetect. refs: #107
Do not try to read whole files for a preview. refs: #107
Tell papaparse to stop parsing at self.options.preview_rows. refs: #107
Made a couple of method names more descriptive. refs: #107
Refactored without using jQuery UI interactions. refs: #107
Add options.drag_source_class to the element being dragged. refs: #107
Finalize dragging on dragend instead of drop, to deal well with dropping outside the intende targets. refs: #107
Allow to drop on the whole of table columns. refs: #107
Removed debugging prints. refs: #107
Export all the information gathered by the plugin. refs: #107
Renamed field.index to field.column and added a sample server-side implementation. refs: #107
Also add first_row to the form. refs: #107
Allow to unassign and reassign fields. refs: #107
Trigger changed event when unassigning columns. refs: #107
Removed debugging print. refs: #107
Added csv import form. refs: #107
Styled a bit, thanks to Christopher. refs: #107
Deal with CSVs with a small number of rows and/or columns. refs: #107
Implemented parsing and validation of CSV server-side. refs: #107
Import users. refs: #107
Removed test CSV import. refs: #107
Removed another test piece. refs: #107
Implemented CSV import. Fixes #107
Implemented CSV import. Fixes #107
History
Updated by Christopher R. Gabriel about 8 years ago
- Assignee set to Enrico Zini
Come discusso:
- creiamo singola libreria javascript che legge il file
- questa viene usata nei template che forniranno la mappa dei campi interessanti e la url della vista che ricevera' i dati
- il javascript chiedera' i dettagli del csv (comma o semicolon separated, etc) e mostrera' una anteprima del parsing
- sempre il javascript chiedera' il mapping tra i campi del csv e quelli indicati come richiesti.
http://mounirmesselmeni.github.io/2012/11/20/reading-csv-file-with-javascript-and-html5-file-api/
Updated by Anonymous about 8 years ago
- Status changed from Nuovo to Risolto
- % Done changed from 0 to 100
Applicata nel changeset 589024926f49446c5375c1d38aa1a8f03be47a27.
Added javascript dependencies and initial test page. refs: #107