Commit Graph

73 Commits (dfdea74c588aef3995533e2f586aec00fa76cea1)

Author SHA1 Message Date
Alejandro Alonso f66b4c9640 Refactoring bulk update order API calls 2016-07-28 15:35:15 +02:00
Alejandro Alonso 20a7595ca3 Including the gravatar id in the responses and not generating the gravatar avatar url by default 2016-07-08 09:36:32 +02:00
Alejandro Alonso 4864b9f957 Splitting validators and serializers 2016-07-06 12:46:53 +02:00
Jesús Espino 1336f5c8e9 Add gzip support to exports 2016-06-21 11:18:46 +02:00
David Barragán Merino 549c022bf8 Add license disclaimer to some files 2016-06-21 11:00:02 +02:00
David Barragán Merino 47907eedb4 Apply PEP-263 to taiga project 2016-05-30 20:41:40 +02:00
David Barragán Merino 38e5198cc9 Minor refactor over permissions module 2016-05-25 20:37:04 +02:00
Alejandro Alonso 4d1fb120b1 Improving performance when updating objects 2016-05-13 09:49:27 +02:00
David Barragán Merino bdb5a433f8 Remove some unused vars 2016-05-05 13:32:06 +02:00
David Barragán Merino 4516dbca49 Fix issue #4151: @mentions with dashes doesn't work 2016-05-05 13:27:40 +02:00
David Barragán Merino 283cf726b3 Fix issue #4114: Remove incomplete project if import process fail 2016-04-25 12:52:47 +02:00
Philipp Dörner a1bd320542 Refactored occurrences of users.User to get_user_model(), which allows a custom user model 2016-03-29 19:16:44 +02:00
Alejandro Alonso 6553ad34e4 Fixing deadlock and condition race errrors 2016-02-15 15:18:27 +01:00
David Barragán Merino 7b7548b47d Update django to 1.9 and the rest of requirements 2016-02-11 19:35:29 +01:00
Alejandro Alonso 6cf3c5727e Fixing serializers validation for duplicated names in priorities, severities and issue types 2016-02-05 12:43:46 +01:00
Andrey Antukh 9c4472a787 Add alejandro.alonso copyright preamble to test sources. 2016-01-08 16:08:46 +02:00
Andrey Antukh 501145bdcd Fix my email on copyright preamble on test source files. 2016-01-08 15:58:30 +02:00
Alejandro Alonso 4ea2262400 Issue #3492: Search fails if using quotating marks 2016-01-04 13:58:59 +01:00
David Barragán Merino f992d372df Update license message 2016-01-04 08:51:06 +01:00
Alejandro Alonso 448cc19185 Fixing ts_query function 2015-11-04 09:04:07 +01:00
David Barragán Merino 9b56a414f0 Fix dates in license messages. Change 2014 to 2014-2015 2015-10-13 11:27:15 +02:00
David Barragán Merino a7a6bd3a1c Migrate to django 1.8 and make taiga compatible with python 3.5 2015-10-13 11:27:14 +02:00
Alejandro Alonso cde9b77c0d Improving memory usage on project export 2015-09-24 20:36:04 +02:00
Alejandro Alonso aff9a7d637 Fixing created datetime for timeline entries 2015-06-19 11:14:03 +02:00
Alejandro Alonso 29b75dc78a [Backport] Fixing contacts and stats endpoints for users API 2015-06-01 11:44:59 +02:00
Alejandro Alonso 4e25b5fa97 Updating tests and adding new ones for timeline 2015-04-21 16:21:35 +02:00
Alejandro Alonso 4d4b52075e Bug 2444 links in rich content editor 2015-03-13 15:01:56 +01:00
Jesús Espino c328414b4d Fixing a lot of flake8 errors on tests 2015-02-24 19:54:10 +01:00
Jesús Espino f30b8f8451 Moving tests from taiga-back to the plugin repository 2015-02-24 13:10:57 +01:00
Jesús Espino c517a8519c Allow auth plugins 2015-02-11 09:36:56 +01:00
Jesús Espino d98e9a2fc7 Fix wiki reference link title attribute 2015-02-10 17:17:16 +01:00
David Barragán Merino 0d70eb088a [backport] tg-1783 #ready-for-test - Fix wiki links compatibility 2014-12-10 21:28:20 +01:00
Jesús Espino 929ab47249 Merge pull request #178 from taigaio/bug/1668/fix-wiki-links-in-markdown-2
Bug tg-1668 #closed - Convert relative links to absolute links
2014-12-01 10:32:23 +01:00
David Barragán Merino e1f95ec391 Add copyright policy 2014-11-30 11:27:16 +01:00
David Barragán Merino 8b63dc8fa3 Bug tg-1668 #closed - Convert relative links to absolute links 2014-11-29 19:19:39 +01:00
David Barragán Merino 30ca702323 Fix wikilink extension: use absolute urls 2014-11-26 09:35:28 +01:00
David Barragán Merino fa1e0c6bf6 Fix some tests 2014-11-25 18:43:40 +01:00
David Barragán Merino 61141c321e Fix connectors_github tests 2014-11-06 19:36:34 +01:00
Jesús Espino c83ffa8529 Fix issue #1500: Now generated html is escaped 2014-10-31 13:10:34 +01:00
Alejandro Alonso 126e02ce39 Fixing error when importing issues, the finished date was set to none by signals. Added some tests 2014-10-29 13:27:49 +01:00
Alejandro Alonso 2cc65a17cb Fixing error when recovering the user token and the key doesn't exist 2014-10-20 09:40:51 +02:00
Alejandro Alonso 1c0d6cd706 [backport] Making the project name not mandatory and using the owner username for the slug generation 2014-10-03 22:38:54 +02:00
Andrey Antukh 3061425a67 Improvements and fixes on tests. 2014-09-16 10:48:43 +02:00
Jesús Espino 1c72ddb01e Fixed mdrender tests 2014-08-27 10:36:36 +02:00
Jesús Espino bb88966635 Fixed some errors and tests on mdrender 2014-07-31 08:59:12 +02:00
Jesús Espino d97edb464c [HUGE CHANGE] Changed the permissions system 2014-07-24 12:19:06 +02:00
Anler Hp 82ddeb69a7 USs: class-based to function-based services 2014-07-11 01:04:27 +02:00
Anler Hp 40260c82ad Tasks: class-based to function-based services 2014-07-11 01:04:17 +02:00
Anler Hp 0ff888df53 Support for CELERY_ALWAYS_EAGER 2014-07-02 13:40:36 +02:00
Anler Hp 0e414267db Integration with RabbitMQ and Celery
First update taiga-vagrant vm if you're using it, you will have access
to the rabbit management console at port 8001 of the host machine.

* Defining tasks
- Tasks must be defined in a `deferred` module of an app, for example,
`taiga.projects.deferred` module.
- Tasks must be decorated and given the name "<app>.<task-name>", for
example in `taiga.projects.deferred` module:
```
from taiga.celery import app

@app.task(name="projects.add")
def add(x, y):
    return x + y
```
- Tasks should be at most just wrappers around service functions to
promote re-usability of those functions from other parts of the code,
say, management commands and the like.

* Calling tasks
Tasks should be called using one of the three functions defined in
`taiga.deferred` module:

- `defer`: Use this function if you need to perform some task
asynchronously and GET THE RESULT back later, for example:
```
result = defer("projects.add", x=1, y=2)
...
result.get() # => 3
```

- `call_async`: Use this function when you want to fire off some
task. No result is get back. For example:
```
call_async("projects.email_user", user)
```

- `apply_async`: Is the same as `call_async` but since it's a function
application and you must pass the args and kwargs together as one
parameter each you are allowed to pass celery-specific
extra-options (but bear in mind this is not recommended!)
```
apply_async("projects.email_user", args=(user,), kwargs={}, routing_key="tasks.email")
```
2014-07-02 09:49:56 +02:00