Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: API Enhancements #379

Merged
merged 23 commits into from
Jan 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
5a1abec
Added `generateCodename` Hasura Action
chrismaddalena Jan 11, 2024
5ba39ca
Added `users_user` table to schema
chrismaddalena Jan 11, 2024
3cb5e82
Made `name` fields not nullable for contacts
chrismaddalena Jan 11, 2024
04b6acc
Added handling for blank job titles and email addresses
chrismaddalena Jan 11, 2024
8603890
Fixed client contacts dropdown not populating on page load
chrismaddalena Jan 11, 2024
8448d38
Added Postgres triggers to handle timezone validation
chrismaddalena Jan 11, 2024
d7c62c4
Updated `contacts` to `clientContact`
chrismaddalena Jan 11, 2024
a5ee8b5
Made contact names and FKs unique together
chrismaddalena Jan 12, 2024
3fba630
Added `ProjectContact` model to admin
chrismaddalena Jan 12, 2024
abb5f04
Added `GraphqlGenerateCodenameAction` for the API
chrismaddalena Jan 12, 2024
5f62d63
Added `GraphqlProjectContactUpdateEvent` to clean project contacts
chrismaddalena Jan 12, 2024
686eeb8
Added routes for `generateCodename` Action and project POC update events
chrismaddalena Jan 12, 2024
79b580a
Added test case for `generateCodename` Hasura Action
chrismaddalena Jan 12, 2024
7ee4b5c
Added `rolodex_projectcontact` table to the GraphQL schema
chrismaddalena Jan 12, 2024
f6ecd2b
Added handling for integrity errors with duplicate contacts
chrismaddalena Jan 12, 2024
1217fa2
Updated schema with latest changes
chrismaddalena Jan 12, 2024
9ccc32b
Updated dates
chrismaddalena Jan 12, 2024
e13289c
Added test case for objective subtask deadline adjustment signal
chrismaddalena Jan 12, 2024
ea4122a
Cleaned JSON generated for log entry rows
chrismaddalena Jan 12, 2024
10918b4
Updated for v4.0.5
chrismaddalena Jan 12, 2024
420de6b
Updated binary to v0.2.18
chrismaddalena Jan 12, 2024
50dafc6
Updated for test case coverage
chrismaddalena Jan 13, 2024
d22bd6b
Added test case for `GraphqlProjectContactUpdateEvent`
chrismaddalena Jan 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,26 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### [4.0.5] - 12 January 2024

### Added

* Added project contacts to the GraphQL schema
* Added user accounts to the GraphQL schema to allow more automation options for project management
* Authenticated accounts can query name, username, email, phone number, and timezone
* Added timezone validation into PostgreSQL to prevent invalid timezones from being saved via the GraphQL API
* Added a new `generateCodename` mutation to the GraphQL API that generates a unique codename for new projects (or whatever else you want to use it for)

### Fixed

* Fixed client contacts not loading properly in the drop-down on the project dashboard

### Changed

* The `contacts` table is now `clientContact` in the GraphQL API schema for better consistency with other table names
* Updated the GraphQL schema data in _DOCS_ to reflect the latest changes
* Updated the pre-built Ghostwriter CLI binaries to v0.2.18

## [4.0.4] - 8 January 2024

### Added
Expand Down
10 changes: 5 additions & 5 deletions DOCS/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

# General information about the project.
project = "Ghostwriter"
copyright = """2021, Christopher Maddalena"""
copyright = """2024, Christopher Maddalena"""

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down Expand Up @@ -216,7 +216,7 @@
"index",
"ghostwriter",
"Ghostwriter Documentation",
["""Chris Maddalena"""],
["""Christopher Maddalena"""],
1,
)
]
Expand All @@ -235,10 +235,10 @@
"index",
"ghostwriter",
"Ghostwriter Documentation",
"""Chris Maddalena""",
"""Christopher Maddalena""",
"Ghostwriter",
"""Behold My Awesome Project!""",
"Miscellaneous",
"""The SpecterOps project management and reporting engine""",
"reporting",
)
]

Expand Down
180 changes: 0 additions & 180 deletions DOCS/examples/post_activity_logs.py

This file was deleted.

Loading
Loading