Skip to content
This repository was archived by the owner on Jul 31, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
1d88c7a
First working code
Fatehsandhu Oct 13, 2017
2282100
modified: ../../locales/en-GB/server.properties
Fatehsandhu Oct 20, 2017
a0bbb83
Update Vagrantfile
Fatehsandhu Oct 20, 2017
73aa025
Update publish.html
Fatehsandhu Oct 20, 2017
8d0f366
Update publish.html
Fatehsandhu Oct 20, 2017
ed90fa6
Update publish.html
Fatehsandhu Oct 20, 2017
4100881
Update publish.html
Fatehsandhu Oct 20, 2017
d1214cf
Update publish.html
Fatehsandhu Oct 20, 2017
830358e
Jquery not working need help
Fatehsandhu Nov 22, 2017
1b8f3f5
Jquery not working help
Fatehsandhu Nov 22, 2017
e2e9c3d
Merge branch 'master' into master
Fatehsandhu Nov 22, 2017
ca4b149
Merge branch 'master' into master
Fatehsandhu Nov 22, 2017
f9bddb8
Jquery not working help
Fatehsandhu Nov 22, 2017
e6724ea
Merge branch 'master' of https://github.com/Fatehsandhu/thimble.mozil…
Fatehsandhu Nov 22, 2017
a4c0413
Jquery not working help
Fatehsandhu Nov 22, 2017
8b81b0d
Jquery not working help
Fatehsandhu Nov 22, 2017
9e0a749
Jquery not working help
Fatehsandhu Nov 22, 2017
36786b2
Jquery not working help
Fatehsandhu Nov 22, 2017
c1ab81e
Update publisher.js
Fatehsandhu Nov 23, 2017
5c5519d
Update publisher.js
Fatehsandhu Nov 23, 2017
25abc0f
Update setup-services.sh
Fatehsandhu Nov 23, 2017
1aaec7a
Update publish.html
Fatehsandhu Nov 23, 2017
901b84f
Update publisher.js
Fatehsandhu Jan 1, 2018
02c3fb4
Update publish.html
Fatehsandhu Jan 1, 2018
0428408
Update server.properties
Fatehsandhu Jan 1, 2018
66572fa
New
Fatehsandhu Jan 1, 2018
f6b2c1f
New
Fatehsandhu Jan 1, 2018
94d5557
Update server.properties
Fatehsandhu Jan 1, 2018
a4c44e0
Update server.properties
Fatehsandhu Jan 1, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified locales/en-GB/server.properties
100644 → 100755
Empty file.
8 changes: 5 additions & 3 deletions locales/en-US/server.properties
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ publishShareLink=Here's a link you can share…
publishChangesPrompt=You've made changes since you last published this project.
publishProjectDescription=Project Description
publishCancelBtn=Cancel
noIndexFound=Please add an <strong>"index.html"</strong> file before publishing your project. <a href="{{ learnMoreURL }}">Learn more</a>
noIndexFound_2=Published projects need an <strong>"index.html"</strong> page, please add it and try again. <a href="{{ learnMoreURL }}">Learn more</a>

##################
## Project List ##
Expand Down Expand Up @@ -255,7 +255,7 @@ tutorialFeatureTitle=Follow &amp; create embedded tutorials
tutorialFeatureDesc=Projects can have tutorials that help you (or your students) learn as they make changes to the projects.
autocompleteFeatureTitle=Get code hints as you type
autocompleteFeatureDesc=Don't get stuck trying to remember a lot of rules and syntax. Thimble will give you hints in HTML, CSS and even JavaScript files.
inlineCSSFeatureTitle=Edit CSS right in your HTML pages
inlineCSSFeatureTitle=Edit CSS right in your HTML pages
inlineCSSFeatureDesc=Write CSS styles for your elements without switching away from the HTML page that you are editing. Put the text cursor on any element tag and hit <span class="key">Cmd/Ctrl</span> + <span class="key">E</span> to start writing CSS styles.
publishingFeatureTitle=Publish projects to the web fast
publishingFeatureDesc=You can publish your projects to the web with only a single click. Later on, when you make changes, you can easily update your project.
Expand Down Expand Up @@ -323,7 +323,7 @@ peiying16Contrib3=Support for editing SVG files right in the editor
peiying16Quote=“I love Thimble, and I love fixing bug with Thimble team.”
th30Contrib1=Updated menu transition effects
th30Contrib2=Made sure files are properly highlighted in the editor
th30Quote=“Working with thimble proved to be challenging and explosive way to get into open source. It really made me collaborate and work with some amazing individuals, which always made you feel like your mistakes are merely opportunities to further improve your releases. Persistence is key, and always turn feedback into a lesson opportunity!”
th30Quote=“Working with Thimble proved to be challenging and explosive way to get into open source. It really made me collaborate and work with some amazing individuals, which always made you feel like your mistakes are merely opportunities to further improve your releases. Persistence is key, and always turn feedback into a lesson opportunity!”
omytryniukContrib1=Improved the built-in image viewer UI
omytryniukContrib2=Added several UI improvements and fixed front-end styling and functionality bugs
omytryniukContrib3=Updated node dependencies in the Thimble project
Expand Down Expand Up @@ -411,6 +411,8 @@ navMobilePreviewIconTitle=Preview in mobile mode
navEnableFullscreenPreviewIconTitle=Enable fullscreen preview
navDisableFullscreenPreviewIconTitle=Disable fullscreen preview
navInsertSnippetIconTitle=Add a code snippet
navTextSizeTitle=Change the editor font size
navColorThemeTitle=Change the editor color theme

# Snippet Menu
snippetButtonLabel=Insert
Expand Down
12 changes: 12 additions & 0 deletions public/editor/scripts/ui/publisher.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,13 @@ Publisher.prototype.publish = function(bramble) {
publisher.dialogEl.removeClass("cannot-publish");
publisher.dialogEl.width(publisher.dialogEl.width());
}
if ($("#publish-button-update").is(":visible")) {
$("#updateDialog").show();
$("#no-index-update")
.removeClass("hide")
.addClass("show");
}

publisher.dialogEl.addClass("cannot-publish");
return;
}
Expand Down Expand Up @@ -228,6 +235,11 @@ Publisher.prototype.unpublish = function() {
return;
}

$("#updateDialog").hide();
$("#no-index-update")
.removeClass("show")
.addClass("hide");

var didConfirm = window.confirm(TEXT_UNPUBLISH_WARNING);

if (!didConfirm) {
Expand Down
Empty file modified scripts/invalidate.js
100644 → 100755
Empty file.
Empty file modified scripts/localize-brackets.sh
100644 → 100755
Empty file.
Empty file modified scripts/localize/index.js
100644 → 100755
Empty file.
Empty file modified scripts/setup-services.sh
100644 → 100755
Empty file.
Empty file modified scripts/sql/oauth-setup.sql
100644 → 100755
Empty file.
Empty file modified scripts/verify-brackets.js
100644 → 100755
Empty file.
9 changes: 7 additions & 2 deletions views/editor/publish.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% block publishdialog %}
{% set learnMoreURL = "https://github.com/mozilla/thimble.mozilla.org/wiki/Using-Thimble-FAQ#why-do-i-need-an-indexhtml-file-when-publishing-my-project" %}
<div id="publish-ssooverride" class="hide"
data-loginUrl="{{ loginURL }}"
data-oauth-username="{{ username }}"
Expand Down Expand Up @@ -35,10 +36,14 @@ <h1>{{ gettext("publishHeader") }}</h1>
</div>

<div id="publish-buttons">
{% set learnMoreURL = "https://github.com/mozilla/thimble.mozilla.org/wiki/Using-Thimble-FAQ#why-do-i-need-an-indexhtml-file-when-publishing-my-project" %}
<div id="no-index">{{ gettext("noIndexFound") | instantiate | safe }}</div>
<div id="no-index">{{ gettext("noIndexFound_2") | instantiate | safe }}</div>
<div id="publish-button-cancel">{{ gettext("publishCancelBtn") }}</div>
<div id="publish-button-publish">{{ gettext("publishBtn") }}</div>
</div>

<div id="updateDialog" class="hide">
<div id="no-index-update" class="hide" >{{ gettext("noIndexFound_2") | instantiate | safe }}</div>
</div>
</div>

{% endblock %}