diff --git a/.github_changelog_generator b/.github_changelog_generator index 4d382003..d00c28dc 100644 --- a/.github_changelog_generator +++ b/.github_changelog_generator @@ -1,4 +1,4 @@ unreleased=true -future-release=0.9 +future-release=1.0 exclude-labels=duplicate,question,invalid,wontfix,release enhancement_labels=>enhancement,Enhancement,feature request \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index a0df53ca..5c5e4ddb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,139 @@ # Change Log +## [1.0](https://github.com/kevinpapst/kimai2/tree/1.0) (2019-07-02) +[Full Changelog](https://github.com/kevinpapst/kimai2/compare/0.9...1.0) + +**Implemented enhancements:** + +- Admin Timesheets Toolbar: order users by username [\#876](https://github.com/kevinpapst/kimai2/issues/876) +- import project "budget" field [\#841](https://github.com/kevinpapst/kimai2/issues/841) +- Add tag data to exports [\#825](https://github.com/kevinpapst/kimai2/issues/825) +- Additional status indicators for a field \(tag field\) more like lables which are globally assigable and appear for each task a user is working on or has started [\#769](https://github.com/kevinpapst/kimai2/issues/769) +- Include option of tags field to link various timesheet entries together and use them for filtering data [\#768](https://github.com/kevinpapst/kimai2/issues/768) +- Disable manual To date and duration entry option in timer [\#764](https://github.com/kevinpapst/kimai2/issues/764) +- Custom data for external references [\#760](https://github.com/kevinpapst/kimai2/issues/760) +- Refactor active entries dropdown [\#754](https://github.com/kevinpapst/kimai2/issues/754) +- Stop entries without page reload [\#753](https://github.com/kevinpapst/kimai2/issues/753) +- More actions on data records resp. table rows [\#748](https://github.com/kevinpapst/kimai2/issues/748) +- Action menu instead of icons [\#747](https://github.com/kevinpapst/kimai2/issues/747) +- Multiple Work Orders under Project for a Customer [\#720](https://github.com/kevinpapst/kimai2/issues/720) +- Add custom fields in timesheet record [\#697](https://github.com/kevinpapst/kimai2/issues/697) +- Lock exported objects [\#686](https://github.com/kevinpapst/kimai2/issues/686) +- Option to allow Markdown in Project/Activity-comments [\#677](https://github.com/kevinpapst/kimai2/issues/677) +- Recalculate rates on every change [\#673](https://github.com/kevinpapst/kimai2/issues/673) +- Show on the title if there is an active recording [\#660](https://github.com/kevinpapst/kimai2/issues/660) +- Allow edit Date From for saved time records [\#627](https://github.com/kevinpapst/kimai2/issues/627) +- Restarting a entry- missing description [\#626](https://github.com/kevinpapst/kimai2/issues/626) +- Calendar: Return to last view after creating a new time entry [\#622](https://github.com/kevinpapst/kimai2/issues/622) +- Unable to select «projects» while filtering in timesheets [\#601](https://github.com/kevinpapst/kimai2/issues/601) +- View cut off on 4:3 monitor [\#575](https://github.com/kevinpapst/kimai2/issues/575) +- Calendar view: more space for business hours [\#530](https://github.com/kevinpapst/kimai2/issues/530) +- maximale Anzahl Projektstunden als Vorgabe [\#467](https://github.com/kevinpapst/kimai2/issues/467) +- don't allow start end dates, just punch in or out [\#448](https://github.com/kevinpapst/kimai2/issues/448) +- Refresh of Duration time [\#420](https://github.com/kevinpapst/kimai2/issues/420) +- Statistic of time-used vs. time-budget [\#416](https://github.com/kevinpapst/kimai2/issues/416) +- Colors for customers / projects [\#374](https://github.com/kevinpapst/kimai2/issues/374) +- allow to disable user preferences by permission [\#895](https://github.com/kevinpapst/kimai2/pull/895) ([kevinpapst](https://github.com/kevinpapst)) +- order users by username [\#880](https://github.com/kevinpapst/kimai2/pull/880) ([kevinpapst](https://github.com/kevinpapst)) +- use default\_begin in duration only mode [\#873](https://github.com/kevinpapst/kimai2/pull/873) ([kevinpapst](https://github.com/kevinpapst)) +- Custom fields for timesheets, customers, projects and activities [\#871](https://github.com/kevinpapst/kimai2/pull/871) ([kevinpapst](https://github.com/kevinpapst)) +- export tags in spreadsheets [\#860](https://github.com/kevinpapst/kimai2/pull/860) ([kevinpapst](https://github.com/kevinpapst)) +- add tracking mode \(duration + fixed start time\) [\#859](https://github.com/kevinpapst/kimai2/pull/859) ([kevinpapst](https://github.com/kevinpapst)) +- branding options [\#856](https://github.com/kevinpapst/kimai2/pull/856) ([kevinpapst](https://github.com/kevinpapst)) +- Widget refactoring [\#847](https://github.com/kevinpapst/kimai2/pull/847) ([kevinpapst](https://github.com/kevinpapst)) +- added hourly and money budgets to activity, project and customer [\#843](https://github.com/kevinpapst/kimai2/pull/843) ([kevinpapst](https://github.com/kevinpapst)) +- updated dockerfile [\#840](https://github.com/kevinpapst/kimai2/pull/840) ([kevinpapst](https://github.com/kevinpapst)) +- added installation command [\#838](https://github.com/kevinpapst/kimai2/pull/838) ([kevinpapst](https://github.com/kevinpapst)) +- add ldap support [\#815](https://github.com/kevinpapst/kimai2/pull/815) ([kevinpapst](https://github.com/kevinpapst)) +- added punch-in punch-out / time-clock mode [\#812](https://github.com/kevinpapst/kimai2/pull/812) ([kevinpapst](https://github.com/kevinpapst)) +- allow markdown for customer, project and activity comments [\#807](https://github.com/kevinpapst/kimai2/pull/807) ([kevinpapst](https://github.com/kevinpapst)) +- improved html export [\#802](https://github.com/kevinpapst/kimai2/pull/802) ([kevinpapst](https://github.com/kevinpapst)) +- use dropdown for entity actions on detail pages [\#801](https://github.com/kevinpapst/kimai2/pull/801) ([kevinpapst](https://github.com/kevinpapst)) +- lock exported timesheets [\#798](https://github.com/kevinpapst/kimai2/pull/798) ([kevinpapst](https://github.com/kevinpapst)) +- Calendar improvements [\#784](https://github.com/kevinpapst/kimai2/pull/784) ([kevinpapst](https://github.com/kevinpapst)) +- restart via API allows to copy description [\#782](https://github.com/kevinpapst/kimai2/pull/782) ([kevinpapst](https://github.com/kevinpapst)) +- delete timesheets via api [\#776](https://github.com/kevinpapst/kimai2/pull/776) ([kevinpapst](https://github.com/kevinpapst)) +- javascript and api to stop and display active records [\#772](https://github.com/kevinpapst/kimai2/pull/772) ([kevinpapst](https://github.com/kevinpapst)) +- recent activities via API [\#761](https://github.com/kevinpapst/kimai2/pull/761) ([kevinpapst](https://github.com/kevinpapst)) +- ES6 javascript conversion [\#733](https://github.com/kevinpapst/kimai2/pull/733) ([kevinpapst](https://github.com/kevinpapst)) +- Use tags for every timesheet entry [\#604](https://github.com/kevinpapst/kimai2/pull/604) ([infastra](https://github.com/infastra)) + +**Fixed bugs:** + +- Invoice calculator that differs between fixed and hourly rates [\#884](https://github.com/kevinpapst/kimai2/issues/884) +- Timesheets table empty after update [\#878](https://github.com/kevinpapst/kimai2/issues/878) +- Ability to hide the revenue stats to users [\#853](https://github.com/kevinpapst/kimai2/issues/853) +- Error on update database migration: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes [\#788](https://github.com/kevinpapst/kimai2/issues/788) +- adding a new timesheet entry is broken in current master [\#778](https://github.com/kevinpapst/kimai2/issues/778) +- calendar week timesheet task with duration=true error 500 [\#704](https://github.com/kevinpapst/kimai2/issues/704) +- Inter-month entries don't get exported in single month [\#652](https://github.com/kevinpapst/kimai2/issues/652) +- fix selectbox is not resettable [\#901](https://github.com/kevinpapst/kimai2/pull/901) ([kevinpapst](https://github.com/kevinpapst)) +- fixed short invoice [\#891](https://github.com/kevinpapst/kimai2/pull/891) ([kevinpapst](https://github.com/kevinpapst)) +- fix sqlite migration [\#881](https://github.com/kevinpapst/kimai2/pull/881) ([kevinpapst](https://github.com/kevinpapst)) +- added LDAP config to set filter for finding user attributes [\#877](https://github.com/kevinpapst/kimai2/pull/877) ([kevinpapst](https://github.com/kevinpapst)) +- fix LDAP install for systems without ldap extension [\#846](https://github.com/kevinpapst/kimai2/pull/846) ([kevinpapst](https://github.com/kevinpapst)) +- fixed mpdf temp directory [\#845](https://github.com/kevinpapst/kimai2/pull/845) ([kevinpapst](https://github.com/kevinpapst)) +- enhance tag query to show all tags of an item [\#810](https://github.com/kevinpapst/kimai2/pull/810) ([kevinpapst](https://github.com/kevinpapst)) +- fix column and max key length [\#789](https://github.com/kevinpapst/kimai2/pull/789) ([kevinpapst](https://github.com/kevinpapst)) +- bugfix for API selects [\#780](https://github.com/kevinpapst/kimai2/pull/780) ([kevinpapst](https://github.com/kevinpapst)) +- translate date picker and charts [\#775](https://github.com/kevinpapst/kimai2/pull/775) ([kevinpapst](https://github.com/kevinpapst)) +- refactored javascript to ES6 classes [\#759](https://github.com/kevinpapst/kimai2/pull/759) ([kevinpapst](https://github.com/kevinpapst)) + +**Closed issues:** + +- Update Hungarian translation [\#897](https://github.com/kevinpapst/kimai2/issues/897) +- Authentication to Active Directory [\#875](https://github.com/kevinpapst/kimai2/issues/875) +- LDAP Documentation Enhancement for Active Directory [\#867](https://github.com/kevinpapst/kimai2/issues/867) +- Cannot find bundle in plugin tests [\#863](https://github.com/kevinpapst/kimai2/issues/863) +- Allowed memory in reset-dev [\#857](https://github.com/kevinpapst/kimai2/issues/857) +- 503 Error Service Unavailable [\#834](https://github.com/kevinpapst/kimai2/issues/834) +- Documentation for native wrapper like nativefier [\#830](https://github.com/kevinpapst/kimai2/issues/830) +- Create documentation for layman users to deploy the master code on their servers [\#827](https://github.com/kevinpapst/kimai2/issues/827) +- Allow export of data in timesheet view directly from the frontend [\#826](https://github.com/kevinpapst/kimai2/issues/826) +- Adding a command as Plugin [\#797](https://github.com/kevinpapst/kimai2/issues/797) +- connect kimai to ldap [\#795](https://github.com/kevinpapst/kimai2/issues/795) +- Older Kimai2 version compatible with PHP 7.0? [\#790](https://github.com/kevinpapst/kimai2/issues/790) +- POLL: Global vs. customer currency [\#781](https://github.com/kevinpapst/kimai2/issues/781) +- Docker refactor [\#763](https://github.com/kevinpapst/kimai2/issues/763) +- Finally got this installed! [\#743](https://github.com/kevinpapst/kimai2/issues/743) +- Possible to translate login page [\#736](https://github.com/kevinpapst/kimai2/issues/736) +- Grouping Users when Exporting [\#680](https://github.com/kevinpapst/kimai2/issues/680) + +**Merged pull requests:** + +- Update Hungarian translation [\#902](https://github.com/kevinpapst/kimai2/pull/902) ([infeeeee](https://github.com/infeeeee)) +- performance tuning on timesheets [\#874](https://github.com/kevinpapst/kimai2/pull/874) ([kevinpapst](https://github.com/kevinpapst)) +- Removed lines that skip plugins in test env [\#864](https://github.com/kevinpapst/kimai2/pull/864) ([tobybatch](https://github.com/tobybatch)) +- fix/LDAP multivalues Email Aliases [\#862](https://github.com/kevinpapst/kimai2/pull/862) ([jacoblanco](https://github.com/jacoblanco)) +- Spanish translate updated [\#852](https://github.com/kevinpapst/kimai2/pull/852) ([yayitazale](https://github.com/yayitazale)) +- Update of the French translation [\#850](https://github.com/kevinpapst/kimai2/pull/850) ([jeau](https://github.com/jeau)) +- improved fixture data for devs [\#848](https://github.com/kevinpapst/kimai2/pull/848) ([kevinpapst](https://github.com/kevinpapst)) +- Implement japanese translation 190601 [\#837](https://github.com/kevinpapst/kimai2/pull/837) ([nabbisen](https://github.com/nabbisen)) +- use codecov for coverage [\#833](https://github.com/kevinpapst/kimai2/pull/833) ([kevinpapst](https://github.com/kevinpapst)) +- code cleanup [\#811](https://github.com/kevinpapst/kimai2/pull/811) ([kevinpapst](https://github.com/kevinpapst)) +- refactored permissions for simpler customizations [\#808](https://github.com/kevinpapst/kimai2/pull/808) ([kevinpapst](https://github.com/kevinpapst)) +- added phpstan for code analyzes [\#806](https://github.com/kevinpapst/kimai2/pull/806) ([kevinpapst](https://github.com/kevinpapst)) +- added SECURITY.md [\#805](https://github.com/kevinpapst/kimai2/pull/805) ([kevinpapst](https://github.com/kevinpapst)) +- added funding yaml [\#804](https://github.com/kevinpapst/kimai2/pull/804) ([kevinpapst](https://github.com/kevinpapst)) +- timesheet controller refactoring [\#796](https://github.com/kevinpapst/kimai2/pull/796) ([kevinpapst](https://github.com/kevinpapst)) +- fix phpunit annotations [\#794](https://github.com/kevinpapst/kimai2/pull/794) ([kevinpapst](https://github.com/kevinpapst)) +- Modify Japanese translation [\#779](https://github.com/kevinpapst/kimai2/pull/779) ([nabbisen](https://github.com/nabbisen)) +- Add Japanese translation [\#774](https://github.com/kevinpapst/kimai2/pull/774) ([nabbisen](https://github.com/nabbisen)) +- fix toolbar requests for empty choice [\#758](https://github.com/kevinpapst/kimai2/pull/758) ([kevinpapst](https://github.com/kevinpapst)) +- added more entity actions [\#757](https://github.com/kevinpapst/kimai2/pull/757) ([bjoerne2](https://github.com/bjoerne2)) +- Database interoperability [\#756](https://github.com/kevinpapst/kimai2/pull/756) ([kevinpapst](https://github.com/kevinpapst)) +- dynamically update title and visible durations for running records [\#752](https://github.com/kevinpapst/kimai2/pull/752) ([kevinpapst](https://github.com/kevinpapst)) +- colors for visual grouping of customer, projects and activities [\#751](https://github.com/kevinpapst/kimai2/pull/751) ([kevinpapst](https://github.com/kevinpapst)) +- moved shared entity fields and functions to trait [\#750](https://github.com/kevinpapst/kimai2/pull/750) ([kevinpapst](https://github.com/kevinpapst)) +- Entity actions re-designed \(table buttons\) [\#746](https://github.com/kevinpapst/kimai2/pull/746) ([kevinpapst](https://github.com/kevinpapst)) +- navbar block cleanup [\#742](https://github.com/kevinpapst/kimai2/pull/742) ([kevinpapst](https://github.com/kevinpapst)) +- use bootstrap tooltips instead of own solution [\#741](https://github.com/kevinpapst/kimai2/pull/741) ([kevinpapst](https://github.com/kevinpapst)) +- always query timesheets by begin date [\#740](https://github.com/kevinpapst/kimai2/pull/740) ([kevinpapst](https://github.com/kevinpapst)) +- prevent jumping icons in navbar between collapsed and open state [\#739](https://github.com/kevinpapst/kimai2/pull/739) ([kevinpapst](https://github.com/kevinpapst)) +- translate time-tracking in login screen and browser title [\#738](https://github.com/kevinpapst/kimai2/pull/738) ([kevinpapst](https://github.com/kevinpapst)) +- theme update for swedish auth screens [\#737](https://github.com/kevinpapst/kimai2/pull/737) ([kevinpapst](https://github.com/kevinpapst)) +- Testing: Webpack upgrade [\#729](https://github.com/kevinpapst/kimai2/pull/729) ([kevinpapst](https://github.com/kevinpapst)) + ## [0.9](https://github.com/kevinpapst/kimai2/tree/0.9) (2019-04-29) [Full Changelog](https://github.com/kevinpapst/kimai2/compare/0.8.1...0.9) @@ -25,6 +159,7 @@ - Updated authorization screens [\#727](https://github.com/kevinpapst/kimai2/pull/727) ([kevinpapst](https://github.com/kevinpapst)) - added delete timesheet API endpoint [\#726](https://github.com/kevinpapst/kimai2/pull/726) ([kevinpapst](https://github.com/kevinpapst)) - Design updates [\#723](https://github.com/kevinpapst/kimai2/pull/723) ([kevinpapst](https://github.com/kevinpapst)) +- API: changed date-format, camelCase instead of snake\_case, null values, update and create for customer and project [\#718](https://github.com/kevinpapst/kimai2/pull/718) ([kevinpapst](https://github.com/kevinpapst)) - added api/activities POST and PATCH [\#717](https://github.com/kevinpapst/kimai2/pull/717) ([horlabs](https://github.com/horlabs)) - allow to overwrite config via prepend [\#715](https://github.com/kevinpapst/kimai2/pull/715) ([kevinpapst](https://github.com/kevinpapst)) - Load export type ids dynamically [\#703](https://github.com/kevinpapst/kimai2/pull/703) ([simone-gasparini](https://github.com/simone-gasparini)) @@ -39,19 +174,20 @@ **Fixed bugs:** -- 500 \(Internal Server Error\) create customer [\#711](https://github.com/kevinpapst/kimai2/issues/711) - Export date parsing does not care about timezone [\#707](https://github.com/kevinpapst/kimai2/issues/707) +- Error on importing v1 timeSheets [\#645](https://github.com/kevinpapst/kimai2/issues/645) +- 500 \(Internal Server Error\) create customer [\#711](https://github.com/kevinpapst/kimai2/issues/711) - API docs are wrong for GET entity \(ignores serialization group\) [\#701](https://github.com/kevinpapst/kimai2/issues/701) - API date and datetime format [\#700](https://github.com/kevinpapst/kimai2/issues/700) - totals do not match [\#691](https://github.com/kevinpapst/kimai2/issues/691) - Validate email when creating user via cmd-line [\#663](https://github.com/kevinpapst/kimai2/issues/663) - Datepicker "From" not working [\#651](https://github.com/kevinpapst/kimai2/issues/651) - Error export PDF [\#648](https://github.com/kevinpapst/kimai2/issues/648) -- Error on importing v1 timeSheets [\#645](https://github.com/kevinpapst/kimai2/issues/645) - Time selection dropdown not working in Firefox [\#618](https://github.com/kevinpapst/kimai2/issues/618) - Revoke of start\_own\_timesheet permission doesn't prevent start active entry [\#606](https://github.com/kevinpapst/kimai2/issues/606) +- resize mobile navbar buttons [\#582](https://github.com/kevinpapst/kimai2/issues/582) +- fix tests that failed around midnight [\#735](https://github.com/kevinpapst/kimai2/pull/735) ([kevinpapst](https://github.com/kevinpapst)) - remove invalid cache header [\#722](https://github.com/kevinpapst/kimai2/pull/722) ([kevinpapst](https://github.com/kevinpapst)) -- API: changed date-format, camelCase instead of snake\_case, null values, update and create for customer and project [\#718](https://github.com/kevinpapst/kimai2/pull/718) ([kevinpapst](https://github.com/kevinpapst)) - fix modal - autofocus problem, datepicker not shown on begin date [\#653](https://github.com/kevinpapst/kimai2/pull/653) ([kevinpapst](https://github.com/kevinpapst)) - fix pdf export cache directory [\#650](https://github.com/kevinpapst/kimai2/pull/650) ([kevinpapst](https://github.com/kevinpapst)) @@ -68,13 +204,12 @@ - Group of user [\#669](https://github.com/kevinpapst/kimai2/issues/669) - Demo not loading [\#665](https://github.com/kevinpapst/kimai2/issues/665) - Admin Panel [\#662](https://github.com/kevinpapst/kimai2/issues/662) -- mixed date formats in the api for the timesheet [\#658](https://github.com/kevinpapst/kimai2/issues/658) - Some activites don't show up in last activities [\#609](https://github.com/kevinpapst/kimai2/issues/609) - Wrong link in the CSS [\#605](https://github.com/kevinpapst/kimai2/issues/605) - Failed to import users: failed to validate user [\#600](https://github.com/kevinpapst/kimai2/issues/600) - Edit timesheet , delete user edit own timesheet [\#498](https://github.com/kevinpapst/kimai2/issues/498) +- mixed date formats in the api for the timesheet [\#658](https://github.com/kevinpapst/kimai2/issues/658) - Add demo bundle [\#442](https://github.com/kevinpapst/kimai2/issues/442) -- Add audit logs [\#62](https://github.com/kevinpapst/kimai2/issues/62) **Merged pull requests:** @@ -116,7 +251,6 @@ **Fixed bugs:** -- resize mobile navbar buttons [\#582](https://github.com/kevinpapst/kimai2/issues/582) - deletion of customers leads to internal server error 500 [\#589](https://github.com/kevinpapst/kimai2/issues/589) - Entry editor label wrong \(from/to\) [\#587](https://github.com/kevinpapst/kimai2/issues/587) diff --git a/README.md b/README.md index a5b4f95b..11e00e7f 100644 --- a/README.md +++ b/README.md @@ -27,12 +27,12 @@ It is built with modern technologies such as Symfony, Bootstrap, RESTful API, Do ### About -This is new version of the open source timetracker Kimai. It is in a stable development phase, usable in production and +This is new version of the open source timetracker Kimai. It is stable and production ready, ships with most advanced features from Kimai 1 and many new ones, including but not limited to: JSON API, invoicing, data exports, multi-timer and punch-in punch-out mode, tagging, multi-user and multi-timezones, LDAP and built-in authentication, customizable role permissions, responsive and ready for your mobile device, -hourly and fixed rates, advanced filtering, money and time budgets and report, support for plugins and many more. +hourly and fixed rates, advanced filtering, money and time budgets with report, support for plugins and many more. ## Installation diff --git a/SECURITY.md b/SECURITY.md index 063f76ee..be84fef7 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -7,8 +7,8 @@ As announced in the [README](README.md) I only support the latest available rele | Version | Supported | | ------- | ------------------ | | master | :white_check_mark: | -| 0.9 | :white_check_mark: | -| < 0.9 | :x: | +| 1.0 | :white_check_mark: | +| < 1.0 | :x: | ## Reporting a Vulnerability diff --git a/UPGRADING.md b/UPGRADING.md index 9eb2ea3e..26a2e7f7 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -10,7 +10,7 @@ you can upgrade your Kimai installation to the latest stable release. There might be more steps required which are version specific and need to be executed after [the update](https://www.kimai.org/documentation/updates.html). Read and perform EACH version specific task below, otherwise you risk data inconsistency or a broken installation! -## 1.0 (unreleased) +## [1.0](https://github.com/kevinpapst/kimai2/releases/tag/1.0) This release contains several changes, as I still have the goal to stabilize the code base to prevent such "challenges" after 1.0 for a while. @@ -35,7 +35,7 @@ Removed permission: - API: Format for queries including a datetime object fixed to use HTML5 format (previously `2019-03-02 14:23` - now `2019-03-02T14:23:00`) - **Permission config**: the `permissions` definition in your `local.yaml` needs to be verified/changed, as the internal structure was highly optimized to simplify the definition. Thanks to the new structure, you should be able to remove almost everything from your `local.yaml` (tip: start over from scratch!). Please read [the updated permission docu](https://www.kimai.org/documentation/permissions.html). -- default widgets were removed from `kimai.yaml`, that shouldn't cause any issues ... but if something is odd, now you know [where to look for help](https://www.kimai.org/documentation/dashboard.html) +- default widgets were removed from `kimai.yaml`, that shouldn't cause any issues ... but if something is odd: [look here for help](https://www.kimai.org/documentation/dashboard.html) ## [0.9](https://github.com/kevinpapst/kimai2/releases/tag/0.9) diff --git a/src/Command/CreateReleaseCommand.php b/src/Command/CreateReleaseCommand.php index 60db05d4..fd9c3b6a 100644 --- a/src/Command/CreateReleaseCommand.php +++ b/src/Command/CreateReleaseCommand.php @@ -121,6 +121,20 @@ class CreateReleaseCommand extends Command $filesToDelete = [ '.git*', + '.codecov.yml', + '.editorconfig', + '.php_cs.dist', + '.scrutinizer.yml', + '.travis.yml', + '*.lock', + 'package.json', + 'phpstan.neon', + 'Dockerfile', + 'phpunit.xml.dist', + 'webpack.config.js', + 'assets/', + 'bin/', + 'tests/', 'var/cache/*', 'var/data/kimai_test.sqlite', 'var/log/*.log', diff --git a/src/Constants.php b/src/Constants.php index e76d084c..35701294 100644 --- a/src/Constants.php +++ b/src/Constants.php @@ -21,7 +21,7 @@ class Constants /** * The current release version */ - public const VERSION = '0.9'; + public const VERSION = '1.0'; /** * The release name, will only change for new major version */ diff --git a/src/Migrations/Version20190502161758.php b/src/Migrations/Version20190502161758.php index 42ed1faf..8b37eeb9 100644 --- a/src/Migrations/Version20190502161758.php +++ b/src/Migrations/Version20190502161758.php @@ -17,7 +17,7 @@ use Doctrine\DBAL\Schema\Schema; /** * Creates the color columns on: customer, project, activity. * - * @version 0.9 + * @version 1.0 */ final class Version20190502161758 extends AbstractMigration { diff --git a/tests/Command/InstallCommandTest.php b/tests/Command/InstallCommandTest.php index e3819045..944a6e45 100644 --- a/tests/Command/InstallCommandTest.php +++ b/tests/Command/InstallCommandTest.php @@ -10,6 +10,7 @@ namespace App\Tests\Command; use App\Command\InstallCommand; +use App\Constants; use App\Utils\File; use Symfony\Bundle\FrameworkBundle\Console\Application; use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; @@ -87,7 +88,10 @@ class InstallCommandTest extends KernelTestCase self::assertContains('[NOTE] Found ', $result); self::assertContains(' migrations in your database, skipping import', $result); - self::assertContains('[OK] Congratulations! Kimai 2 (0.9 stable) was successful installed!', $result); + self::assertContains( + sprintf('[OK] Congratulations! Kimai 2 (%s %s) was successful installed!', Constants::VERSION, Constants::STATUS), + $result + ); self::assertEquals(0, $commandTester->getStatusCode()); }