1
0
Commit Graph

9399 Commits

Author SHA1 Message Date
f46e9cb64e Fixed typo in docker-compose example (#140)
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/140
Reviewed-by: konrad <konrad@kola-entertainments.de>
2020-02-17 16:47:55 +00:00
ce5be947b4 Add postgres support (#135)
Revert fixture fixes for postgres

Use postgres connection string with spaces instead of url

Fix label order

Make postgres tests in ci less verbose

Add sequence update script

Skip resets in postgres

Remove option to skip resets in postgres

Make postgres tests in ci verboseq

Update test fixtures database

Fix file tests on postgres

Add postgres options to sample config

Make sure tests init test fixtures before running the actual tests

Fix issues with IDs too big to fit in an int

Fix duplicate auto incremented IDs

Refactor / Fix team tests

Refactor team member tests

Fix team member create

Fix label test

Fix getting labels

Fix test fixtures for postgresql

Fix connection string params

Disable ssl mode on postgres integration tests

Disable ssl mode on postgres tests

Use sprintf to create the connection string for postgresql

fixup! Add postgres support

Add postgres support

Added generate as a make dependency for make build

Clarify docs on building

Co-authored-by: kolaente <k@knt.li>
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/135
2020-02-16 21:42:04 +00:00
7e42724439 Added generate as a make dependency for make build
Clarify docs on building

Signed-off-by: kolaente <k@knt.li>
2020-02-15 11:35:24 +01:00
0591531949 Fix adding a task to an empty list 2020-02-14 17:45:06 +01:00
00c1ed7ad7 Move "Next Week" section in menu below "Next Month" 2020-02-14 17:38:48 +01:00
caf91d1904 Update xorm to use the new import path (#133)
Fix ineffassign

Fix getting all labels including the ones not associated to a task

Signed-off-by: kolaente <k@knt.li>

Fix logging sql queries

Signed-off-by: kolaente <k@knt.li>

Start fixing getting all labels

Update xormigrate

Update xorm to use the new import path

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/133
2020-02-14 16:34:25 +00:00
014ec2be69 Use relative url in .gitmodules (#132)
Use relative url in .gitmodules

Co-authored-by: Simon Hilchenbach <simon@hilchenba.ch>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/132
Reviewed-by: konrad <konrad@kola-entertainments.de>
2020-02-13 21:18:49 +00:00
e0dcf1faa9 Load Fonts directly 2020-02-11 22:32:10 +01:00
1111d60d61 Preload fonts css 2020-02-11 22:21:25 +01:00
dd0703562f Improve link share layout 2020-02-09 17:54:02 +01:00
6258c59c18 Fix initial dates on task edit sidebar 2020-02-09 17:33:04 +01:00
301c23fa9a Add auto save for task edit sidebar 2020-02-09 17:30:42 +01:00
6324fc384b Move the Vikunja logo to the hamburger menu on mobile 2020-02-09 15:29:55 +01:00
2f2ddb4603 Hide the llama from the top on the task detail page 2020-02-09 15:22:42 +01:00
4f9f3afc34 Better wording for shared settings 2020-02-09 15:11:14 +01:00
866218c479 Add slight background change when hovering over a task in the list 2020-02-09 15:09:11 +01:00
4f81e96021 Fix label input field breaking in a new line on task detail page 2020-02-09 15:02:39 +01:00
63d21b54c4 Rearrange button order on task detail view 2020-02-09 14:54:09 +01:00
2223072881 Set the end date to the same as the due date if a start date was set but no end date 2020-02-09 14:52:45 +01:00
64cbfc113a Fix "Add a reminder" being shown 2020-02-09 14:48:21 +01:00
b41a4380d8 Add a button to the task detail page to mark a task as done 2020-02-09 14:46:01 +01:00
05da96e545 Use the same method everywhere to calculate the avatar url 2020-02-09 13:28:33 +01:00
783401723a Better default profile image 2020-02-09 13:16:34 +01:00
010812ef06 Don't try to cancel notifications if the browser does not support it 2020-02-09 13:12:54 +01:00
80b363872e Set user menu inactive when logging out 2020-02-09 13:07:31 +01:00
d42e88b26d But the add reminders button on the task detail page higher up 2020-02-09 12:50:57 +01:00
1df1be2eab Always schedule notification
(Caused bugs)
2020-02-09 10:48:39 +01:00
5d96c62a47 Fix time zone settings not working in Docker 2020-02-08 23:18:41 +01:00
1c3b35fa6f Add more logging to web handler methods 2020-02-08 22:45:38 +01:00
d84a160054 Remove double user field 2020-02-08 22:12:06 +01:00
37d6ceb963 Fix date handling on task detail page 2020-02-08 18:37:23 +01:00
04d7d48b68 Notifications for task reminders (#57)
Add actions for reminders

Remove scheduled reminders

Better styling

Start adding support for triggered offline notifications

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/57
2020-02-08 17:28:17 +00:00
161f853361 Make sure to use date objects everywhere where dealing with dates 2020-02-08 14:16:06 +01:00
db2d868eed Return iso dates for everything date related from the api (#130)
Remove traces of unix timestamp

Revert renaming reminder table column

Fix staticcheck

Remove unused table call

Add migration for renaming reminders table

Fix issues with using TimeStamp

Fix lint

Updated all created / updated fields to use TimeStamps

Add comments

Convert all created / updated fields to datetime

Add time util package

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/130
2020-02-08 12:48:49 +00:00
1f99238019 Update copyright header 2020-02-07 17:27:45 +01:00
fc17518e8c Add a link to vikunja.io (#56)
Add a link to vikunja.io

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/56
2020-01-31 16:33:34 +00:00
8dcabc9385 Only focus inputs if the viewport is large enough (#55)
Only focus inputs if the viewport is large enough

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/55
2020-01-31 16:19:04 +00:00
96fddd9bbd Fix task title on mobile (#54)
Use a contenteditable for task title to make it look good on mobile

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/54
2020-01-31 16:09:29 +00:00
604488c68c Fix using the error data prop in components (#53)
Fix error msg data props everywhere

Fix error msg data props

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/53
2020-01-31 15:33:14 +00:00
5f0b5a0945 Sort tasks on start page by due date desc and id desc 2020-01-31 11:09:45 +01:00
309f75b19d Task Search (#52)
Add hiding the search

Add actually searching for tasks

Fix jumping search button on page load

Add search button

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/52
2020-01-31 10:05:53 +00:00
c8130bef61 Directly link to the task for tasks on the start page 2020-01-30 22:50:28 +01:00
1170e030f6 Use message mixin for handling success and error messages (#51)
Use message mixin everywhere

Add mixin for success and error messages

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/51
2020-01-30 21:47:08 +00:00
a0c4732f81 Add moment.js for date related things (#50)
Fix saving

Use mixin everywhere

Format attachment dates

Add format date mixing

Use moment js on task list page

Use moment js on home page tasks

Add moment js

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/50
2020-01-30 20:49:00 +00:00
f603b41d99 Better efficency for loading teams (#128)
Fix staticcheck

Better performance for getting teams on a namespace

Better performance for getting teams on a list

Fix lint

Fix swagger

Signed-off-by: kolaente <k@knt.li>

Make loading a single full team more efficent

Signed-off-by: kolaente <k@knt.li>

Make loading teams more efficent

Signed-off-by: kolaente <k@knt.li>

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/128
2020-01-27 17:28:17 +00:00
2abb858859 Add rate limit by ip for non-authenticated routes (#127)
Add rate limit by ip for non-authenticated routes

Signed-off-by: kolaente <k@knt.li>

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/127
2020-01-26 19:53:47 +00:00
a464d1760c Add logging for invalid model errors (#126)
Add logging for invalid model errors

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/126
2020-01-26 19:40:23 +00:00
fc65052ba0 Add config options for task attachments (#125)
Add config options for task attachments

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/125
2020-01-26 19:10:31 +00:00
b2b1546a8f Add config options for cors handling (#124)
Add config options for cors handling

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/124
2020-01-26 19:09:54 +00:00
7e9446ea07 Refactor User and DB handling (#123)
fix copyright date

Add more user tests

More user tests

More user tests

Start refactoring user tests

Docs

Fix lint

Fix db fixtures init in tests

Fix models test

Fix loading fixtures

Fix ineffasign

Fix lint

Fix integration tests

Fix init of test engine creation

Fix user related tests

Better handling of creating test enging

Moved all fixtures to db package

Moved all fixtures to db package

Moved user related stuff to seperate package

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/123
2020-01-26 17:08:06 +00:00