Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
55544e5
chore(csf_tz): remove Trip Sheet, Trip Sheet References, and Trip She…
Emmafidelis Apr 19, 2026
6776dad
chore(csf_tz): remove vehicle sync and consignment doctypes
Emmafidelis Apr 19, 2026
32e4ccf
chore(csf_tz): remove Employee OT Component and Salary Slip OT Component
Emmafidelis Apr 20, 2026
e148687
chore(parking_bill): remove parking bill doctype
Emmafidelis Apr 20, 2026
bbaa0f7
chore(piecework): remove piecework with its configurations
Emmafidelis Apr 20, 2026
699d3b5
chore(feedback_form): remove feedback form doctype and its configurat…
Emmafidelis Apr 20, 2026
7eb85ba
chore(csf_tz): remove authotp doctype and its configurations
Emmafidelis Apr 20, 2026
71e2963
chore(csf_tz): remove expense record and type doctype
Emmafidelis Apr 21, 2026
efc3216
refactor(csf_tz): remove email salary slip and scheduled report doct…
Emmafidelis Apr 21, 2026
7a03426
refactor(csf_tz): remove inter company transfer doctypes
Emmafidelis Apr 21, 2026
7365e80
refactor(csf_tz): remove delivery exchange doctypes
Emmafidelis Apr 21, 2026
0f99394
refactor(csf_tz): remove price change and dynamic price list features
Emmafidelis Apr 22, 2026
f7e43d2
refactor(csf_tz): remove financial and trade reports
Emmafidelis Apr 22, 2026
a199068
refactor(csf_tz): remove print formats moved to av_tools app
Emmafidelis Apr 24, 2026
e4aea43
refactor(csf_tz): remove maintenance request, file attachment, and do…
Emmafidelis Apr 24, 2026
1416098
refactor(csf_tz): remove root-cause and misc doctypes moved to av_tools
Emmafidelis Apr 24, 2026
e432758
refactor(csf_tz): remove Custom DocPerm dependent auto-permission fea…
Emmafidelis Apr 24, 2026
4037c99
chore(csf_tz): add ci, linter, and release workflows
Emmafidelis Apr 24, 2026
0d5f644
Merge pull request #1 from Emmafidelis/remove-parking-bill
Emmafidelis Apr 26, 2026
c92ff46
Merge pull request #2 from Emmafidelis/remove-email_salary_slips
Emmafidelis Apr 26, 2026
2b51346
Merge pull request #3 from Emmafidelis/remove_inter_company
Emmafidelis Apr 26, 2026
1c76f7d
Merge pull request #4 from Emmafidelis/remove_print_formats
Emmafidelis Apr 26, 2026
f34edc7
Merge pull request #5 from Emmafidelis/remove_financial_reports
Emmafidelis Apr 26, 2026
e29a27b
Merge pull request #6 from Emmafidelis/remove_expense_record
Emmafidelis Apr 26, 2026
d77f0f2
Merge branch 'main' into remove_delivery_exchange
Emmafidelis Apr 26, 2026
a8f1198
Merge pull request #7 from Emmafidelis/remove_delivery_exchange
Emmafidelis Apr 26, 2026
2123ae3
Merge branch 'main' into remove_authotp
Emmafidelis Apr 26, 2026
7cb8337
Merge pull request #8 from Emmafidelis/remove_authotp
Emmafidelis Apr 26, 2026
0ae33ee
Merge pull request #9 from Emmafidelis/chore/add-csf-tz-github-workflows
Emmafidelis Apr 26, 2026
d68f9cd
Merge pull request #10 from Emmafidelis/chore/feedback-form
Emmafidelis Apr 26, 2026
7f8dfd1
Merge branch 'main' into chore/remove-ot-component-doctypes
Emmafidelis Apr 26, 2026
6d0474d
Merge pull request #11 from Emmafidelis/chore/remove-ot-component-doc…
Emmafidelis Apr 26, 2026
4dc7201
Merge branch 'main' into chore/remove-piecework
Emmafidelis Apr 26, 2026
9e569cf
Merge pull request #12 from Emmafidelis/chore/remove-piecework
Emmafidelis Apr 26, 2026
89321be
Merge pull request #13 from Emmafidelis/chore/remove-trip-sheet-doctypes
Emmafidelis Apr 26, 2026
9fd6f9a
Merge branch 'main' into chore/remove-vehicle-doctypes
Emmafidelis Apr 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
106 changes: 106 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@

name: CI

on:
push:
branches:
- develop
pull_request:

concurrency:
group: develop-csf_tz-${{ github.event.number }}
cancel-in-progress: true

jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
name: Server

services:
redis-cache:
image: redis:alpine
ports:
- 13000:6379
redis-queue:
image: redis:alpine
ports:
- 11000:6379
mariadb:
image: mariadb:10.6
env:
MYSQL_ROOT_PASSWORD: root
ports:
- 3306:3306
options: --health-cmd="mariadb-admin ping" --health-interval=5s --health-timeout=2s --health-retries=3

steps:
- name: Clone
uses: actions/checkout@v3

- name: Find tests
run: |
echo "Finding tests"
grep -rn "def test" > /dev/null

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
check-latest: true

- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt', '**/pyproject.toml', '**/setup.py', '**/setup.cfg') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: 'echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT'

- uses: actions/cache@v4
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- name: Install MariaDB Client
run: sudo apt-get install mariadb-client-10.6

- name: Setup
run: |
pip install frappe-bench
bench init --skip-redis-config-generation --skip-assets --python "$(which python)" ~/frappe-bench
mariadb --host 127.0.0.1 --port 3306 -u root -proot -e "SET GLOBAL character_set_server = 'utf8mb4'"
mariadb --host 127.0.0.1 --port 3306 -u root -proot -e "SET GLOBAL collation_server = 'utf8mb4_unicode_ci'"

- name: Install
working-directory: /home/runner/frappe-bench
run: |
bench get-app csf_tz $GITHUB_WORKSPACE
bench setup requirements --dev
bench new-site --db-root-password root --admin-password admin test_site
bench --site test_site install-app csf_tz
bench build
env:
CI: 'Yes'

- name: Run Tests
working-directory: /home/runner/frappe-bench
run: |
bench --site test_site set-config allow_tests true
bench --site test_site run-tests --app csf_tz
env:
TYPE: server
61 changes: 61 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@

name: Linters

on:
pull_request:
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
linter:
name: 'Frappe Linter'
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: pip
- uses: pre-commit/action@v3.0.0

Check warning on line 27 in .github/workflows/linter.yml

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

.github/workflows/linter.yml#L27

An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release.

- name: Download Semgrep rules
run: git clone --depth 1 https://github.com/frappe/semgrep-rules.git frappe-semgrep-rules

- name: Run Semgrep rules
run: |
pip install semgrep
semgrep ci --config ./frappe-semgrep-rules/rules --config r/python.lang.correctness

deps-vulnerable-check:
name: 'Vulnerable Dependency Check'
runs-on: ubuntu-latest

steps:
- uses: actions/setup-python@v5
with:
python-version: '3.10'

- uses: actions/checkout@v4

- name: Cache pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt', '**/pyproject.toml', '**/setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-

- name: Install and run pip-audit
run: |
pip install pip-audit
cd ${GITHUB_WORKSPACE}
pip-audit --desc on .
53 changes: 53 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Release

on:
push:
tags:
- "v*"
workflow_dispatch:

permissions:
contents: write

concurrency:
group: release-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Build package
run: |
python -m pip install --upgrade pip build
python -m build

- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: csf_tz-dist
path: dist/*

publish-release:
if: startsWith(github.ref, 'refs/tags/')
needs: build
runs-on: ubuntu-latest

steps:
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: csf_tz-dist
path: dist

- name: Publish GitHub release
uses: softprops/action-gh-release@v2

Check warning on line 51 in .github/workflows/release.yml

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

.github/workflows/release.yml#L51

An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release.
with:
files: dist/*
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ This repository contains the customizations and configurations necessary to adap

### **Enhanced Inventory and Stock Management**

* **Stock Management Tools** \- Utilise the Item Barcode Update Tool and Dynamic Price List Assignment for precise inventory control.
* **Stock Management Tools** \- Utilise the Item Barcode Update Tool for precise inventory control.
* **Inter-Company Stock Transfers** \- Simplify stock movements between branches or entities with the Inter Company Stock Transfer feature.
* **Stock Management Tools** \- Utilise the Item Barcode Update Tool and Dynamic Price List Assignment for precise inventory control.

### **Comprehensive Payroll and HR Management**

Expand All @@ -32,7 +33,6 @@ This repository contains the customizations and configurations necessary to adap

### **Document and Record Management**

* **Secure Document Handling** \- Manage document attachments securely with Attachment Type and File Attachment features, ensuring safe storage and retrieval.
* **Visitor and Vehicle Management** \- Efficiently track visitors and manage vehicle-related activities with Visitors Registration Card, Vehicle Fine Record, and Vehicle Service Log.

### **Localised Data and Settings**
Expand All @@ -43,7 +43,6 @@ This repository contains the customizations and configurations necessary to adap
### **Project and Maintenance Management**

* **Project Tracking** \- Manage projects with tools like Mokasi Project, Mokasi Equipment Name, and Mokasi Activity, ideal for project-based businesses.
* **Maintenance Services** \- Track and manage maintenance requests and services with Maintenance Request and Maintenance Services Table.

### **Automated Reporting and Logs**

Expand Down
Empty file removed csf_tz/authotp/__init__.py
Empty file.
18 changes: 0 additions & 18 deletions csf_tz/authotp/api/customer.js

This file was deleted.

83 changes: 0 additions & 83 deletions csf_tz/authotp/api/sales_invoice.js

This file was deleted.

17 changes: 0 additions & 17 deletions csf_tz/authotp/api/sales_invoice.py

This file was deleted.

Empty file removed csf_tz/authotp/doctype/__init__.py
Empty file.
Empty file.
8 changes: 0 additions & 8 deletions csf_tz/authotp/doctype/authotp_settings/authotp_settings.js

This file was deleted.

Loading
Loading