platform-plugin-aspects 0.11.4__tar.gz → 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/MANIFEST.in +0 -1
  2. {platform_plugin_aspects-0.11.4/platform_plugin_aspects.egg-info → platform_plugin_aspects-1.0.0}/PKG-INFO +25 -230
  3. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/README.rst +11 -2
  4. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/__init__.py +1 -1
  5. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/extensions/filters.py +9 -3
  6. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/xblock.py +4 -4
  7. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0/platform_plugin_aspects.egg-info}/PKG-INFO +25 -230
  8. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects.egg-info/SOURCES.txt +0 -1
  9. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/setup.py +3 -6
  10. platform_plugin_aspects-0.11.4/CHANGELOG.rst +0 -222
  11. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/LICENSE +0 -0
  12. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/apps.py +0 -0
  13. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/extensions/__init__.py +0 -0
  14. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/management/__init__.py +0 -0
  15. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/management/commands/__init__.py +0 -0
  16. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/management/commands/dump_data_to_clickhouse.py +0 -0
  17. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/management/commands/load_test_tracking_events.py +0 -0
  18. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/management/commands/monitor_load_test_tracking.py +0 -0
  19. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/settings/__init__.py +0 -0
  20. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/settings/common.py +0 -0
  21. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/settings/production.py +0 -0
  22. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/signals.py +0 -0
  23. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/sinks/__init__.py +0 -0
  24. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/sinks/base_sink.py +0 -0
  25. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/sinks/course_enrollment_sink.py +0 -0
  26. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/sinks/course_overview_sink.py +0 -0
  27. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/sinks/external_id_sink.py +0 -0
  28. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/sinks/serializers.py +0 -0
  29. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/sinks/tag_sink.py +0 -0
  30. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/sinks/user_profile_sink.py +0 -0
  31. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/sinks/user_retire_sink.py +0 -0
  32. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/static/css/superset.css +0 -0
  33. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/static/html/superset.html +0 -0
  34. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/static/html/superset_student.html +0 -0
  35. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/static/js/embed_dashboard.js +0 -0
  36. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/static/js/install_required.js +0 -0
  37. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/static/js/superset.js +0 -0
  38. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/tasks.py +0 -0
  39. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/templates/instructor_dashboard/aspects.html +0 -0
  40. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/urls.py +0 -0
  41. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/utils.py +0 -0
  42. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/views.py +0 -0
  43. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects/waffle.py +0 -0
  44. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects.egg-info/dependency_links.txt +0 -0
  45. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects.egg-info/entry_points.txt +0 -0
  46. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects.egg-info/not-zip-safe +0 -0
  47. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects.egg-info/requires.txt +0 -0
  48. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/platform_plugin_aspects.egg-info/top_level.txt +0 -0
  49. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/requirements/base.in +0 -0
  50. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/requirements/constraints.txt +0 -0
  51. {platform_plugin_aspects-0.11.4 → platform_plugin_aspects-1.0.0}/setup.cfg +0 -0
@@ -1,4 +1,3 @@
1
- include CHANGELOG.rst
2
1
  include LICENSE.txt
3
2
  include README.rst
4
3
  include requirements/base.in
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: platform-plugin-aspects
3
- Version: 0.11.4
3
+ Version: 1.0.0
4
4
  Summary: Aspects plugins for edx-platform
5
5
  Home-page: https://github.com/openedx/platform-plugin-aspects
6
6
  Author: Open edX Project
@@ -14,9 +14,9 @@ Classifier: Intended Audience :: Developers
14
14
  Classifier: License :: OSI Approved :: Apache Software License
15
15
  Classifier: Natural Language :: English
16
16
  Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.8
18
17
  Classifier: Programming Language :: Python :: 3.11
19
- Requires-Python: >=3.8
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Requires-Python: >=3.11
20
20
  License-File: LICENSE
21
21
  Requires-Dist: Django
22
22
  Requires-Dist: XBlock
@@ -32,6 +32,16 @@ Requires-Dist: redis
32
32
  Requires-Dist: requests
33
33
  Requires-Dist: superset-api-client
34
34
  Requires-Dist: web_fragments
35
+ Dynamic: author
36
+ Dynamic: author-email
37
+ Dynamic: classifier
38
+ Dynamic: description
39
+ Dynamic: home-page
40
+ Dynamic: keywords
41
+ Dynamic: license
42
+ Dynamic: requires-dist
43
+ Dynamic: requires-python
44
+ Dynamic: summary
35
45
 
36
46
  Platform Plugin Aspects
37
47
  #######################
@@ -39,7 +49,15 @@ Platform Plugin Aspects
39
49
  Purpose
40
50
  *******
41
51
 
42
- This repository holds various Aspects plugins for the Open edX platform.
52
+ This repository holds various Aspects plugins for the Open edX platform including the
53
+ event sinks that move data from the LMS to ClickHouse and the embbedding of Superset
54
+ dashboards back into the platform.
55
+
56
+ Version Compatibility
57
+ *********************
58
+
59
+ `platform-plugin-aspects` version 1.x: Nutmeg to Sumac
60
+ `platform-plugin-aspects` version 2.x: Redwood and above
43
61
 
44
62
  Sinks
45
63
  *****
@@ -67,7 +85,7 @@ Commands
67
85
  In addition to being an event listener, this package provides the following commands:
68
86
 
69
87
  - `dump_data_to_clickhouse` - This command allows bulk export of the data from the Sinks.
70
- Allows bootstrapping a new data platform or backfilling lost or missing data.
88
+ Allows bootstrapping a new data platform or backfilling lost or missing data. More information can be found in the `Aspects backfill documentation`_.
71
89
 
72
90
  ``python manage.py cms dump_data_to_clickhouse``
73
91
 
@@ -260,227 +278,4 @@ Please do not report security issues in public. Please email security@openedx.or
260
278
  .. _Aspects: https://docs.openedx.org/projects/openedx-aspects/en/latest/index.html
261
279
  .. _Superset Embedded SDK: https://www.npmjs.com/package/@superset-ui/embedded-sdk
262
280
  .. _Open edX Filters: https://docs.openedx.org/projects/openedx-filters/en/latest/
263
-
264
-
265
- Change Log
266
- ##########
267
-
268
- ..
269
- All enhancements and patches to platform_plugin_aspects will be documented
270
- in this file. It adheres to the structure of https://keepachangelog.com/ ,
271
- but in reStructuredText instead of Markdown (for ease of incorporation into
272
- Sphinx documentation and the PyPI description).
273
-
274
- This project adheres to Semantic Versioning (https://semver.org/).
275
-
276
- .. There should always be an "Unreleased" section for changes pending release.
277
-
278
- Unreleased
279
- **********
280
-
281
- 0.11.2 - 2024-10-04
282
- *******************
283
-
284
- Fixes
285
- =====
286
-
287
- * wait for transaction commit before trying to sink models.
288
-
289
- 0.11.1 - 2024-09-06
290
- *******************
291
-
292
- Fixes
293
- =====
294
-
295
- * delay loading of unfocused dashboards in LMS.
296
-
297
- 0.11.0 - 2024-09-04
298
- *******************
299
-
300
- Added
301
- =====
302
-
303
- * A sink for the object tags, tags and taxonomy.
304
-
305
- 0.10.0 - 2024-06-17
306
- *******************
307
-
308
- Added
309
- =====
310
-
311
- * A sink for the course enrollment model.
312
-
313
- 0.9.7 - 2024-06-14
314
- ******************
315
-
316
- Fixes
317
- =====
318
-
319
- * 0.9.6 introduced a bug in the CourseOverview sink that caused block sink to fail to import to ClickHouse, this fixes it.
320
-
321
-
322
- 0.9.6 - 2024-06-07
323
- ******************
324
-
325
- Fixes
326
- =====
327
-
328
- * The CourseOutline sink was not always ordering blocks correctly, leading to issues with blocks appearing in the wrong sections/subsection.
329
-
330
-
331
- 0.9.5 - 2024-05-24
332
- ******************
333
-
334
- Fixes
335
- =====
336
-
337
- * UserProfile sink now runs after the transaction is committed, preventing UserProfileNotFound errors and creation of rows in ClickHouse that don't exist in MySQL in the case of a rollback.
338
-
339
-
340
- 0.9.4 - 2024-05-16
341
- ******************
342
-
343
- Fixes
344
- =====
345
-
346
- * Allow to serialize dates as strings in JSON.
347
-
348
- 0.9.3 - 2024-05-15
349
- ******************
350
-
351
- Fixes
352
- =====
353
-
354
- * Change wording of the "go to Superset" link, and make it optional.
355
-
356
-
357
- 0.9.2 - 2024-05-08
358
- ******************
359
-
360
- Fixes
361
- =====
362
-
363
- * Remove caching of Superset guest token to fix various display errors and token refresh edge cases.
364
-
365
- 0.9.1 - 2024-05-08
366
- ******************
367
-
368
- Fixes
369
- =====
370
-
371
- * Fix an ImportError in the Aspects Xblock on pre-Quince releases
372
-
373
-
374
- 0.9.0 - 2024-05-06
375
- ******************
376
-
377
- Added
378
- =====
379
-
380
- * Allow embedded dashboard tab names to be localized
381
-
382
- 0.8.0 - 2024-05-06
383
- ******************
384
-
385
- Added
386
- =====
387
-
388
- * Added tags to xblocks in course dump
389
-
390
-
391
- 0.7.4 - 2024-04-30
392
- ******************
393
-
394
- Fixed
395
- =====
396
- * Fixed Superset XBlock and default filters.
397
-
398
- 0.7.3 - 2024-04-30
399
- ******************
400
-
401
- Fixed
402
- =====
403
-
404
- * Fixed UUID generation for localized Superset assets, which caused embedded
405
- dashboards to fail to load when localized.
406
-
407
- 0.7.2 - 2024-04-19
408
- ******************
409
-
410
- Fixed
411
- =====
412
-
413
- * Fixed cms url configuration
414
-
415
- 0.7.1 - 2024-04-17
416
- ******************
417
-
418
- Fixed
419
- =====
420
-
421
- * Fixed issue with embedded dashboards throwing javascript errors
422
- * Fixed issues with translated embedded dashboards erroring in Superset
423
-
424
- 0.7.0 - 2024-04-12
425
- ******************
426
-
427
- Added
428
- =====
429
-
430
- * Add endpoint for fetchGuestToken
431
-
432
- 0.6.0 - 2024-04-08
433
- ******************
434
-
435
- Added
436
- =====
437
-
438
- * Allow to embed translated Superset Dashboards.
439
-
440
- 0.5.0 - 2024-04-01
441
- ******************
442
-
443
- Added
444
- =====
445
-
446
- * Load testing and test monitoring scripts.
447
-
448
- 0.4.0 - 2024-03-18
449
- ******************
450
-
451
- Added
452
- =====
453
-
454
- * Embed multiple Superset Dashboards.
455
-
456
- 0.3.1 - 2024-03-14
457
- ******************
458
-
459
- Added
460
- =====
461
-
462
- * Fixed development server configuration.
463
-
464
- 0.3.0 – 2024-03-10
465
- ******************
466
-
467
- Added
468
- =====
469
-
470
- * Imported XBlock code from platform-plugin-superset
471
-
472
- 0.2.0 – 2024-03-05
473
- ******************
474
-
475
- Added
476
- =====
477
-
478
- * Imported code from event-sink-clickhouse.
479
-
480
- 0.1.0 – 2024-02-29
481
- **********************************************
482
-
483
- Added
484
- =====
485
-
486
- * First release on PyPI.
281
+ .. _Aspects backfill documentation: https://docs.openedx.org/projects/openedx-aspects/en/latest/technical_documentation/how-tos/backfill.html
@@ -4,7 +4,15 @@ Platform Plugin Aspects
4
4
  Purpose
5
5
  *******
6
6
 
7
- This repository holds various Aspects plugins for the Open edX platform.
7
+ This repository holds various Aspects plugins for the Open edX platform including the
8
+ event sinks that move data from the LMS to ClickHouse and the embbedding of Superset
9
+ dashboards back into the platform.
10
+
11
+ Version Compatibility
12
+ *********************
13
+
14
+ `platform-plugin-aspects` version 1.x: Nutmeg to Sumac
15
+ `platform-plugin-aspects` version 2.x: Redwood and above
8
16
 
9
17
  Sinks
10
18
  *****
@@ -32,7 +40,7 @@ Commands
32
40
  In addition to being an event listener, this package provides the following commands:
33
41
 
34
42
  - `dump_data_to_clickhouse` - This command allows bulk export of the data from the Sinks.
35
- Allows bootstrapping a new data platform or backfilling lost or missing data.
43
+ Allows bootstrapping a new data platform or backfilling lost or missing data. More information can be found in the `Aspects backfill documentation`_.
36
44
 
37
45
  ``python manage.py cms dump_data_to_clickhouse``
38
46
 
@@ -225,3 +233,4 @@ Please do not report security issues in public. Please email security@openedx.or
225
233
  .. _Aspects: https://docs.openedx.org/projects/openedx-aspects/en/latest/index.html
226
234
  .. _Superset Embedded SDK: https://www.npmjs.com/package/@superset-ui/embedded-sdk
227
235
  .. _Open edX Filters: https://docs.openedx.org/projects/openedx-filters/en/latest/
236
+ .. _Aspects backfill documentation: https://docs.openedx.org/projects/openedx-aspects/en/latest/technical_documentation/how-tos/backfill.html
@@ -5,6 +5,6 @@ Aspects plugins for edx-platform.
5
5
  import os
6
6
  from pathlib import Path
7
7
 
8
- __version__ = "0.11.4"
8
+ __version__ = "1.0.0"
9
9
 
10
10
  ROOT_DIRECTORY = Path(os.path.dirname(os.path.abspath(__file__)))
@@ -2,7 +2,8 @@
2
2
  Open edX Filters needed for Aspects integration.
3
3
  """
4
4
 
5
- import pkg_resources
5
+ import importlib.resources
6
+
6
7
  from crum import get_current_user
7
8
  from django.conf import settings
8
9
  from django.template import Context, Template
@@ -78,5 +79,10 @@ class AddSupersetTab(PipelineStep):
78
79
 
79
80
  def resource_string(self, path):
80
81
  """Handy helper for getting resources from our kit."""
81
- data = pkg_resources.resource_string("platform_plugin_aspects", path)
82
- return data.decode("utf8")
82
+ data = (
83
+ importlib.resources.files("platform_plugin_aspects")
84
+ .joinpath(path)
85
+ .read_text(encoding="utf-8")
86
+ )
87
+
88
+ return data
@@ -2,10 +2,11 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
+ import importlib.resources
5
6
  import json
6
7
  import logging
8
+ import os
7
9
 
8
- import pkg_resources
9
10
  from django.core.exceptions import ImproperlyConfigured
10
11
  from django.utils import translation
11
12
  from web_fragments.fragment import Fragment
@@ -192,9 +193,8 @@ class SupersetXBlock(StudioEditableXBlockMixin, XBlock):
192
193
  text_js = "public/js/translations/{locale_code}/text.js"
193
194
  lang_code = locale_code.split("-")[0]
194
195
  for code in (locale_code, lang_code, "en"):
195
- if pkg_resources.resource_exists(
196
- loader.module_name, text_js.format(locale_code=code)
197
- ):
196
+ path_names = os.path.split(text_js.format(locale_code=code))
197
+ if importlib.resources.files(__package__).joinpath(*path_names).is_file():
198
198
  return text_js.format(locale_code=code)
199
199
  return None
200
200
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: platform-plugin-aspects
3
- Version: 0.11.4
3
+ Version: 1.0.0
4
4
  Summary: Aspects plugins for edx-platform
5
5
  Home-page: https://github.com/openedx/platform-plugin-aspects
6
6
  Author: Open edX Project
@@ -14,9 +14,9 @@ Classifier: Intended Audience :: Developers
14
14
  Classifier: License :: OSI Approved :: Apache Software License
15
15
  Classifier: Natural Language :: English
16
16
  Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.8
18
17
  Classifier: Programming Language :: Python :: 3.11
19
- Requires-Python: >=3.8
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Requires-Python: >=3.11
20
20
  License-File: LICENSE
21
21
  Requires-Dist: Django
22
22
  Requires-Dist: XBlock
@@ -32,6 +32,16 @@ Requires-Dist: redis
32
32
  Requires-Dist: requests
33
33
  Requires-Dist: superset-api-client
34
34
  Requires-Dist: web_fragments
35
+ Dynamic: author
36
+ Dynamic: author-email
37
+ Dynamic: classifier
38
+ Dynamic: description
39
+ Dynamic: home-page
40
+ Dynamic: keywords
41
+ Dynamic: license
42
+ Dynamic: requires-dist
43
+ Dynamic: requires-python
44
+ Dynamic: summary
35
45
 
36
46
  Platform Plugin Aspects
37
47
  #######################
@@ -39,7 +49,15 @@ Platform Plugin Aspects
39
49
  Purpose
40
50
  *******
41
51
 
42
- This repository holds various Aspects plugins for the Open edX platform.
52
+ This repository holds various Aspects plugins for the Open edX platform including the
53
+ event sinks that move data from the LMS to ClickHouse and the embbedding of Superset
54
+ dashboards back into the platform.
55
+
56
+ Version Compatibility
57
+ *********************
58
+
59
+ `platform-plugin-aspects` version 1.x: Nutmeg to Sumac
60
+ `platform-plugin-aspects` version 2.x: Redwood and above
43
61
 
44
62
  Sinks
45
63
  *****
@@ -67,7 +85,7 @@ Commands
67
85
  In addition to being an event listener, this package provides the following commands:
68
86
 
69
87
  - `dump_data_to_clickhouse` - This command allows bulk export of the data from the Sinks.
70
- Allows bootstrapping a new data platform or backfilling lost or missing data.
88
+ Allows bootstrapping a new data platform or backfilling lost or missing data. More information can be found in the `Aspects backfill documentation`_.
71
89
 
72
90
  ``python manage.py cms dump_data_to_clickhouse``
73
91
 
@@ -260,227 +278,4 @@ Please do not report security issues in public. Please email security@openedx.or
260
278
  .. _Aspects: https://docs.openedx.org/projects/openedx-aspects/en/latest/index.html
261
279
  .. _Superset Embedded SDK: https://www.npmjs.com/package/@superset-ui/embedded-sdk
262
280
  .. _Open edX Filters: https://docs.openedx.org/projects/openedx-filters/en/latest/
263
-
264
-
265
- Change Log
266
- ##########
267
-
268
- ..
269
- All enhancements and patches to platform_plugin_aspects will be documented
270
- in this file. It adheres to the structure of https://keepachangelog.com/ ,
271
- but in reStructuredText instead of Markdown (for ease of incorporation into
272
- Sphinx documentation and the PyPI description).
273
-
274
- This project adheres to Semantic Versioning (https://semver.org/).
275
-
276
- .. There should always be an "Unreleased" section for changes pending release.
277
-
278
- Unreleased
279
- **********
280
-
281
- 0.11.2 - 2024-10-04
282
- *******************
283
-
284
- Fixes
285
- =====
286
-
287
- * wait for transaction commit before trying to sink models.
288
-
289
- 0.11.1 - 2024-09-06
290
- *******************
291
-
292
- Fixes
293
- =====
294
-
295
- * delay loading of unfocused dashboards in LMS.
296
-
297
- 0.11.0 - 2024-09-04
298
- *******************
299
-
300
- Added
301
- =====
302
-
303
- * A sink for the object tags, tags and taxonomy.
304
-
305
- 0.10.0 - 2024-06-17
306
- *******************
307
-
308
- Added
309
- =====
310
-
311
- * A sink for the course enrollment model.
312
-
313
- 0.9.7 - 2024-06-14
314
- ******************
315
-
316
- Fixes
317
- =====
318
-
319
- * 0.9.6 introduced a bug in the CourseOverview sink that caused block sink to fail to import to ClickHouse, this fixes it.
320
-
321
-
322
- 0.9.6 - 2024-06-07
323
- ******************
324
-
325
- Fixes
326
- =====
327
-
328
- * The CourseOutline sink was not always ordering blocks correctly, leading to issues with blocks appearing in the wrong sections/subsection.
329
-
330
-
331
- 0.9.5 - 2024-05-24
332
- ******************
333
-
334
- Fixes
335
- =====
336
-
337
- * UserProfile sink now runs after the transaction is committed, preventing UserProfileNotFound errors and creation of rows in ClickHouse that don't exist in MySQL in the case of a rollback.
338
-
339
-
340
- 0.9.4 - 2024-05-16
341
- ******************
342
-
343
- Fixes
344
- =====
345
-
346
- * Allow to serialize dates as strings in JSON.
347
-
348
- 0.9.3 - 2024-05-15
349
- ******************
350
-
351
- Fixes
352
- =====
353
-
354
- * Change wording of the "go to Superset" link, and make it optional.
355
-
356
-
357
- 0.9.2 - 2024-05-08
358
- ******************
359
-
360
- Fixes
361
- =====
362
-
363
- * Remove caching of Superset guest token to fix various display errors and token refresh edge cases.
364
-
365
- 0.9.1 - 2024-05-08
366
- ******************
367
-
368
- Fixes
369
- =====
370
-
371
- * Fix an ImportError in the Aspects Xblock on pre-Quince releases
372
-
373
-
374
- 0.9.0 - 2024-05-06
375
- ******************
376
-
377
- Added
378
- =====
379
-
380
- * Allow embedded dashboard tab names to be localized
381
-
382
- 0.8.0 - 2024-05-06
383
- ******************
384
-
385
- Added
386
- =====
387
-
388
- * Added tags to xblocks in course dump
389
-
390
-
391
- 0.7.4 - 2024-04-30
392
- ******************
393
-
394
- Fixed
395
- =====
396
- * Fixed Superset XBlock and default filters.
397
-
398
- 0.7.3 - 2024-04-30
399
- ******************
400
-
401
- Fixed
402
- =====
403
-
404
- * Fixed UUID generation for localized Superset assets, which caused embedded
405
- dashboards to fail to load when localized.
406
-
407
- 0.7.2 - 2024-04-19
408
- ******************
409
-
410
- Fixed
411
- =====
412
-
413
- * Fixed cms url configuration
414
-
415
- 0.7.1 - 2024-04-17
416
- ******************
417
-
418
- Fixed
419
- =====
420
-
421
- * Fixed issue with embedded dashboards throwing javascript errors
422
- * Fixed issues with translated embedded dashboards erroring in Superset
423
-
424
- 0.7.0 - 2024-04-12
425
- ******************
426
-
427
- Added
428
- =====
429
-
430
- * Add endpoint for fetchGuestToken
431
-
432
- 0.6.0 - 2024-04-08
433
- ******************
434
-
435
- Added
436
- =====
437
-
438
- * Allow to embed translated Superset Dashboards.
439
-
440
- 0.5.0 - 2024-04-01
441
- ******************
442
-
443
- Added
444
- =====
445
-
446
- * Load testing and test monitoring scripts.
447
-
448
- 0.4.0 - 2024-03-18
449
- ******************
450
-
451
- Added
452
- =====
453
-
454
- * Embed multiple Superset Dashboards.
455
-
456
- 0.3.1 - 2024-03-14
457
- ******************
458
-
459
- Added
460
- =====
461
-
462
- * Fixed development server configuration.
463
-
464
- 0.3.0 – 2024-03-10
465
- ******************
466
-
467
- Added
468
- =====
469
-
470
- * Imported XBlock code from platform-plugin-superset
471
-
472
- 0.2.0 – 2024-03-05
473
- ******************
474
-
475
- Added
476
- =====
477
-
478
- * Imported code from event-sink-clickhouse.
479
-
480
- 0.1.0 – 2024-02-29
481
- **********************************************
482
-
483
- Added
484
- =====
485
-
486
- * First release on PyPI.
281
+ .. _Aspects backfill documentation: https://docs.openedx.org/projects/openedx-aspects/en/latest/technical_documentation/how-tos/backfill.html
@@ -142,15 +142,12 @@ if sys.argv[-1] == "tag":
142
142
  README = open(
143
143
  os.path.join(os.path.dirname(__file__), "README.rst"), encoding="utf8"
144
144
  ).read()
145
- CHANGELOG = open(
146
- os.path.join(os.path.dirname(__file__), "CHANGELOG.rst"), encoding="utf8"
147
- ).read()
148
145
 
149
146
  setup(
150
147
  name="platform-plugin-aspects",
151
148
  version=VERSION,
152
149
  description="""Aspects plugins for edx-platform""",
153
- long_description=README + "\n\n" + CHANGELOG,
150
+ long_description=README,
154
151
  author="Open edX Project",
155
152
  author_email="oscm@openedx.org",
156
153
  url="https://github.com/openedx/platform-plugin-aspects",
@@ -160,7 +157,7 @@ setup(
160
157
  ),
161
158
  include_package_data=True,
162
159
  install_requires=load_requirements("requirements/base.in"),
163
- python_requires=">=3.8",
160
+ python_requires=">=3.11",
164
161
  license="Apache 2.0",
165
162
  zip_safe=False,
166
163
  keywords="Python edx",
@@ -172,8 +169,8 @@ setup(
172
169
  "License :: OSI Approved :: Apache Software License",
173
170
  "Natural Language :: English",
174
171
  "Programming Language :: Python :: 3",
175
- "Programming Language :: Python :: 3.8",
176
172
  "Programming Language :: Python :: 3.11",
173
+ "Programming Language :: Python :: 3.12",
177
174
  ],
178
175
  entry_points={
179
176
  "lms.djangoapp": [
@@ -1,222 +0,0 @@
1
- Change Log
2
- ##########
3
-
4
- ..
5
- All enhancements and patches to platform_plugin_aspects will be documented
6
- in this file. It adheres to the structure of https://keepachangelog.com/ ,
7
- but in reStructuredText instead of Markdown (for ease of incorporation into
8
- Sphinx documentation and the PyPI description).
9
-
10
- This project adheres to Semantic Versioning (https://semver.org/).
11
-
12
- .. There should always be an "Unreleased" section for changes pending release.
13
-
14
- Unreleased
15
- **********
16
-
17
- 0.11.2 - 2024-10-04
18
- *******************
19
-
20
- Fixes
21
- =====
22
-
23
- * wait for transaction commit before trying to sink models.
24
-
25
- 0.11.1 - 2024-09-06
26
- *******************
27
-
28
- Fixes
29
- =====
30
-
31
- * delay loading of unfocused dashboards in LMS.
32
-
33
- 0.11.0 - 2024-09-04
34
- *******************
35
-
36
- Added
37
- =====
38
-
39
- * A sink for the object tags, tags and taxonomy.
40
-
41
- 0.10.0 - 2024-06-17
42
- *******************
43
-
44
- Added
45
- =====
46
-
47
- * A sink for the course enrollment model.
48
-
49
- 0.9.7 - 2024-06-14
50
- ******************
51
-
52
- Fixes
53
- =====
54
-
55
- * 0.9.6 introduced a bug in the CourseOverview sink that caused block sink to fail to import to ClickHouse, this fixes it.
56
-
57
-
58
- 0.9.6 - 2024-06-07
59
- ******************
60
-
61
- Fixes
62
- =====
63
-
64
- * The CourseOutline sink was not always ordering blocks correctly, leading to issues with blocks appearing in the wrong sections/subsection.
65
-
66
-
67
- 0.9.5 - 2024-05-24
68
- ******************
69
-
70
- Fixes
71
- =====
72
-
73
- * UserProfile sink now runs after the transaction is committed, preventing UserProfileNotFound errors and creation of rows in ClickHouse that don't exist in MySQL in the case of a rollback.
74
-
75
-
76
- 0.9.4 - 2024-05-16
77
- ******************
78
-
79
- Fixes
80
- =====
81
-
82
- * Allow to serialize dates as strings in JSON.
83
-
84
- 0.9.3 - 2024-05-15
85
- ******************
86
-
87
- Fixes
88
- =====
89
-
90
- * Change wording of the "go to Superset" link, and make it optional.
91
-
92
-
93
- 0.9.2 - 2024-05-08
94
- ******************
95
-
96
- Fixes
97
- =====
98
-
99
- * Remove caching of Superset guest token to fix various display errors and token refresh edge cases.
100
-
101
- 0.9.1 - 2024-05-08
102
- ******************
103
-
104
- Fixes
105
- =====
106
-
107
- * Fix an ImportError in the Aspects Xblock on pre-Quince releases
108
-
109
-
110
- 0.9.0 - 2024-05-06
111
- ******************
112
-
113
- Added
114
- =====
115
-
116
- * Allow embedded dashboard tab names to be localized
117
-
118
- 0.8.0 - 2024-05-06
119
- ******************
120
-
121
- Added
122
- =====
123
-
124
- * Added tags to xblocks in course dump
125
-
126
-
127
- 0.7.4 - 2024-04-30
128
- ******************
129
-
130
- Fixed
131
- =====
132
- * Fixed Superset XBlock and default filters.
133
-
134
- 0.7.3 - 2024-04-30
135
- ******************
136
-
137
- Fixed
138
- =====
139
-
140
- * Fixed UUID generation for localized Superset assets, which caused embedded
141
- dashboards to fail to load when localized.
142
-
143
- 0.7.2 - 2024-04-19
144
- ******************
145
-
146
- Fixed
147
- =====
148
-
149
- * Fixed cms url configuration
150
-
151
- 0.7.1 - 2024-04-17
152
- ******************
153
-
154
- Fixed
155
- =====
156
-
157
- * Fixed issue with embedded dashboards throwing javascript errors
158
- * Fixed issues with translated embedded dashboards erroring in Superset
159
-
160
- 0.7.0 - 2024-04-12
161
- ******************
162
-
163
- Added
164
- =====
165
-
166
- * Add endpoint for fetchGuestToken
167
-
168
- 0.6.0 - 2024-04-08
169
- ******************
170
-
171
- Added
172
- =====
173
-
174
- * Allow to embed translated Superset Dashboards.
175
-
176
- 0.5.0 - 2024-04-01
177
- ******************
178
-
179
- Added
180
- =====
181
-
182
- * Load testing and test monitoring scripts.
183
-
184
- 0.4.0 - 2024-03-18
185
- ******************
186
-
187
- Added
188
- =====
189
-
190
- * Embed multiple Superset Dashboards.
191
-
192
- 0.3.1 - 2024-03-14
193
- ******************
194
-
195
- Added
196
- =====
197
-
198
- * Fixed development server configuration.
199
-
200
- 0.3.0 – 2024-03-10
201
- ******************
202
-
203
- Added
204
- =====
205
-
206
- * Imported XBlock code from platform-plugin-superset
207
-
208
- 0.2.0 – 2024-03-05
209
- ******************
210
-
211
- Added
212
- =====
213
-
214
- * Imported code from event-sink-clickhouse.
215
-
216
- 0.1.0 – 2024-02-29
217
- **********************************************
218
-
219
- Added
220
- =====
221
-
222
- * First release on PyPI.