Skip to content

Commit 7b69d96

Browse files
committed
Upgrade to 6.9.1
1 parent b2efd47 commit 7b69d96

File tree

60 files changed

+21190
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+21190
-3
lines changed

.gitattributes

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Custom for Visual Studio
5+
*.cs diff=csharp
6+
*.sln merge=union
7+
*.csproj merge=union
8+
*.vbproj merge=union
9+
*.fsproj merge=union
10+
*.dbproj merge=union
11+
12+
# Standard to msysgit
13+
*.doc diff=astextplain
14+
*.DOC diff=astextplain
15+
*.docx diff=astextplain
16+
*.DOCX diff=astextplain
17+
*.dot diff=astextplain
18+
*.DOT diff=astextplain
19+
*.pdf diff=astextplain
20+
*.PDF diff=astextplain
21+
*.rtf diff=astextplain
22+
*.RTF diff=astextplain

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
test/javasource/
2+
test/deployment/
3+
test/.classpath
4+
test/.project
5+
*.launch
6+
*.tmp
7+
*.lock
8+
.idea/
9+
10+
node_modules

Gulpfile.js

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
// Generated on 2016-12-12 using generator-mendix 2.0.1 :: git+https://github.com/mendix/generator-mendix.git
2+
/*jshint -W069,-W097*/
3+
"use strict";
4+
5+
// In case you seem to have trouble starting Mendix through `gulp modeler`, you might have to set the path to the Mendix application, otherwise leave both values as they are
6+
var MODELER_PATH = null;
7+
var MODELER_ARGS = "/file:{path}";
8+
9+
/********************************************************************************
10+
* Do not edit anything below, unless you know what you are doing
11+
********************************************************************************/
12+
var gulp = require("gulp"),
13+
zip = require("gulp-zip"),
14+
del = require("del"),
15+
newer = require("gulp-newer"),
16+
gutil = require("gulp-util"),
17+
gulpif = require("gulp-if"),
18+
jsonTransform = require("gulp-json-transform"),
19+
intercept = require("gulp-intercept"),
20+
argv = require("yargs").argv,
21+
widgetBuilderHelper = require("widgetbuilder-gulp-helper"),
22+
jsValidate = require('gulp-jsvalidate');
23+
24+
25+
var pkg = require("./package.json"),
26+
paths = widgetBuilderHelper.generatePaths(pkg),
27+
xmlversion = widgetBuilderHelper.xmlversion;
28+
29+
gulp.task("default", function() {
30+
gulp.watch("./src/**/*", ["compress"]);
31+
gulp.watch("./src/**/*.js", ["copy:js"]);
32+
});
33+
34+
gulp.task("clean", function () {
35+
return del([
36+
paths.WIDGET_TEST_DEST,
37+
paths.WIDGET_DIST_DEST
38+
], { force: true });
39+
});
40+
41+
gulp.task("compress", ["clean"], function () {
42+
return gulp.src("src/**/*")
43+
.pipe(zip(pkg.name + ".mpk"))
44+
.pipe(gulp.dest(paths.TEST_WIDGETS_FOLDER))
45+
.pipe(gulp.dest("dist"));
46+
});
47+
48+
gulp.task("copy:js", function () {
49+
return gulp.src(["./src/**/*.js"])
50+
.pipe(jsValidate())
51+
.pipe(newer(paths.TEST_WIDGETS_DEPLOYMENT_FOLDER))
52+
.pipe(gulp.dest(paths.TEST_WIDGETS_DEPLOYMENT_FOLDER));
53+
});
54+
55+
gulp.task("version:xml", function () {
56+
return gulp.src(paths.PACKAGE_XML)
57+
.pipe(xmlversion(argv.n))
58+
.pipe(gulp.dest("./src/"));
59+
});
60+
61+
gulp.task("version:json", function () {
62+
return gulp.src("./package.json")
63+
.pipe(gulpif(typeof argv.n !== "undefined", jsonTransform(function(data) {
64+
data.version = argv.n;
65+
return data;
66+
}, 2)))
67+
.pipe(gulp.dest("./"));
68+
});
69+
70+
gulp.task("icon", function (cb) {
71+
var icon = (typeof argv.file !== "undefined") ? argv.file : "./icon.png";
72+
console.log("\nUsing this file to create a base64 string: " + gutil.colors.cyan(icon));
73+
gulp.src(icon)
74+
.pipe(intercept(function (file) {
75+
console.log("\nCopy the following to your " + pkg.name + ".xml (after description):\n\n" + gutil.colors.cyan("<icon>") + file.contents.toString("base64") + gutil.colors.cyan("<\\icon>") + "\n");
76+
cb();
77+
}));
78+
});
79+
80+
gulp.task("folders", function () {
81+
paths.showPaths(); return;
82+
});
83+
84+
gulp.task("modeler", function (cb) {
85+
widgetBuilderHelper.runmodeler(MODELER_PATH, MODELER_ARGS, paths.TEST_PATH, cb);
86+
});
87+
88+
gulp.task("build", ["compress"]);
89+
gulp.task("version", ["version:xml", "version:json"]);

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Apache License
1+
Apache License
22
Version 2.0, January 2004
33
http://www.apache.org/licenses/
44

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
1-
# Appronto-Notification-Module
2-
Shows inline notifications as a perfect replacement for pop-up messages
1+
#Notification
2+
3+
This widget provides the functionality to display a custom message, sourced from either a transient or persistent object. The message is rendered utilizing the [noty](http://ned.im/noty/) jQuery plugin, so the position, style, and timeout can all be configured.
4+
5+
# Getting Started
6+
7+
8+
* The *Notification* widget can be downloaded from within the Mendix Business Modeler in the Mendix Appstore into any model that is built with Mendix 5+
9+
10+
11+
# Configuration
12+
13+
* Drop the widget into the context of an entity
14+
* Apply the following properties:
15+
* *Show Notification* - Boolean attribute to determine if the message should be rendered
16+
* *Display Text* - String attribute, containing the message to be displayed
17+
* *Layout* - The position of the message
18+
* *Type* - The appearance of the message
19+
* *Timeout* - How long the message should be displayed, before fading out (in milliseconds.) Set this property to *0* to render the message until it is clicked by the user

dist/Notification.mpk

95.8 KB
Binary file not shown.

images/app_store_banner.png

62.9 KB
Loading

images/app_store_icon.png

49.7 KB
Loading

images/getMessage.png

24.1 KB
Loading

images/message.png

7.85 KB
Loading

0 commit comments

Comments
 (0)