No description
Find a file
ZihanZhuo1 4bc8e6f75d
All checks were successful
/ check_lfs (push) Successful in 2s
feat: Add showcase period functionality and fix version history logic
- Add showcase period information display in Browse page when active
  - Show period name, start date, end date, and optional description
  - Display banner with green styling when showcase period is active
- Implement public project visibility based on showcase period status
  - All users (including guests) can view public projects during active showcase period
  - Only logged-in users (non-guests) can view public projects when showcase period is inactive
  - Add utility functions to check showcase period status and user permissions
- Fix version history display logic
  - Only current version can have pending status
  - Previous versions with pending status are automatically displayed as rejected
  - Apply fix to both AdminDashboard and StudentDashboard
- Update version status when projects are approved/rejected
  - Update current version status to accepted/rejected when admin takes action
  - Keep original submission dates (do not update dates on approve/reject)
- Add real-time updates for showcase period changes
  - Listen for showcase period activation/deactivation events
  - Automatically update UI when showcase period status changes
- Fix mock data: ensure previous versions are marked as rejected when newer versions exist
- Fix syntax error in StudentDashboard version history map function
2025-11-23 13:17:54 +00:00
.forgejo/workflows Initial commit 2025-11-20 18:00:22 +00:00
deployment Inital Voting Service and Deployment Progress 2025-11-23 04:29:03 +00:00
doc 04-search-service.md 2025-11-21 20:25:53 +00:00
src feat: Add showcase period functionality and fix version history logic 2025-11-23 13:17:54 +00:00
.gitattributes Initial commit 2025-11-20 18:00:22 +00:00
.gitignore [No Ticket] Voting - Project Structure 2025-11-22 09:29:40 +00:00
.mailmap Initial commit 2025-11-20 18:00:22 +00:00
LICENSE Initial commit 2025-11-20 18:00:22 +00:00
README.md [No Ticket] Updating template README.md 2025-11-21 22:04:29 +00:00

include_toc
true
Table of Contents

FYP Project Showcase

A platform for students, faculty and the public to engage with Final Year Projects (FYPs).

Installation

Configuration

Tools & Project Structure

Kanban

Trello Kanban Board: https://trello.com/b/a7PgSVKs/group-12-hackaton.

CI/CD

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

.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.

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