Skip to content

Commit

Permalink
add syntax highlighting+CDN for ace
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGrace2282 committed May 13, 2024
1 parent 72d0153 commit 844ee61
Show file tree
Hide file tree
Showing 395 changed files with 32 additions and 3,069 deletions.
2 changes: 2 additions & 0 deletions tin/apps/assignments/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class Meta:
fields = [
"name",
"description",
"autocomplete",
"markdown",
"folder",
"language",
Expand Down Expand Up @@ -112,6 +113,7 @@ class Meta:
"name": "Submissions",
"description": "",
"fields": (
"autocomplete",
"enable_grader_timeout",
"grader_timeout",
"has_network_access",
Expand Down
18 changes: 18 additions & 0 deletions tin/apps/assignments/migrations/0030_assignment_autocomplete.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.2.11 on 2024-05-13 01:13

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("assignments", "0029_assignment_markdown"),
]

operations = [
migrations.AddField(
model_name="assignment",
name="autocomplete",
field=models.BooleanField(default=False),
),
]
2 changes: 2 additions & 0 deletions tin/apps/assignments/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ class Assignment(models.Model):
related_name="assignments",
)
description = models.CharField(max_length=4096)
autocomplete = models.BooleanField(default=False)

markdown = models.BooleanField(default=False)

LANGUAGES = (
Expand Down
17 changes: 0 additions & 17 deletions tin/static/vendor/ace/ace.js

This file was deleted.

8 changes: 0 additions & 8 deletions tin/static/vendor/ace/ext-beautify.js

This file was deleted.

8 changes: 0 additions & 8 deletions tin/static/vendor/ace/ext-elastic_tabstops_lite.js

This file was deleted.

8 changes: 0 additions & 8 deletions tin/static/vendor/ace/ext-emmet.js

This file was deleted.

8 changes: 0 additions & 8 deletions tin/static/vendor/ace/ext-error_marker.js

This file was deleted.

8 changes: 0 additions & 8 deletions tin/static/vendor/ace/ext-keybinding_menu.js

This file was deleted.

8 changes: 0 additions & 8 deletions tin/static/vendor/ace/ext-language_tools.js

This file was deleted.

8 changes: 0 additions & 8 deletions tin/static/vendor/ace/ext-linking.js

This file was deleted.

8 changes: 0 additions & 8 deletions tin/static/vendor/ace/ext-modelist.js

This file was deleted.

Loading

0 comments on commit 844ee61

Please sign in to comment.