Skip to content

Commit

Permalink
v0.1.9
Browse files Browse the repository at this point in the history
- Removed Fullcalendar script import from _app.js
    - Looks like calendar view works without it.
- Fixed calendar/view page not redirecting if user isn't logged in.

v0.1.8
- Features added to Gantt view:
    - Double click edits task
    - Drag and drop, expansion/contraction enabled.
    - Added help option.
- Fixed type error in HomeTasks.tsx
- Fixed mysql port variable in docker-compose.yml.sample
- Bumped up some @fullcalendar packages. Meant to fix some bugs with fullcalendar not working with NextJS.
- Bumped version to 0.1.8
- Calendar Views now have more options
    - Switch to enable showing tasks
    - Option to select displayed calendars
- API Change: caldav/calendars/events/db/all now also includes caldav_accounts_id for each event in output
- Bug fix: Done tasks being shown in lists filtered just with Labels.

v0.1.7
- Added constant VERSION_NUMBER
- Breaking change:
    Changed hashing algorithm for user password to bcrypt instead of sha512.
    - Reset password if you face trouble logging in after update.
- Fixed bug: task list in Home Page not being updated on adding a new task
- Bit of rewrite to home page -- getting ready for user to customise home page.

v0.1.6
- Enter now submits login form #36
- Minor bug fixes

- Bumped up some of packages' version numbers

Fixed error reporting in case registering CalDAV account fails.
    - Error from tsdav is now shown to user

v0.1.5.4
- Added a docker image build Github action

v0.1.5.3
- Node v14.x removed from github action

v0.1.5.2
- Added github action - build library on pull request, and push to main
- Bug fix - Recurrence did not take interval into account.

-pull request #28
- Fixed a minor bug with router not being defined in TaskList
- Bumped up version number

v0.1.5
- Added user setting to set default view for calendars (#26)
- Fixed due date colour in TaskUI for recurring objects.
- Fixed bug on home screen, where tasks wouldn't refresh on change or adding.

v0.1.4
- Version number fixed, build sometime fails on node if version follows scheme x.x.x.x.

v0.1.3.0
- Redesigned home page
    - It now features a way for user to see all tasks, list, filters
- Small redesign to top bar
    - Has more options that were only available in task view
- Fixed bug while adding task on the Home Page

v0.1.2.9
    - DashboardView.js -- Make sure tasks are not added multiple times
    - Added internal .env variable : NEXT_PUBLIC_VERSION_NUMBER
    - Version number is displayed in Settings page.
    - Getting project ready to support both JS and TS
        - Added tsconfig.json
    - removed npm sharp as a dependency, because with it `npm build` ends up requiring sudo in some cases.

v0.1.2.8
    - Better error handling
        - server shouldn't crash all the time, especially before installation
        - So many try catches like you'd not believe
        - most instances of resolve replaced with return resolve
    - npm sharp added as a dependency("Required" by NextJS)
    - NextJS telemetry disabled.
    - Structure of config file changed
        - Makes it more easier for new installation
        - Docs updated to reflect the same.

v0.1.2.7
    - Fixed bug in GanttView, created by rendering of recurring tasks.

v0.1.2.6
    - The next pending instance of repeating tasks is now correctly parsed by: a) filters  b)in GanttView, c) in Calendar View.
    - vtodogenerator is now used from npm, added as a dependency.
    - Minor changes to docs.

    v0.1.2.5
    - Small changes to docs.
        - Instructions to use docker compose.
    - Fixed incorrect placeholders on Add CalDAV Account page. (Github issue #17)

v0.1.2.4
    - First attempt at having a docker image.
        - Docker image is now available.
        - Docs have been updated to reflect the same.
    - Minor fixes to installation process
        - Now the installer check whether user has the database installed or not.

v0.1.2.3
- Fixed "Add to my day" removing recurrence information from task.
- Improved handling of "task done" checkbox click for recurrence tasks.
    - Only the current instance is now marked as done.
- Minor UI changes and improvements
    - Added a link to manage Caldav accounts in Settings page.

v0.1.2.2

- Fixed tasks not being fetched for Radicale.

v0.1.2.1-dev

- Changes to docs folder structure.
- Fixed bug with task relations. Now MMDL is more compatible with other apps like JTX Board.
- Repeating task support added.
- Added dedicated calendar view.
  • Loading branch information
aa-tree committed Jul 19, 2023
1 parent dfb320d commit efdbcb2
Show file tree
Hide file tree
Showing 21 changed files with 8,352 additions and 1,640 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
5 changes: 3 additions & 2 deletions COMMITMESSAGE.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
- Upgraded vtodogenerator package.
- Minor bug fixes
admin/getusers API Changes
- Added dev dependencies to make cypress work.
- Added eslint dependencies
6 changes: 6 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
presets: [
['@babel/preset-env', {targets: {node: 'current'}}],
'@babel/preset-typescript',
],
};
18 changes: 18 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { defineConfig } from "cypress";

export default defineConfig({

component: {
devServer: {
framework: "next",
bundler: "webpack",
},
},

e2e: {
baseUrl:process.env.NEXT_PUBLIC_BASE_URL,
setupNodeEvents(on, config) {
// implement node event listeners here
},
},
});
5 changes: 5 additions & 0 deletions cypress/e2e/api/install.cy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
describe('template spec', () => {
it('passes', () => {
cy.request('api/install/check').as('todoRequest');
})
})
5 changes: 5 additions & 0 deletions cypress/fixtures/example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Using fixtures to represent data",
"email": "hello@cypress.io",
"body": "Fixtures are a great way to mock data for responses to routes"
}
37 changes: 37 additions & 0 deletions cypress/support/commands.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/// <reference types="cypress" />
// ***********************************************
// This example commands.ts shows you how to
// create various custom commands and overwrite
// existing commands.
//
// For more comprehensive examples of custom
// commands please read more here:
// https://on.cypress.io/custom-commands
// ***********************************************
//
//
// -- This is a parent command --
// Cypress.Commands.add('login', (email, password) => { ... })
//
//
// -- This is a child command --
// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
//
//
// -- This is a dual command --
// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
//
//
// -- This will overwrite an existing command --
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
//
// declare global {
// namespace Cypress {
// interface Chainable {
// login(email: string, password: string): Chainable<void>
// drag(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
// dismiss(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
// visit(originalFn: CommandOriginalFn, url: string, options: Partial<VisitOptions>): Chainable<Element>
// }
// }
// }
14 changes: 14 additions & 0 deletions cypress/support/component-index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>Components App</title>
<!-- Used by Next.js to inject CSS. -->
<div id="__next_css__DO_NOT_USE__"></div>
</head>
<body>
<div data-cy-root></div>
</body>
</html>
39 changes: 39 additions & 0 deletions cypress/support/component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// ***********************************************************
// This example support/component.ts is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/configuration
// ***********************************************************

// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')

import { mount } from 'cypress/react18'

// Augment the Cypress namespace to include type definitions for
// your custom command.
// Alternatively, can be defined in cypress/support/component.d.ts
// with a <reference path="./component" /> at the top of your spec.
declare global {
namespace Cypress {
interface Chainable {
mount: typeof mount
}
}
}

Cypress.Commands.add('mount', mount)

// Example use:
// cy.mount(<MyComponent />)
20 changes: 20 additions & 0 deletions cypress/support/e2e.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// ***********************************************************
// This example support/e2e.ts is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/configuration
// ***********************************************************

// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')
3 changes: 3 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
const nextConfig = {
reactStrictMode: true,
output: 'standalone',
experimental: {
forceSwcTransforms: true,
},
}

module.exports = nextConfig
Loading

0 comments on commit efdbcb2

Please sign in to comment.