Commit Graph

60 Commits

Author SHA1 Message Date
Oliver Walters
b56a1ade24 Make translation compilation a separate step
- Must be run after a translation file is updated
2019-09-26 10:21:14 +10:00
Oliver Walters
fcb47fce09 Make gettext a prerequisite rather than polluting the make file with apt commands that require sudo 2019-09-26 10:16:45 +10:00
Oliver Walters
0ae2fd9246 Update migration script to re-compile translation strings 2019-09-26 09:58:50 +10:00
Oliver Walters
37e9bd8d9b Add install requirement for gettext (required package for creating translation files) 2019-09-26 09:57:09 +10:00
Oliver Walters
70e07470db Custom URL validators for more fields 2019-09-14 00:08:49 +10:00
Oliver Walters
f5d26a83f5 Fixed cwd for .travis.yml 2019-09-10 14:40:29 +10:00
Oliver Walters
4daf1ae8d4 Fixes for migrate target in makefile 2019-09-10 14:18:20 +10:00
Oliver Walters
ee73ea714e Update docs for installing with PostgreSQL
- make target
- documentation
2019-09-09 16:11:26 +10:00
Oliver Walters
da5f2338eb Ensure that required packages are installed when performing update step 2019-09-09 14:14:38 +10:00
Oliver Walters
2c969ef1c6 View for exporting stocktake / stock list
(cherry picked from commit bdad2d6178a14322ef225d08b13db86b6d7d0909)
2019-09-08 20:55:06 +10:00
Oliver Walters
d7f969613e Update makefile and docs 2019-09-08 20:45:01 +10:00
Oliver Walters
35ebc69235 Backup database as part of the migration process 2019-09-08 19:43:10 +10:00
Oliver Walters
654fbc3847 Ensure migrations are always called from the correct directory 2019-09-07 22:41:57 +10:00
Oliver Walters
81f5714cb1 BOM table now displays which lines have been marked as valid 2019-09-05 14:15:58 +10:00
Oliver Walters
7824b8561d Create a currency model 2019-09-03 09:07:03 +10:00
Oliver Walters
7db938eda0 Show the build item on the stock-item page (if applicable) 2019-09-01 23:24:27 +10:00
Oliver Walters
0480925186 Simplify makefile again
- Remove setup target
- Fix travis
2019-09-01 22:54:48 +10:00
Oliver Walters
10ca3b1b93 Remove defunct line 2019-09-01 22:35:21 +10:00
Oliver Walters
d9cc03c5ca Improve installation documentation 2019-09-01 22:16:58 +10:00
Oliver Walters
fae9a92a82 Improvements for makefile
- Comments
- Cleanup
2019-09-01 21:57:17 +10:00
Oliver Walters
32538c8c3d Fixes for doc building
- Separate doc build from doc requirements
- Fix command which doesn't work properly on *nix
2019-09-01 21:46:08 +10:00
Oliver Walters
905c02d86f Copy config template to config file if it does not exist 2019-08-14 12:05:47 +10:00
Oliver Walters
01c6852f96 Add make target to install mysql requirements 2019-08-14 11:23:48 +10:00
Diego Herranz
518fb78077 Makefile: add .PHONY targets
Given all the targets are actions instead of files to be generated,
.PHONY should be used, mainly to avoid a conflict with a file of the same name.

See https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html
2019-08-02 06:45:01 +01:00
Oliver Walters
5ee07eae7c Update installation routine and docs
- Single call of "make install" does everything
- Add backup_dir option to yaml config file
2019-08-01 20:07:06 +10:00
Oliver Walters
08358f6961 Run tests on custom validators 2019-06-17 22:18:00 +10:00
Oliver Walters
faf51c615b Change requirements file to explicity use python3 2019-06-10 23:23:25 +10:00
Oliver Walters
54b1ccd585 Allow blank PO description and add URL field 2019-06-04 22:26:19 +10:00
Oliver Walters
a03027ec9b Add makefile option for quick backup 2019-05-07 07:46:29 +10:00
Oliver Walters
2108ee2eb7 Update makefile 2019-04-28 08:42:17 +10:00
Oliver Walters
53ec42af03 Generate documentation from makefile
- Had to change 'docs' to 'documentation' to prevent directory clash
2019-04-27 17:22:23 +10:00
Oliver Walters
0cec12085d Renamed key.py to keygen.py 2019-04-27 17:03:37 +10:00
Oliver Walters
66cf8239fc Add initial requirements for documentation 2019-04-27 15:44:46 +10:00
Oliver Walters
906353eb52 Remove makefile comment which breaks make on windows 2019-04-26 21:25:40 +10:00
Oliver
cece28fc50
Merge pull request #151 from SchrodingersGat/flake
Moved flake settings to setup.cfg
2019-04-25 21:28:51 +10:00
Oliver Walters
c6b5177f5c Cleanup requirements file 2019-04-25 21:04:33 +10:00
Oliver Walters
f9a54af9b1 Moved flake settings to setup.cfg 2019-04-25 20:59:41 +10:00
Oliver Walters
3c40418f04 100% coverage on company/models.py 2019-04-25 04:20:40 +10:00
Oliver
19001b98f7
Merge pull request #149 from SchrodingersGat/get_absolute_url
Get absolute url
2019-04-25 13:40:10 +10:00
Oliver Walters
6625d89eb2 Remove references to apps that don't yet exist 2019-04-25 03:34:56 +10:00
Oliver Walters
b45b63545e Improved makefile
- Separate make for coverage of testing
- the 'test' option needs some work (have to pass all app names for some reason)
2019-04-25 03:12:41 +10:00
Oliver Walters
3827806603 SECRET_KEY is now generated by a script and stored as a local file
- key file ignored from git
2019-04-24 16:01:47 +10:00
Oliver Walters
fa46f14f5d Run coveralls step after success 2019-04-24 15:32:50 +10:00
Oliver Walters
aca78e9d94 Add requirement for coverage module 2019-04-24 15:14:20 +10:00
Oliver Walters
1ef81ecf2e Ignore some rules 2019-04-14 09:39:01 +10:00
Oliver
08ed128bea PEP style fixes 2018-04-23 21:18:35 +10:00
Oliver
4bedf0ed4c Finally got migrations working together 2018-04-22 21:54:12 +10:00
Oliver
cef3c664f9 Moving 'supplier' to 'company' 2018-04-19 09:01:25 +10:00
Oliver
433f670e1c Removed 'customer' app 2018-04-19 09:01:17 +10:00
Oliver
8856d7f793 Renamed 'customer-order' app to 'customer'
- This app should manage more than just orders
- Moved the 'Customer' model into this app
2018-04-17 23:39:53 +10:00