No description
Find a file
Eric1641 7560698b45
All checks were successful
/ check_lfs (push) Successful in 2s
fixed controller and changed add content page
fixed controller and changed add content page
2025-11-23 16:30:12 +00:00
.forgejo/workflows Initial commit 2025-11-21 16:35:55 +00:00
.mvn/wrapper added springboot 2025-11-21 18:10:21 +00:00
.vscode added basic login functionality 2025-11-22 13:15:46 +00:00
db merged sql branch 2025-11-22 17:30:58 +00:00
doc Initial commit 2025-11-21 16:35:55 +00:00
src fixed controller and changed add content page 2025-11-23 16:30:12 +00:00
.dockerignore Update CMS + Media, Dockerfile, Java21 fixes 2025-11-22 19:08:41 +00:00
.gitattributes Initial commit 2025-11-21 16:35:55 +00:00
.gitignore Initial commit 2025-11-21 16:35:55 +00:00
.mailmap Initial commit 2025-11-21 16:35:55 +00:00
commit.txt updated README.MD and commit,txt 2025-11-21 17:41:23 +00:00
docker-compose.yml added basic logic for add content 2025-11-23 04:11:18 +00:00
Dockerfile Update CMS + Media, Dockerfile, Java21 fixes 2025-11-22 19:08:41 +00:00
HELP.md added springboot 2025-11-21 18:10:21 +00:00
LICENSE Initial commit 2025-11-21 16:35:55 +00:00
mvnw added springboot 2025-11-21 18:10:21 +00:00
mvnw.cmd added springboot 2025-11-21 18:10:21 +00:00
pom.xml Update CMS + Media, Dockerfile, Java21 fixes 2025-11-22 19:08:41 +00:00
README.md made role database work 2025-11-22 21:17:13 +00:00

include_toc
true
Table of Contents

Run with

docker build -t csis-cms .

docker compose up --build

Project Spec

The CSIS department manages a wide range of internal communications — including announcements, events, research highlights, and student achievements — but current processes rely on manual emails, static pages, and inconsistent update cycles. Important information is often missed or duplicated, and theres no unified platform to keep students, staff, and class representatives aligned.

The CSIS Internal Homepage / Department CMS will serve as a centralized, mobile-friendly, and role-aware content management platform that streamlines communication across the department. It provides a unified homepage experience that adapts dynamically to each users role — for example, staff will see internal announcements and departmental events while students will see upcoming announcements, news, and highlights relevant to them.

This system will empower staff and class representatives to easily create and manage content through a modern publishing workflow with built-in approval and scheduling. Admins retain full editorial oversight and control over which content appears where, ensuring consistent, high-quality communication across all channels.

notes

ARON - ADDING USERS TO DATABASE, AUTH, LOGIN, REGISTRATION COLM - ADMIN DASH, ADMIN APPROVAL ERIC - Content create CAYLUM - STUDENT DASH DARRAGH - STAFF DASH

Project Base

This repo contains initial decent defaults for any new Skynet/Compsoc/Any) project.

Tools

Kanban

A basic Kanban can be found by going to the Projects tab.

CI/CD

A CI/CD runner is provided and can be found in the Actions tab.
This runner is Github actions compatible.

Components

Each file has a particular reason for existing, often learnt through (painful) experiences.

Not every file is required (such as .mailmap), but most are strongly recommended.

README.md

Every project should have a README/README.txt/README.md.
This allows ye to concisely state what the repo is about as well as any quickstart guide.
It is often done using Markdown (.md) since that allows for structured text and HTML compatability.

If the documentation gets too long it is advised to create a doc folder as outlined below.

LICENSE

The included LICENSE is the MIT one.
You can dual (multi) license by including LICENSE-MIT and LICENSE-APACHE as what is common in rust projects.

If a project does not have a license then it is source available, rights reserved.

.gitignore

This controls what git is permitted to commit and control.
The file helps ensure that you dont commit code artifacts such as compiled binaries.

It is also a solid defence against committing secrets.

.gitattributes

The .gitattributes file preforms two useful roles in this repo:

  1. Ensures a consistent line ending across Windows/Mac/Linux systems.
    • Line endings is useful in a multi device environment.
  2. Tells git which files to delegate to LFS.
    • Git is good with text based files.
    • Git-LFS is an addon which stores the files separately and commits a reference to them.
    • This helps ensure teh git repo is not bloated by binary (non text) files.

Git LFS installer: https://git-lfs.com/

.forgejo/workflows/check_lfs.yaml

This is a pipeline config which runs whenever a commit is pushed (push), a merge request is updated (pull_request) or manually requested (workflow_dispatch).

Its purpose is to verify that all files which should be in LFS are in LFS.

When more pipelines are added to a repo then it should be integrated into them.

Github compatability

The pipeline is compatible with Github, to do so you need to rename .forgejo to .github.

Directories

src

It is generally recommended that source code for the project goes into this folder.
This is an industry psudo-standard.

doc

In repo documentation should be put in a doc/docs/documentation folder.
Like src this is an industry psudo-standard.

If the documentation is in the src files this is less important.

Useful but less important

.mailmap

Git works based off of email signatures and a single person may have multiple emails associated with git.
This file maps multiple emails to a single person, or corrects errros in names.

Documentation: https://git-scm.com/docs/gitmailmap

.gitkeep

Git tracks files, to it a folder is just a path to a file.
Thus if a folder is empty then it is invisible to git.
If you wish to commit a folder (as with src and doc in this repo) then you need a placeholder file.
Once there are other files in the repo then the .gitkeep can be removed.

Updating

If any of the files in this repo are updated down the line, such as .gitignore/.gitattributes/.forgejo/workflows/check_lfs.yaml then it is recommended to backport the changes here.