Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: intersystems-community/ClassExplorer
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.2.0
Choose a base ref
...
head repository: intersystems-community/ClassExplorer
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing with 16,539 additions and 27,282 deletions.
  1. +12 −0 .github/workflows/objectscript-quality.yml
  2. +3 −0 .gitignore
  3. +42 −0 Dockerfile
  4. +26 −0 Installer.cls
  5. +1 −5 LICENSE
  6. +0 −40 README.md
  7. +384 −0 build-for-zpm/ClassExplorer/ClassView.cls
  8. +141 −0 build-for-zpm/ClassExplorer/Router.cls
  9. +327 −0 build-for-zpm/ClassExplorer/StaticContent.cls
  10. +0 −612 cache/projectTemplate.xml
  11. +14 −0 docker-compose.yml
  12. +52 −42 gulpfile.js
  13. +20 −0 import.bat
  14. +19 −0 irissession.sh
  15. +23 −0 module.xml
  16. +21 −17 package.json
  17. +90 −0 readme.md
  18. +384 −0 src/cls/ClassExplorer/ClassView.cls
  19. +54 −0 src/cls/ClassExplorer/Installer.cls
  20. +141 −0 src/cls/ClassExplorer/Router.cls
  21. +36 −0 src/cls/ClassExplorer/StaticContent.cls
  22. +39 −1 { → src}/web/css/classView.css
  23. +30 −1 { → src}/web/css/extras.css
  24. +48 −0 src/web/css/helpView.css
  25. +35 −0 src/web/css/hoverMessage.css
  26. +17 −2 { → src}/web/css/interface.css
  27. +8 −0 src/web/css/joint.min.css
  28. 0 { → src}/web/css/methodCodeView.css
  29. +9 −0 { → src}/web/css/settingsView.css
  30. 0 { → src}/web/css/syntax.css
  31. +36 −5 { → src}/web/css/treeView.css
  32. +281 −0 src/web/index.html
  33. +322 −0 src/web/js/CacheClassExplorer.js
  34. +118 −32 { → src}/web/js/ClassTree.js
  35. +1,288 −0 src/web/js/ClassView.js
  36. +50 −0 src/web/js/HoverMessage.js
  37. +163 −5 { → src}/web/js/Lib.js
  38. +191 −0 src/web/js/Logic.js
  39. +41 −13 { → src}/web/js/Source.js
  40. +2 −2 { → src}/web/js/UI.js
  41. +18 −7 { → src}/web/jsLib/ImageExporter.js
  42. +2 −0 src/web/jsLib/backbone-min.js
  43. +11,892 −0 src/web/jsLib/joint.js
  44. 0 { → src}/web/jsLib/joint.layout.DirectedGraph.min.js
  45. +55 −27 { → src}/web/jsLib/joint.shapes.uml.js
  46. +6 −0 src/web/jsLib/jquery.min.js
  47. +98 −0 src/web/jsLib/lodash.min.js
  48. +0 −8 test/testServer.js
  49. +0 −9 web/css/joint.min.css
  50. +0 −105 web/index.html
  51. +0 −192 web/js/CacheUMLExplorer.js
  52. +0 −933 web/js/ClassView.js
  53. +0 −186 web/js/Logic.js
  54. +0 −25,038 web/jsLib/joint.js
12 changes: 12 additions & 0 deletions .github/workflows/objectscript-quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: objectscriptquality
on: push

jobs:
linux:
name: Linux build
runs-on: ubuntu-latest

steps:
- name: Execute ObjectScript Quality Analysis
run: wget https://raw.githubusercontent.com/litesolutions/objectscriptquality-jenkins-integration/master/iris-community-hook.sh && sh ./iris-community-hook.sh

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/node_modules/
/build
/package-lock.json
42 changes: 42 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
ARG IMAGE=intersystems/iris:2019.1.0S.111.0
ARG IMAGE=store/intersystems/irishealth:2019.3.0.308.0-community
ARG IMAGE=store/intersystems/iris-community:2019.3.0.309.0
ARG IMAGE=store/intersystems/iris-community:2019.4.0.379.0
ARG IMAGE=store/intersystems/iris-community:2020.1.0.197.0
ARG IMAGE=intersystemsdc/iris-community:2020.1.0.209.0-zpm
ARG IMAGE=intersystemsdc/iris-community:2020.1.0.215.0-zpm
ARG IMAGE=intersystemsdc/iris-community:latest
FROM $IMAGE

USER irisowner

WORKDIR /opt/irisapp

COPY Installer.cls .
COPY src src
COPY build-for-zpm build-for-zpm
COPY irissession.sh .

USER root

RUN chmod +x ./irissession.sh
USER irisowner
SHELL ["./irissession.sh"]

RUN \
do $SYSTEM.OBJ.Load("Installer.cls", "ck") \
set sc = ##class(App.Installer).setup() \
zn "%SYS" \
write "Creating web application ..." \
set webName = "/ClassExplorer" \
set webProperties("DispatchClass") = "ClassExplorer.Router" \
set webProperties("NameSpace") = "IRISAPP" \
set webProperties("Enabled") = 1 \
set webProperties("AutheEnabled") = 32 \
set sc = ##class(Security.Applications).Create(webName, .webProperties) \
write sc \
write "Web application "_webName_" has been created!"

# bringing the standard shell back
SHELL ["/bin/bash", "-c"]
CMD [ "-l", "/usr/irissys/mgr/messages.log" ]
26 changes: 26 additions & 0 deletions Installer.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Class App.Installer
{

XData setup
{
<Manifest>
<Default Name="SourceDir" Value="#{$system.Process.CurrentDirectory()}build-for-zpm"/>

<Namespace Name="IRISAPP" Code="IRISAPP" Data="IRISAPP" Create="yes" Ensemble="no">

<Configuration>
<Database Name="IRISAPP" Dir="/opt/irisapp/data" Create="yes"/>
</Configuration>
<Import File="${SourceDir}" Flags="ck" Recurse="1"/>
</Namespace>

</Manifest>
}

ClassMethod setup(ByRef pVars, pLogLevel As %Integer = 3, pInstaller As %Installer.Installer, pLogger As %Installer.AbstractLogger) As %Status [ CodeMode = objectgenerator, Internal ]
{
#; Let XGL document generate code for this method.
Quit ##class(%Installer.Manifest).%Generate(%compiledclass, %code, "setup")
}

}
6 changes: 1 addition & 5 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
The MIT License (MIT)

<<<<<<< HEAD
Copyright (c) 2015 InterSystems Corp.
=======
Copyright (c) 2015 Nikita
>>>>>>> upstream/master
Copyright (c) 2015-2019 Nikita Savchenko <https://nikita.tk>.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
40 changes: 0 additions & 40 deletions README.md

This file was deleted.

Loading