Skip to content

Commit

Permalink
Bumped version and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
abelardopardo committed Apr 6, 2024
1 parent df16757 commit 136c7f6
Show file tree
Hide file tree
Showing 37 changed files with 116 additions and 83 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ stages:
test:
stage: Run tests
script:
- coverage run ./manage.py test ontask.action ontask.column ontask.condition ontask.connection ontask.dataops ontask.logs ontask.scheduler ontask.table ontask.tasks ontask.workflow ontask.tests
- coverage run ./manage.py test -v2 --failfast ontask.action ontask.column ontask.condition ontask.connection ontask.dataops ontask.logs ontask.scheduler ontask.table ontask.tasks ontask.workflow ontask.tests
- coverage html
- coverage report
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
Expand Down
16 changes: 16 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# 11.1 (2024-04-06)

## Fixed

- OAuth token refresh when expired

## Added

- New configuration to improve logging when executing through Celery

## Changed

- Removed name from dictionary when getting students enrolled in Canvas Course

- SQLAlchemy engine management

# 11.0 (2023-12-27)

## Fixed
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# OnTask: Personalised feedback at scale

Current Version: 11.0 ([documentation](http://ontask-version-b.readthedocs. io/en/latest/))
Current Version: 11.1 ([documentation](http://ontask-version-b.readthedocs.
io/en/latest/))

![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/abelardopardo/ontask_b)
![Issues](https://img.shields.io/github/issues/abelardopardo/ontask_b.svg?style=flat-square)
Expand Down
Binary file modified docs/scaptures/action_URL_on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/action_action_in_URL.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/action_action_out_preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/action_edit_action_out.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/action_email_report_create.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/action_email_request_data.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/action_json_report_create.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/action_personalized_canvas_email_edit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/action_personalized_canvas_email_run.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/api_documentation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/api_workflow_detail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/logs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/rubric_edit_table_tab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/scenario_02_action_email.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/scenario_02_text_all_conditions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/scenario_03_email.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/scenario_03_text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/schedule_action_email.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/schedule_action_json.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/table_view_view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/table_views.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/tutorial_personalized_text_URL.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/tutorial_personalized_text_create.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/tutorial_survey_create.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/workflow_attributes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/scaptures/workflow_create.png
Binary file modified docs/scaptures/workflow_import.png
Binary file modified docs/scaptures/workflow_sql_connections_index.png
Binary file modified locale/es_ES/LC_MESSAGES/django.mo
Binary file not shown.
58 changes: 31 additions & 27 deletions locale/es_ES/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: 3.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-27 17:41+1030\n"
"PO-Revision-Date: 2023-12-27 17:43+1030\n"
"POT-Creation-Date: 2024-04-06 17:11+1030\n"
"PO-Revision-Date: 2024-04-06 17:12+1030\n"
"Last-Translator: Abelardo Pardo <[email protected]>\n"
"Language-Team: Abelardo Paro\n"
"Language: es\n"
Expand All @@ -18,19 +18,19 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.4.2\n"

#: ontask/__init__.py:149
#: ontask/__init__.py:152
msgid "The symbol ' cannot be used in the name."
msgstr "El símbolo ' no puede utilizarse en el nombre."

#: ontask/__init__.py:152
#: ontask/__init__.py:155
msgid "The symbol \" cannot be used in the name."
msgstr "El símbolo \" no se puede utilizar en el nombre."

#: ontask/__init__.py:155
#: ontask/__init__.py:158
msgid "The name cannot start with \"__\""
msgstr "El nombre no puede comenzar con “__”"

#: ontask/__init__.py:162
#: ontask/__init__.py:165
msgid "Copy of "
msgstr "Copia de "

Expand Down Expand Up @@ -782,36 +782,40 @@ msgstr "Conexiones SQL"
msgid "Athena Connections"
msgstr "Conexiones a Athena"

#: ontask/core/canvas_ops.py:146
#: ontask/core/canvas_ops.py:114
msgid "Unable to refresh OAuth access token"
msgstr "Imposible refrescar el token de acceso de OAuth."

#: ontask/core/canvas_ops.py:153
msgid "Unable to obtain Canvas OAuth information"
msgstr "Incapaz de obtener la información de Canvas OAuth"

#: ontask/core/canvas_ops.py:171
#: ontask/core/canvas_ops.py:178
#, python-brace-format
msgid "Error when invoking Canvas API: {0}."
msgstr "Error al invocar Canvas API: {0}"

#: ontask/core/canvas_ops.py:185
#: ontask/core/canvas_ops.py:192
msgid "Unable to find OAuth Information Record"
msgstr "No se ha encontrado información de OAuth para este elemento"

#: ontask/core/canvas_ops.py:193
#: ontask/core/canvas_ops.py:200
msgid "Incorrect execution due to absence of token"
msgstr "Ejecución incorrecta debido a la ausencia de token"

#: ontask/core/canvas_ops.py:203
#: ontask/core/canvas_ops.py:210
msgid "Empty course_id detected."
msgstr "Detectado course_id vacío."

#: ontask/core/canvas_ops.py:211
#: ontask/core/canvas_ops.py:218
msgid "Negative course id given."
msgstr "Detectado course_id negativo."

#: ontask/core/canvas_ops.py:216
#: ontask/core/canvas_ops.py:223
msgid "Incorrect course id given."
msgstr "Identificador de curso incorrecto."

#: ontask/core/canvas_ops.py:264
#: ontask/core/canvas_ops.py:271
#, python-brace-format
msgid "Incorrect response from API call {0}"
msgstr "Respuesta incorrecta tras la llamada a la API {0}"
Expand Down Expand Up @@ -1158,13 +1162,13 @@ msgid "Evaluation error: Type {0} not allowed with operator BETWEEN"
msgstr ""
"Error de evaluación: El tipo {0} no está permitido con el operador BETWEEN"

#: ontask/dataops/pandas/database.py:156 ontask/dataops/pandas/database.py:198
#: ontask/dataops/pandas/database.py:185 ontask/dataops/pandas/database.py:238
#: ontask/dataops/sql/column_queries.py:141
#, python-brace-format
msgid "Column name is longer than {0} characters"
msgstr "El nombre de la columna el más largo de {0} letras"

#: ontask/dataops/pandas/database.py:193
#: ontask/dataops/pandas/database.py:233
msgid ""
"The data has no column with unique values per row. At least one column must "
"have unique values."
Expand Down Expand Up @@ -1278,33 +1282,33 @@ msgstr "La clave “{0}” no está presente"
msgid "Unable to perform merge operation: {0}"
msgstr "No se ha podido ejecutar la operación de mezcla: {0}"

#: ontask/dataops/services/increase_track.py:42
#: ontask/dataops/services/increase_track.py:46
msgid "Non-GET request received in Track URL"
msgstr "Request de tipo no GET recibido en Track URL"

#: ontask/dataops/services/increase_track.py:46
#: ontask/dataops/services/increase_track.py:52
msgid "No dictionary in Track URL"
msgstr "No se ha encontrado el diccionario en la URL de Track"

#: ontask/dataops/services/increase_track.py:51
#: ontask/dataops/services/increase_track.py:59
msgid "No track_id found in request"
msgstr "No se ha encontrado track_id en el Request"

#: ontask/dataops/services/increase_track.py:57
#: ontask/dataops/services/increase_track.py:67
msgid "Bad signature in track_id"
msgstr "Signatura incorrecta in track_id"

#: ontask/dataops/services/increase_track.py:67
#: ontask/dataops/services/increase_track.py:78
#, python-format
msgid "Incorrect user email %s"
msgstr "Correo de usuario incorrecto %s"

#: ontask/dataops/services/increase_track.py:73
#: ontask/dataops/services/increase_track.py:85
#, python-format
msgid "Incorrect action id %s"
msgstr "Identificador de acción incorrecto %s"

#: ontask/dataops/services/increase_track.py:84
#: ontask/dataops/services/increase_track.py:96
#, python-format
msgid "Column %s does not exist"
msgstr "La columna %s no existe"
Expand Down Expand Up @@ -1539,7 +1543,7 @@ msgstr "Error: {0}"
msgid "Execute the transformation"
msgstr "Ejecutar la transformación"

#: ontask/dataops/services/sql_upload.py:78
#: ontask/dataops/services/sql_upload.py:82
msgid "Incorrect connection identifier."
msgstr "Identificador de conexión incorrecto."

Expand Down Expand Up @@ -1838,8 +1842,8 @@ msgstr "Nombre de la región AWS"
msgid "Table name"
msgstr "Nombre de la tabla"

#: ontask/models/athenaconnection.py:122 ontask/models/athenaconnection.py:126
#: ontask/models/sqlconnection.py:104
#: ontask/models/athenaconnection.py:117 ontask/models/athenaconnection.py:121
#: ontask/models/sqlconnection.py:102
msgid "REMOVED"
msgstr "OCULTADO"

Expand Down Expand Up @@ -2875,7 +2879,7 @@ msgstr "No se ha podido encontrar el flujo con identificador {0}"
msgid "Unable to find action with id {0}"
msgstr "No se ha encontrado una acción con identificador {0}"

#: ontask/tasks/execute.py:108
#: ontask/tasks/execute.py:119
#, python-brace-format
msgid "Error executing operation: {0}"
msgstr "Error al ejecutar operación: {0}"
Expand Down
58 changes: 32 additions & 26 deletions locale/fi/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 3.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-27 17:41+1030\n"
"POT-Creation-Date: 2024-04-06 17:11+1030\n"
"PO-Revision-Date: 2020-06-01 19:53+0300\n"
"Last-Translator: Joonas Pesonen <[email protected]>\n"
"Language-Team: \n"
Expand All @@ -18,19 +18,19 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.3.1\n"

#: ontask/__init__.py:149
#: ontask/__init__.py:152
msgid "The symbol ' cannot be used in the name."
msgstr "Symbolia ’ ei voi käyttää nimessä."

#: ontask/__init__.py:152
#: ontask/__init__.py:155
msgid "The symbol \" cannot be used in the name."
msgstr "Symbolia \" ei voi käyttää nimessä."

#: ontask/__init__.py:155
#: ontask/__init__.py:158
msgid "The name cannot start with \"__\""
msgstr "Nimi ei voi alkaa ”__”"

#: ontask/__init__.py:162
#: ontask/__init__.py:165
msgid "Copy of "
msgstr "Kopio kohteesta "

Expand Down Expand Up @@ -828,38 +828,44 @@ msgstr "SQL-yhteydet"
msgid "Athena Connections"
msgstr "Athena-yhteydet"

#: ontask/core/canvas_ops.py:146
#: ontask/core/canvas_ops.py:114
#, fuzzy
#| msgid "Unable to refresh OAuth token."
msgid "Unable to refresh OAuth access token"
msgstr "OAuth tokenia ei voitu päivittää."

#: ontask/core/canvas_ops.py:153
msgid "Unable to obtain Canvas OAuth information"
msgstr "Canvas OAuth -tietoja ei löytynyt"

#: ontask/core/canvas_ops.py:171
#: ontask/core/canvas_ops.py:178
#, python-brace-format
msgid "Error when invoking Canvas API: {0}."
msgstr "Virhe kutsuessa Canvas API: {0}."

#: ontask/core/canvas_ops.py:185
#: ontask/core/canvas_ops.py:192
msgid "Unable to find OAuth Information Record"
msgstr "OAuth Information Record ei löytynyt"

#: ontask/core/canvas_ops.py:193
#: ontask/core/canvas_ops.py:200
msgid "Incorrect execution due to absence of token"
msgstr "Virheellinen suoritus, token puuttuu"

#: ontask/core/canvas_ops.py:203
#: ontask/core/canvas_ops.py:210
msgid "Empty course_id detected."
msgstr ""

#: ontask/core/canvas_ops.py:211
#: ontask/core/canvas_ops.py:218
msgid "Negative course id given."
msgstr ""

#: ontask/core/canvas_ops.py:216
#: ontask/core/canvas_ops.py:223
#, fuzzy
#| msgid "Incorrect action id."
msgid "Incorrect course id given."
msgstr "Virheellinen toiminto-id {0}"

#: ontask/core/canvas_ops.py:264
#: ontask/core/canvas_ops.py:271
#, python-brace-format
msgid "Incorrect response from API call {0}"
msgstr ""
Expand Down Expand Up @@ -1222,13 +1228,13 @@ msgstr ""
msgid "Evaluation error: Type {0} not allowed with operator BETWEEN"
msgstr "Virhe: Tyyppi {0} ei ole sallittu operaattorin BETWEEN yhteydessä"

#: ontask/dataops/pandas/database.py:156 ontask/dataops/pandas/database.py:198
#: ontask/dataops/pandas/database.py:185 ontask/dataops/pandas/database.py:238
#: ontask/dataops/sql/column_queries.py:141
#, python-brace-format
msgid "Column name is longer than {0} characters"
msgstr "Sarakkeen nimi on pidempi kuin {0} merkkiä"

#: ontask/dataops/pandas/database.py:193
#: ontask/dataops/pandas/database.py:233
msgid ""
"The data has no column with unique values per row. At least one column must "
"have unique values."
Expand Down Expand Up @@ -1346,33 +1352,33 @@ msgstr ""
msgid "Unable to perform merge operation: {0}"
msgstr "Yhdistämistoimintoa ei voida suorittaa: {0}"

#: ontask/dataops/services/increase_track.py:42
#: ontask/dataops/services/increase_track.py:46
msgid "Non-GET request received in Track URL"
msgstr "Muu kuin GET-pyyntö vastaanotettu, Track URL"

#: ontask/dataops/services/increase_track.py:46
#: ontask/dataops/services/increase_track.py:52
msgid "No dictionary in Track URL"
msgstr "Ei sanakirjaa seurannan URL-osoitteessa"

#: ontask/dataops/services/increase_track.py:51
#: ontask/dataops/services/increase_track.py:59
msgid "No track_id found in request"
msgstr "Pyynnöstä puuttuu track_id"

#: ontask/dataops/services/increase_track.py:57
#: ontask/dataops/services/increase_track.py:67
msgid "Bad signature in track_id"
msgstr "Väärä allekirjoitus track_id:ssa"

#: ontask/dataops/services/increase_track.py:67
#: ontask/dataops/services/increase_track.py:78
#, python-format
msgid "Incorrect user email %s"
msgstr "Virheellinen käyttäjän sähköposti %s"

#: ontask/dataops/services/increase_track.py:73
#: ontask/dataops/services/increase_track.py:85
#, python-format
msgid "Incorrect action id %s"
msgstr "Virheellinen toiminto-id %s"

#: ontask/dataops/services/increase_track.py:84
#: ontask/dataops/services/increase_track.py:96
#, python-format
msgid "Column %s does not exist"
msgstr "Saraketta %s ei ole olemassa"
Expand Down Expand Up @@ -1605,7 +1611,7 @@ msgstr "Virhe: {0}"
msgid "Execute the transformation"
msgstr "Suorita muutos"

#: ontask/dataops/services/sql_upload.py:78
#: ontask/dataops/services/sql_upload.py:82
msgid "Incorrect connection identifier."
msgstr "Virheellinen yhteyden tunniste."

Expand Down Expand Up @@ -1914,8 +1920,8 @@ msgstr "AWS-alueen nimi"
msgid "Table name"
msgstr "Taulun nimi"

#: ontask/models/athenaconnection.py:122 ontask/models/athenaconnection.py:126
#: ontask/models/sqlconnection.py:104
#: ontask/models/athenaconnection.py:117 ontask/models/athenaconnection.py:121
#: ontask/models/sqlconnection.py:102
msgid "REMOVED"
msgstr "POISTETTU"

Expand Down Expand Up @@ -3007,7 +3013,7 @@ msgstr "Ei löydetty työnkulkua, jolla id {0}"
msgid "Unable to find action with id {0}"
msgstr "Ei löydetty toimintoa, jolla id {0}"

#: ontask/tasks/execute.py:108
#: ontask/tasks/execute.py:119
#, python-brace-format
msgid "Error executing operation: {0}"
msgstr "Virhe suorittaessa toimenpidettä: {0}"
Expand Down
Loading

0 comments on commit 136c7f6

Please sign in to comment.