Skip to content

Commit

Permalink
Merge pull request #110 from intri-in/development
Browse files Browse the repository at this point in the history
v0.4.1
  • Loading branch information
intri-in authored Nov 28, 2023
2 parents c80b28f + c1f0306 commit 352da2c
Show file tree
Hide file tree
Showing 50 changed files with 1,025 additions and 544 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
v0.4.1
- Bumped version to 0.4.1
- Upgraded package dependencies (those recommended in Dependabot alerts)
- Altered Task Editor Behaviour
- On editing tasks, the change is immediately made to local storage, before request being sent to CalDAV
- Causes flickering in task renders, but that will have to be resolved later.
- If the CalDAV change fails, the old version is reverted.
- Added ability to locally change calendar colours
- No change is made to caldav. (AFAIK, tsdav doesn't support change of colour)
- Fixed EventEditor, now editing event follows the workflow of TaskEditor
- Minor bug fixes
- Autosync setup - Looks like it is working
- Added user setting for autosync.
- Fixed Docker installation not working on remote hosts behind proxeis.
- The problem started with NEXT_PUBLIC_BASE_URL variable. Variables that start with NEXT_PUBLIC need to be set during build time, and cannot be set while running the docker image.
- Now NEXT_PUBLIC_BASE_URL is no longer required to be set in the .env file and will be ignored even if set.
- The API url is now a relative URL
- Docker images now seem to be working on host behind proxies.
- Renamed var NEXT_PUBLIC_USE_NEXT_AUTH to USE_NEXT_AUTH, for the aforementioned reasons.
- Updated Docs to reflect these changes.
- Changed fetchLatestEvents to fetchLatestEventsV2 in login page.

v0.4.0
- bump to version 0.4.0
- Calendar and Caldav account names are now stored locally to improve performace by limiting calls to API.
Expand Down
11 changes: 8 additions & 3 deletions COMMITMESSAGE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
- Fixed Delete Caldav modal not being dismissed on clicking Delete button.
- Added maintenance options to Settings page
- User can purge and refetch Events (in case something goes haywire)
- Fixed Docker installation not working on remote hosts behind proxeis.
- The problem started with NEXT_PUBLIC_BASE_URL variable. Variables that start with NEXT_PUBLIC need to be set during build time, and cannot be set while running the docker image.
- Now NEXT_PUBLIC_BASE_URL is no longer required to be set in the .env file and will be ignored even if set.
- The API url is now a relative URL
- Docker images now seem to be working on host behind proxies.
- Renamed var NEXT_PUBLIC_USE_NEXT_AUTH to USE_NEXT_AUTH, for the aforementioned reasons.
- Updated Docs to reflect these changes.
- Changed fetchLatestEvents to fetchLatestEventsV2 in login page.
3 changes: 1 addition & 2 deletions docker-compose.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ networks:

services:
app:
build: intriin/mmdl:latest
image: mmdl
image: intriin/mmdl:latest
ports:
- 3000:3000
depends_on:
Expand Down
26 changes: 0 additions & 26 deletions docs/install/Configuration/DetailedConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,6 @@ cp .env.local.sample .env.local

## Variables

### NEXT_PUBLIC_BASE_URL

> Required to Change From Default: **Yes**

This is the base URL for the front end. If you're hosting MMDL with a domain name, point it to your domain.

```
Example:
NEXT_PUBLIC_BASE_URL="http://example.com/"
```

### NEXT_PUBLIC_API_URL

> Required to Change From Default: **Yes**

This is the base URL API. If you're hosting MMDL, point it to your domain. Note that the trailing slash is required.

```
Example:
NEXT_PUBLIC_BASE_URL="http://example.com/api/"
```

### NEXT_PUBLIC_DEBUG_MODE

> Required to Change From Default: **No**
Expand Down
6 changes: 4 additions & 2 deletions docs/install/Configuration/OAuth.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ First, you will need to setup a ```.env.local``` file. Detailed guide is availab

To setup OAuth certain variables need to be set in your ```.env.local``` file.

### NEXT_PUBLIC_USE_NEXT_AUTH
> ⚠️ **Variable name to enable NextAuth has changed v0.4.1**
### USE_NEXT_AUTH

> Required to Change From Default: **Yes**
```
Example:
NEXT_PUBLIC_USE_NEXT_AUTH=true
USE_NEXT_AUTH=true
```
### NEXTAUTH_URL
> Required to Change From Default: **Maybe**
Expand Down
14 changes: 1 addition & 13 deletions docs/install/Configuration/WithoutDocker.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,6 @@ curl https://raw.githubusercontent.com/intri-in/manage-my-damn-life-nextjs/main/

These are the variables that you need to change for MMDL to function properly. If you're running

### NEXT_PUBLIC_BASE_URL

> Required to Change From Default: **Yes**

This is the base URL for the front end. If you're hosting MMDL with a domain name, point it to your domain.

```
Example:
NEXT_PUBLIC_BASE_URL="http://example.com/"
```

### DB_HOST

Expand Down Expand Up @@ -201,7 +189,7 @@ SMTP_USESECURE = false

> Required to Change From Default: **No**
The variables NEXT_PUBLIC_USE_NEXT_AUTH, NEXTAUTH_URL, NEXTAUTH_SECRET, and more are required for OAUTH to work.
The variables USE_NEXT_AUTH, NEXTAUTH_URL, NEXTAUTH_SECRET, and more are required for OAUTH to work.

Please refer to this [detailed guide](OAuth.md) to set them.

Expand Down
Loading

0 comments on commit 352da2c

Please sign in to comment.