* commit 'e976d45dedb978d8e5cf0c5d8d09c77a7154f757': (83 commits)
minor fixes
implemented added filters
added workaround for 'added' field compatible to MongoDB 3.6
implemented x-total-items header
spectrum field working again
reworked filters
added filters
restructured aggregation
implementation of measurement fields
first implementation of fields
base for csv export
switched to aggregation, included material sort keys
sorting for direct sample properties added
added /samples/count
changed last-id behaviour to from-id
implemented paging
fixed validation to return measurements in /sample/{id}
added status filter for materials
added status filter
cleaned TODOS
...
* commit '3dda3d77a13f84a40f8132f49f4ad704f2810a75':
minor fixes
implemented added filters
added workaround for 'added' field compatible to MongoDB 3.6
implemented x-total-items header
spectrum field working again
reworked filters
added filters
restructured aggregation
implementation of measurement fields
first implementation of fields
base for csv export
switched to aggregation, included material sort keys
sorting for direct sample properties added
added /samples/count
changed last-id behaviour to from-id
implemented paging
fixed validation to return measurements in /sample/{id}
added status filter for materials
added status filter
* commit '99be1798d0a3c90d297df210e9f15fd877b4508f':
cleaned TODOS
implemented changelog
only allowed latest template version and allowed admin to set sample number
introduced first_id to reference new template versions to original
forbid condition_template as parameter name for template
validation for material
validation for sample
validation for measurement
made GET /sample/{id} work with new material model
separated groups and suppliers for material PUT and POST
separated groups and suppliers for material GET
* commit '8276e5108c86e92739ffd830b056a3884ce35cf3':
/api/ subroutes only available in dev/test
implemented code coverage
adapted /measurements to use sample_id
adapted existing /sample methods to condition, removed /condition route
* commit 'aef275322955774e0c34c69ce3c4e7722aadcb9e':
added TODOs, improved password validation
refactored user.ts
/materials/new|deleted
sample number generation
number prefixes are now not allowed to contain numbers
material numbers defined as string, colors without numbers and numbers with leading zeros can be added
material numbers defined as string, colors without numbers can be added
number generation for condition done
changed allowed characters for username