Skip to content

Commit

Permalink
Merge pull request #275 from membermatters/dev
Browse files Browse the repository at this point in the history
v3.7.0
  • Loading branch information
jabelone authored Aug 11, 2024
2 parents fd73f6f + 162b474 commit 251e4fe
Show file tree
Hide file tree
Showing 153 changed files with 8,741 additions and 6,319 deletions.
68 changes: 0 additions & 68 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

49 changes: 49 additions & 0 deletions .github/workflows/comment_wrong_branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Wrong Branch Warning

on:
workflow_dispatch:
pull_request:
types: [opened]
branches:
- "main"

jobs:
comment_warning:
if: ${{ github.event.pull_request.base.repo.clone_url != github.event.pull_request.head.repo.clone_url }}
runs-on: ubuntu-latest
steps:
- name: Comment warning about the wrong branch selected for PR
id: comment_docker_image
uses: actions/github-script@v6
with:
script: |
const output = `
Warning: we only accept PRs to the \`dev\` branch. It looks like you've created a PR to the \`main\` branch. Please edit this PR and select the \`dev\` branch as the target branch instead. If this was intentional please ignore this message.
`;
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: output
})
comment_warning_internal_pr:
if: ${{ github.event.pull_request.head.ref != 'dev' }}
runs-on: ubuntu-latest
steps:
- name: Comment warning about the wrong branch selected for PR
id: comment_docker_image
uses: actions/github-script@v6
with:
script: |
const output = `
Warning: we only accept PRs to main from the \`dev\` branch. It looks like you've created a PR from a different branch. Please edit this PR and select the \`dev\` branch as the source branch instead. If this was intentional please ignore this message.
`;
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: output
})
7 changes: 0 additions & 7 deletions .octopus/deployment_settings.ocl

This file was deleted.

1 change: 0 additions & 1 deletion .octopus/schema_version.ocl

This file was deleted.

71 changes: 71 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,77 @@ 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).


## [v3.7.0] - 2024-08-11

### Fixed

- unhandled exception when logging access for non-existent member
- re-sync device if exempt_signin changes
- signals to auto sync access changes to devices in realtime
- device pages not showing bump/manage buttons on mobile
- fixed bugs in devices modal when using next/previous buttons
- weird spacing in the memberbucks UI
- bug with device auth
- bug with swipe denied due to device lockout not logging correctly
- all print calls now use the logging framework properly
- removed interlock sync button because it doesn't do anything for interlocks
- membership and payment plan names show useful info in django admin interface
- #259 adding duplicate payment plan fails
- credit card component width issues on small screens
- Fixed inconsistent translations/plurals and billing tab UI improvement
- fixed billing dates appearing incorrectly
- made member states more consistent in the UI
- bug in member list filter dropdown
- homepage cards showing inconsistent heights

### Added

- memberbucks products and a vending machine API to track product purchases and profits
- post to discord for vending machine purchases
- memberbucks devices to the devices page
- Vikunja teams sync via oauth / oidc claims
- Vikunja integration for the report issues form
- Discord integration for the report issues form
- a bunch of native MM metrics for things like membership count, memberbucks in circulation, etc.
- lots of prometheus metrics have been added
- all db models
- celery tasks
- all django views
- all native MM metrics (see above)
- warning comment about PRs that target main directly
- per app level logging configuration (check env var definitions in settings.py)
- tracking of total purchases to memberbucks devices
- make offline devices more obvious and disable buttons that require them to be online
- shows if a device currently has a maintenance lockout on the permissions page
- admin permissions page shows warning if a member's access is inactive or device is locked out
- API to dynamically update all constance settings using REST API
- docs about using the local Stripe CLI for testing webhooks
- Added support for assigning a plan manually and allowing a member to resume it
- membership plan info to member admin page
- ignore large (> $1k) transactions when calculating memberbucks metrics (to prevent outliers/test transactions)

### Changed

- documentation improvements (thanks @ergodone)
- increased docker image python version to 3.12
- increased docker image Node version to 22
- updated Stripe node module version
- refactored memberbucks APIs (including new WS commands to support vending machine products)
- increased the length of some description fields in models for new vending machine API
- Make report_online_status default to False for auto provisioned devices
- refactored the two redundant member tier views
- refactored payment plans api
- improved member access permissions UI
- improved manage member admin page UI

### Removed

- old API_SECRET_KEY constance config
- old redundant mdns code
- old and unsupported terraform related files
- old and unsupported MMDB_SECRET env var

## [v3.6.3] - 2024-04-08

### Fixed
Expand Down
49 changes: 0 additions & 49 deletions Dockerfile.copilot

This file was deleted.

4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Copyright 2020 MemberMatters (Jaimyn Mayer and others)
# Copyright 2024 MemberMatters (Jaimyn Mayer and others)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1 change: 0 additions & 1 deletion copilot/.workspace

This file was deleted.

1 change: 0 additions & 1 deletion copilot/README.md

This file was deleted.

Loading

0 comments on commit 251e4fe

Please sign in to comment.