111 Commits

Author SHA1 Message Date
Régis Behmo
812a6c9cf2 feat: display launch warning on config change
To achieve that, we had to get rid of the seq_command_executed request
parameter. We replaced it by a cookie, which is cleared after the
warning is displayed.

Note that we had to remove a feature, which was to disable/enable all
inputs while commands were running. This was causing very weird
behaviour, where some disabled buttons were being re-enabled again.

We also had to get rid of the cookieStore, which is not compatible with
non-https access. Http access is required in the self-serve AMI, for
instance.
2025-08-14 16:14:39 +02:00
Régis Behmo
511651115d feat: update credentials on config save 2025-08-14 16:14:39 +02:00
Régis Behmo
6285238e5c fix: python 3.9 typing tests 2025-08-14 16:14:39 +02:00
Régis Behmo
78298e2efa fix: properly display installed plugins not in indices 2025-08-14 16:14:39 +02:00
Régis Behmo
3d7b665a6b feat: add a configuration panel
This panel displays all the main configuration item. Note however that
there are still many TODO items, we should really clean them.
2025-08-14 16:14:39 +02:00
Régis Behmo
8002da7a66 feat: HTTP basic authentication
This is performed via two configuration settings. Note however that we
don't yet support automatic reloading of credentials. This is
unfortunate because there is no way to reload tutor Deck...
2025-08-14 16:14:39 +02:00
Régis Behmo
b60655ed54 fix: minor comments, TODO items and formatting
This has almost no impact, outside of rewording some items.
2025-08-14 16:14:39 +02:00
Régis Behmo
097be3e3fe fix: more robust cookie management for plugins requiring launch
Instead of storing a cookie for every plugin that requires launch, we
create a single cookie with '+' separated value. We make use of the
cookieStore native API (available everywhere since June 2025) to access
cookie data. The variables are renamed to be more explicit. We now use
class-based SCSS for styling, instead of manually setting style.display
attribute.
2025-08-14 16:14:39 +02:00
Régis Behmo
070f3503c5 feat: Display "N/A" in empty configuration sections 2025-08-14 16:14:39 +02:00
Régis Behmo
85c8f50677 feat: slightly simplify SCSS and style for toast/modal 2025-08-14 16:14:39 +02:00
Régis Behmo
261ca25661 fix: missing *-logo DOM element
This error was caused by a previous change in which we removed extra ID
elements. This is now made simpler thanks to SCSS.
2025-08-14 16:14:39 +02:00
Régis Behmo
6da10d199b fix: simplify plugin loading in plugin page
This also allows us to handle missing plugins, i.e:
/plugin/missingplugin.
2025-08-14 16:14:39 +02:00
Régis Behmo
6e51ee2f3c fix: logging include double "tutor" prefix 2025-08-14 16:14:39 +02:00
Régis Behmo
d389db41af fix: minor docs and formatting 2025-08-14 16:14:39 +02:00
Régis Behmo
0ce05a9cd7 fix: trim / prefix in static image url
This prefix does not cause any issue but it's unnecessary.
2025-08-14 16:14:39 +02:00
Ahmed Khalid
c719af6ecd
Merge pull request #15 from overhangio/v20.0.0 v20.0.0 2025-06-27 18:23:04 +05:00
Muhammad Labeeb
41d579abae v20.0.0 2025-06-26 22:25:02 +05:00
Edly
de5ac9bee0 Merge remote-tracking branch 'origin/release' 2025-05-13 10:25:56 +00:00
Muhammad Labeeb
909f72c7ec
feat: only allow relevant pages to cancel running command (#18) 2025-05-13 15:25:25 +05:00
Edly
312ab8f726 Merge remote-tracking branch 'origin/release' 2025-05-08 07:43:29 +00:00
Muhammad Labeeb
13a65996b7
feat: remove last-log-file cookie and use thread status to check if command is executing 2025-05-08 12:42:59 +05:00
Overhang.IO
cca8b414d4 Merge remote-tracking branch 'origin/release' 2025-05-02 09:07:04 +00:00
Muhammad Labeeb
1e0cb56f24
fix: add logs script to all pages 2025-05-02 14:06:30 +05:00
Overhang.IO
e2a5c2b613 Merge remote-tracking branch 'origin/release' 2025-04-16 15:02:16 +00:00
Régis Behmo
f02889dc6a v19.0.2 v19.0.2 2025-04-16 17:01:42 +02:00
Régis Behmo
ab5a7fc44e ci: fix scriv configuration 2025-04-16 17:00:58 +02:00
Muhammad Labeeb
d0c788a66b fix: prevent image overflow in plugin description
Tutor Deck images were overflowing.
2025-04-16 17:00:11 +02:00
Overhang.IO
e8c9d5ac61 Merge remote-tracking branch 'origin/release' 2025-04-16 14:37:53 +00:00
Régis Behmo
46f7d7af30 ci: fix scss build on building
We add a custom hook to our sdist target, such that "make scss" is run
whenever we run `python -m build --sdist`.
2025-04-16 16:34:17 +02:00
Overhang.IO
df3864c5eb Merge remote-tracking branch 'origin/release' 2025-04-16 14:06:28 +00:00
Régis Behmo
269e06e935 v19.0.1
Also, include a CHANGELOG.md file.
v19.0.1
2025-04-16 16:05:16 +02:00
Overhang.IO
07a0b8d5b7 Merge remote-tracking branch 'origin/release' 2025-04-16 14:00:55 +00:00
Régis Behmo
e20d044121 ci: fix css stage name 2025-04-16 16:00:09 +02:00
Régis Behmo
21cbcdd8de ci: build css files prior to running any other CI step
This will be necessary to push css files to pypi.
2025-04-16 16:00:02 +02:00
Overhang.IO
65b95eeab1 Merge remote-tracking branch 'origin/release' 2025-04-16 13:56:58 +00:00
Régis Behmo
431b775529 docs: fix image links 2025-04-16 15:56:24 +02:00
Overhang.IO
59b9b49524 Merge remote-tracking branch 'origin/release' 2025-04-16 13:55:07 +00:00
Muhammad Labeeb
28a722e6ca docs: update readme
- Include images
- Better installation instructions
2025-04-16 15:54:34 +02:00
Muhammad Labeeb
8c57b25a9d docs: update readme
- Include images
- Better installation instructions
2025-04-16 15:53:35 +02:00
Régis Behmo
de8c16a14b ci: fix css stage name 2025-04-16 15:22:18 +02:00
Régis Behmo
72a8427d4e ci: build css files prior to running any other CI step
This will be necessary to push css files to pypi.
2025-04-16 15:13:29 +02:00
Muhammad Labeeb
27fe51d133
chore: change button texts 2025-04-16 15:52:24 +05:00
Muhammad Labeeb
150400383f
feat: update layout and texts
* change layout and text

* change layout and text

* docs: fix make runserver command

* change logo
2025-04-16 14:48:02 +05:00
Muhammad Labeeb
b4fdc7f842
chore: change app run command 2025-04-10 20:00:47 +05:00
Muhammad Labeeb
5c37e616b2
feat: add gitlab sync
* feat: add gitlab sync

* fix tabs

* add changelog
2025-04-07 16:27:02 +05:00
Muhammad Labeeb
fd5cef7570 build: Add hatch_build in sdist to fix installation issues 2025-04-07 15:37:54 +05:00
Muhammad Labeeb
d2c41f4639
chore: change repo name
* automatically add issues to project board

* chore: rename app
v19.0.0
2025-03-28 19:51:39 +05:00
Muhammad Labeeb
51a3ab8c35
feat: add ci 2025-03-28 13:49:10 +05:00
Muhammad Labeeb
11d816abfe
feat: migrate to pyproject.toml and hatch 2025-03-27 15:43:15 +05:00
Muhammad Labeeb
f14516793e
Fix UI bugs and add new features
* fix ui bugs

* fix warning on plugin enable

* add tooltip

* change install icon

* stop autoscroll on user scroll

* add separate js for logs scrolling

* redirect to marketplace from plugins detail page

* home page goes to installed plugins

* add tab for local launch

* add simple toast

* add toast

* show toast after command completed

* fix toast ui

* add toast after local launch

* add cancel button

* change naming

* separate pagination handlers

* refractor plugins installed

* remove repitition of modal

* rename local launch

* fix toast on mobile

* hide pagination if not required

* disable auto remove toast

* remove ask local launch flag

* use success message instead of exit code

* show enable toggle after installation is completed

* update page button dynamically

* fix typo local launch

* remove repeating declaration

* dynamic cancel button on local launch

* refresh redirects to plugin store

* fix toast error

* remove sysmodules pop

* fix alignment

* add advanced tab

* add advanced tab

* add click dependency

* move autocomplete to tutorclient

* fix make command typo

* ui enhancements

* improve advenced tab search bar

* make plugins card clickable

* add enabled disabled to marketplce

* add dynamic search

* update comments

* move warning js to proper template

* only 1 modal button

* fix missing modal button

* config multi set

* add command to logs, prevent multiple toasts on pages with logs

* do not display repeated toast for anything

* fix local launch cancellation

* change icons

* small ui fixes

* my plugins now clickable

* single function for execution cancellation

* switch fix

* reset log creation logic

* single config update button

* move toast logic to frontend

* just values in config fields

* fix checkbox value error

* add htmx indicator

* no toast for plugin disable

* separate toast manager

* update only changed config items

* fix templated value updates

* rename launch platform

* change dropdown style

* do not run commands if thread is alive

* fix warning

* cancelling local launch does not remove warning cookies

* resolve js code comments

* do not show toast when last log file is null

* allow cancellation even after page reload

* update shared template context

* create separate utils

* single view for set and unset

* add plugin name to url

* fix cancel button

* adjust modal size
2025-03-24 18:59:29 +05:00