Преглед изворни кода

update version number to 800

causefx пре 8 година
родитељ
комит
3357656d74
3 измењених фајлова са 10 додато и 2 уклоњено
  1. 1 1
      api/functions/static-globals.php
  2. 2 1
      js/functions.js
  3. 7 0
      js/version.json

+ 1 - 1
api/functions/static-globals.php

@@ -2,7 +2,7 @@
 
 // ===================================
 // Organizr Version
-$GLOBALS['installedVersion'] = '2.0.0-alpha.250';
+$GLOBALS['installedVersion'] = '2.0.0-alpha.800';
 // ===================================
 // Set GLOBALS from config file
 $GLOBALS['userConfigPath'] = dirname(__DIR__,1).DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php';

+ 2 - 1
js/functions.js

@@ -2601,6 +2601,7 @@ function processRequest(id,type){
 //Ombi actions
 function ombiActions(id,action,type){
 	//console.log(id,action,type);
+	var msg = (activeInfo.user.groupID <= 1) ? '<a href="https://github.com/tidusjar/Ombi/issues/2176" target="_blank">Not Org Fault - Ask Obmi</a>' : 'Connection Error to Request Server';
 	organizrAPI('POST','api/?v1/ombi',{id:id, action:action, type:type}).success(function(data) {
 		var response = JSON.parse(data);
 		if(response.data !== false){
@@ -2612,7 +2613,7 @@ function ombiActions(id,action,type){
 				message("",window.lang.translate('Added Request Item'),"bottom-right","#FFF","success","3500");
 			}
 		}else{
-			message("",window.lang.translate('Connection Error to Request Server'),"bottom-right","#FFF","error","3500");
+			message("",msg,"bottom-right","#FFF","error","3500");
 		}
 	}).fail(function(xhr) {
 		console.error("Organizr Function: API Connection Failed");

+ 7 - 0
js/version.json

@@ -54,5 +54,12 @@
         "new": "NZBGet on homepage - please check for bugs",
         "fixed": "",
         "notes": "This is alpha - expect bugs|Please report bugs in GitHub issues page"
+    },
+	"2.0.0-alpha.800": {
+        "date":"2018-04-20 19:25",
+        "title": "Update so heavy - is it Stoned?",
+        "new": "Homepage Items - see below:|Downloader: Deluge - Transmission - Qbit|Calendar: Sonarr - Radarr - CouchPotato - Sickrage/Beard/Medusa|Ombi requests and approvals|Custom HTML (2 blocks)|Custom CSS|Plex Invites|Mail Templates",
+        "fixed": "Lots of minor little things",
+        "notes": "Beta coming soon"
     }
 }