Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • concrexit concrexit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 70
    • Issues 70
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • thaliathalia
  • concrexitconcrexit
  • Merge requests
  • !689

Refactored documents app

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Tom van Bussel requested to merge refactor-documents into master Jan 25, 2018
  • Overview 6
  • Commits 1
  • Changes 20

/label technical change

Closes #268 (closed), #519 (closed)

Short description

Refactored the documents app. I added a base Document model, with AnnualDocument, AssociationDocument, MiscellaneousDocument and Minutes as subclasses. This removes a lot of duplication, e.g. there now is only one function for downloading a document. This also makes it possible to link events and documents in the future, or to do other cool stuff. I also made everything bilingual.

Edited Feb 08, 2018 by Tom van Bussel
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: refactor-documents