Commit e474ccc2 authored by Recteur LP's avatar Recteur LP

Release 0.3.2

parent 4d3133e6
Pipeline #75 failed with stages
in 1 minute and 49 seconds
[bumpversion]
current_version = 0.3.2-beta6
current_version = 0.3.2
commit = True
tag = True
tag_name = {new_version}
......
......@@ -26,7 +26,7 @@ module.exports = function(grunt) {
pyrmin: {
options: {
sourceMap: 'pyrmin.js.map',
banner: '/*! PyRmin.js 0.3.2-beta6 */'
banner: '/*! PyRmin.js 0.3.2 */'
},
files: {
'pyrmin/static/js/pyrmin.min.js': ['src/js/pyrmin.js'],
......@@ -37,7 +37,7 @@ module.exports = function(grunt) {
cssmin: {
pyrmin: {
options: {
banner: '/*! PyRmin.css 0.3.2-beta6 */'
banner: '/*! PyRmin.css 0.3.2 */'
},
files: {
'pyrmin/static/css/pyrmin.min.css': ['src/css/pyrmin.css'],
......
PyRmin 0.3.2-beta6
PyRmin 0.3.2
============
[![build status](https://pyrmin.io/gitlab/PyRmin/PyRmin/badges/master/build.svg)](https://pyrmin.io/gitlab/PyRmin/PyRmin/commits/master) [![Documentation status](https://pyrmin.io/docs/projects/pyrmin/badge/?version=latest)](http://pyrmin.io/docs/pyrmin/en/latest/)
......
......@@ -9,7 +9,7 @@ __name__ = "Example Plugin"
__description__ = "\
My long Description"
__version__ = "0.1.0"
__pyrmin_version__ = "0.3.2-beta6"
__pyrmin_version__ = "0.3.2"
__namespace__ = "example_plugin"
__menu__ = {
"href": "/" + __namespace__,
......
{
"name": "pyrmin",
"version": "0.3.2-beta6",
"version": "0.3.2",
"private": true,
"devDependencies": {
"grunt": "~1.0.1",
......
......@@ -3,7 +3,7 @@
# -*- coding: utf-8 -*-
#
# PyRmin:pyrmin
# Version 0.3.2-beta6
# Version 0.3.2
# Author: Pyrmin.io
import sys
......
......@@ -15,7 +15,7 @@ import sys
from pygments import formatters, lexers
__version__ = "0.3.2-beta6"
__version__ = "0.3.2"
def error(self, msg='', context='', severity=logging.INFO, traceback=False):
......
This diff is collapsed.
/*! PyRmin.js 0.3.2-beta6 */
/*! PyRmin.js 0.3.2 */
function callback_store_list(a){$("#plugins_choice").html("<option></option>"),$("#plugins_choice").css("display","block"),$.each(a.plugins,function(b){$("#plugins_choice").append($("<option></option>").attr("value",a.plugins[b].url+"/repository/archive.tar.gz").text(a.plugins[b].name+" "+a.plugins[b].tags[0].name)),$("ul#plugins_list li").each(function(c){if($(this).attr("data-namespace").toLowerCase()===a.plugins[b].name.toLowerCase()){var d=parseInt(a.plugins[b].tags[0].name.replace(/\./g,""),10)>parseInt($(this).attr("data-version").replace(/\./g,""),10)?"label-danger":"label-success";return $("#row_"+$(this).attr("data-namespace")+" .label-plugin-version").removeClass("label-info").addClass(d),!1}})})}$(document).ready(function(){pyrmin().add_vendor(["swal","select2","nunjucks","fileinput","chartjs","icheck"]),$("#settings_modal").on("show.bs.modal",function(a){var b=$(a.relatedTarget),c=b.data("namespace"),d=b.data("name")+" ("+c+")",e=$(this);e.find(".modal-title").text(d),e.find(".modal-body").empty(),config=pyrmin().get("/rest/settings/config/"+c).config,nunjucks.render("plugins/"+c+"/templates/settings.inc.html",{config:config},function(a,b){null===a?$("#settings_modal").find(".modal-body").html(b):$("#settings_modal").find(".modal-body").text(a)})}),$("#tar").fileinput({allowedFileExtensions:["tar.gz"]}),$("select").select2(),$("#install_btn").click(function(){var a=new FormData($("#install_form")[0]);if(mode=$("input[name='method']:checked").val(),"upload"===mode){if(0===$("#tar").get(0).files.length)return void $("#upload_form").addClass("has-error")}else if("url"===mode){if(""===$("#url").val())return void $("#url_form").addClass("has-error")}else if("store"===mode){if(""===$("#plugins_choice").val())return void $("#store_form_control").addClass("has-error");if($("#private_store_toggle").prop("checked")&&""===$("#store_token").val())return void $(".private_store_token").addClass("has-error")}$.ajax({url:"/rest/settings/install",type:"POST",data:a,cache:!1,contentType:!1,processData:!1,success:function(a,b){0===a.status?($("#install").modal("hide"),pyrmin().notify("success","OK","Plugin installed ! \n Please Reboot the Application")):pyrmin().notify("error","An error occur",a.error)},error:function(a,b){console.log(b),$("#install").modal("hide"),pyrmin().notify("error","An error occur","Response status code : "+b)}},"json")}),$("input[name='method']").on("ifChecked",function(a){$("#plugins_choice").css("display","none"),$("#upload_form").css("display","upload"===$(this).val()?"block":"none"),$("#url_form").css("display","url"===$(this).val()?"block":"none"),$("#store_form").css("display","store"===$(this).val()?"block":"none"),$("#install_btn").css("display","inline-block")}),$("#uninstall_btn").click(function(){plugin=$("#settings_modal .modal-title").html().split("(")[1].replace(")",""),swal({title:"Are you sure?",text:"Do you want to uninstall "+plugin+" plugins and all its files ?",type:"warning",showCancelButton:!0,confirmButtonColor:"#DD6B55",confirmButtonText:"Yes, delete it!",cancelButtonText:"Cancel",closeOnConfirm:!0,closeOnCancel:!0},function(a){a&&(data=pyrmin().get("/rest/settings/uninstall/"+plugin.toLowerCase()),console.log(data),0===data.status&&pyrmin().notify("success","Uninstall !",name+" plugin has been uninstalled."))})}),$("#reinstall_btn").click(function(){plugin=$("#settings_modal .modal-title").html().split("(")[1].replace(")",""),data=pyrmin().get("/rest/settings/reinstall/"+plugin.toLowerCase()),0===data.status?pyrmin().notify("success","Reinstall !",name+" plugin has been reinstalled."):pyrmin().notify("error","Cancelled","No action taken: "+data.error)}),$("#private_store_toggle").change(function(){$(".private_store").toggle(this.checked)}).change(),$(".icheck").iCheck({radioClass:"iradio_flat-blue"}),$("#login_btn").click(function(){var a=$("#store_token").val();return""===a?void $(".private_store_token").addClass("has-error"):void get_data(pyrmin().url+"/rest/download/plugins/?token="+a,callback_store_list)}),get_data(pyrmin().url+"/rest/download/plugins/",callback_store_list)});
//# sourceMappingURL=settings.min.js.map
\ No newline at end of file
......@@ -158,7 +158,7 @@
</div><!-- /.form-group -->
<div style="clear: both; margin-top: 100px;">
<b id="current_version">Version 0.3.2-beta6</b> <span id="checkversion"><i class="fa fa-question-circle"></i></span>
<b id="current_version">Version 0.3.2</b> <span id="checkversion"><i class="fa fa-question-circle"></i></span>
</div>
{% endif %}
......
// PyRmin 0.3.2-beta6 JS Source File
// PyRmin 0.3.2 JS Source File
PNotify.prototype.options.styling = "fontawesome";
PNotify.prototype.options.styling = "bootstrap3";
......@@ -72,7 +72,7 @@ pyrmin.prototype.version = function(version) {
});
}
else {
return '0.3.2-beta6';
return '0.3.2';
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment