Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

Align ComBZ with master branch #714

Open
wants to merge 268 commits into
base: combz
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
268 commits
Select commit Hold shift + click to select a range
fc6e454
Merge pull request #450 from mbarto/restore_filterlayer
mbarto Jul 1, 2014
5919d6a
Small fix for the ResourceSatus plugin. Close #415.
Jul 3, 2014
7e3a5a9
merged auth fixes
offtherailz Apr 22, 2014
c3b6187
Revision of login state management. fix #452
offtherailz Jul 3, 2014
bafaab6
Merge pull request #453 from offtherailz/fix_auth_map_manager
offtherailz Jul 4, 2014
ab31e78
Improve the ResourceStatus with Gropus. Close #455.
Jul 9, 2014
47fb67c
#455, Improved also with WMTS support.
Jul 9, 2014
7c90569
added GeoStore Resource editor plugin and widgets
offtherailz Jul 13, 2014
29c8e16
fixed auth problem in template manager
offtherailz Jul 13, 2014
729aa89
Merge branch 'master' of github.com:geosolutions-it/MapStore
offtherailz Jul 13, 2014
faf5ced
increased export error recognition from feature grid. fixed layout fo…
offtherailz Jul 15, 2014
80b2e8a
add opencyclemaps background. close #456
offtherailz Jul 16, 2014
7881de6
add workspace support in query panel export
offtherailz Jul 17, 2014
00d2a07
Problem configuring a WMTS as background layer. Close #457.
Jul 21, 2014
c978ef6
fixes in csv export param names. close #458
offtherailz Jul 22, 2014
57cb33f
Merge branch 'master' of github.com:geosolutions-it/MapStore
offtherailz Jul 22, 2014
6817f1d
#87, Introduce time slider plugin
Aug 4, 2014
eb023fc
Introduced printParams config option for print plugin
Aug 5, 2014
5509f52
Fix the 'geodesic' setting for the BufferFieldSet. Close #461.
Aug 25, 2014
94d3b2d
add maxFeatures configurable in GFIMenu. close #466
offtherailz Aug 28, 2014
f2b1d4c
Fixed issue #467: introduced tolerance for serverResolution distance …
mbarto Sep 1, 2014
28ed57c
Merge pull request #468 from mbarto/issue_467
mbarto Sep 1, 2014
7522994
Removed proxy from updater by default
offtherailz Sep 8, 2014
f6ca991
Fixes issue #473: workaround for chrome bug in namespace handling for…
mbarto Sep 18, 2014
0c43768
Fixes #477: new options for LoadingPanel to avoid it masking all the …
mbarto Sep 24, 2014
d5ec751
Fixes #476: by layer loading progress spinner and error icons for WMS…
mbarto Sep 25, 2014
ae2c36b
Merge pull request #478 from mbarto/issue_477
mbarto Sep 26, 2014
f96fd0f
Fixed by layer loading: start spinner for newly added layers, already…
mbarto Sep 26, 2014
c6c425b
fix header and footer to manage also arrays as template
offtherailz Oct 3, 2014
701702c
Merge pull request #482 from offtherailz/master
offtherailz Oct 3, 2014
b675860
Add geobatch flow management tool with support to run local
offtherailz Oct 3, 2014
096a975
Merge pull request #483 from offtherailz/master
offtherailz Oct 3, 2014
d412f00
fixed consumer list refresh after first close. close #486
offtherailz Oct 3, 2014
f50c061
add force login option to manager login tool
offtherailz Oct 3, 2014
3e646f9
Merge pull request #488 from offtherailz/master
offtherailz Oct 3, 2014
9a18023
Resource Editor width handled by ExtJS. Fixes #491
Gnafu Oct 10, 2014
2993e79
minor fixes to default labels and styles
offtherailz Oct 22, 2014
5a757ed
Add entity manager and file browser plugin
offtherailz Oct 22, 2014
6cb65cc
Merge pull request #494 from offtherailz/master
offtherailz Oct 22, 2014
0dd502e
Merge pull request #479 from mbarto/bylayer_loading_progress
mbarto Oct 24, 2014
d2b068f
Merge pull request #474 from mbarto/issue_473_wps_xlink
mbarto Oct 24, 2014
54e5264
Fixes #64, allowing the configuration of WMSSource and WMSCSource wit…
mbarto Oct 24, 2014
4d98fac
Fixed error icon shown on invisible layers
mbarto Oct 24, 2014
15390d0
Merge pull request #496 from mbarto/fix_error_icon
mbarto Oct 24, 2014
9e4df38
Fixing defaultStyle management in GeocoderSpatialSelectorMethod
Oct 30, 2014
f24d268
print snapshot refactoring using html2canvas library
offtherailz Oct 30, 2014
7ca241b
Merge branch 'master' of github.com:geosolutions-it/MapStore
offtherailz Oct 30, 2014
e2263b4
Merge pull request #500 from offtherailz/master
offtherailz Oct 30, 2014
4674fb7
Merge pull request #495 from mbarto/wms_no_capabilities
mbarto Oct 31, 2014
dfcc3a1
documented timeslider modes and fixed timeslider css
offtherailz Nov 12, 2014
b7e3609
Merge branch 'master' of github.com:geosolutions-it/MapStore
offtherailz Nov 12, 2014
5496c9a
Configurable template and attributeFields in GeoStore Resource Editor…
offtherailz Nov 12, 2014
4de1f3d
Correct headers on Template requests. Fixes #411
Gnafu Nov 12, 2014
10d151b
Merge branch 'master' of github.com:geosolutions-it/MapStore
Gnafu Nov 12, 2014
dd69556
add getAuth method for sessionStorage management in mapstore loader. …
offtherailz Nov 12, 2014
85a4bbc
removed google earth tool in default window. close #501
offtherailz Nov 12, 2014
c854fb8
#502, Fix for AdvancedSnappingAgent and FeatureEditor tools.
Nov 13, 2014
42cf5e9
Fixes #503: broker filter builder in styler
mbarto Nov 13, 2014
1ae12e2
Merge pull request #504 from mbarto/filter_builder_fixes
mbarto Nov 13, 2014
210a035
implemented static page. see #505
offtherailz Nov 19, 2014
420df32
Merge branch 'master' of github.com:geosolutions-it/MapStore
offtherailz Nov 19, 2014
0d015e3
Add autoOpen option. close #506
offtherailz Nov 19, 2014
2800884
add login loading message. close #508
offtherailz Nov 20, 2014
9b029a4
optional write permission editing. geostore url configuration powered
offtherailz Nov 20, 2014
2eb720e
Merge branch 'master' of github.com:geosolutions-it/MapStore
offtherailz Nov 20, 2014
21afa58
Improvements about viewparams management and query tool. Close #509 C…
Nov 20, 2014
4181a0f
Restore small maxExtent checks inside the WMSSource tool
Nov 20, 2014
5001d63
Syntactic fix on SpatialSelectorQueryForm tool after the merge
Nov 20, 2014
18355aa
Merge branch 'master' of https://github.com/geosolutions-it/MapStore
Nov 20, 2014
05112a9
#509, Fix for 'viewParams' attribute name in WFST format.
Nov 21, 2014
837f998
Restoring 'dimensions' configuration support for WMS layers.
Nov 26, 2014
06b0992
Fix needed for the buffer coordinates selection control. Close #511.
Nov 26, 2014
256ae63
resource editor top panel scrollable. fix #512
offtherailz Nov 26, 2014
56725ce
Merge branch 'master' of https://github.com/geosolutions-it/MapStore
offtherailz Nov 26, 2014
f1e0a26
Fixes #520: improvements for MapManager GeoBatchFlows plugin
mbarto Dec 2, 2014
9789402
make autologin on startup configurable. close #523
offtherailz Dec 3, 2014
501176d
Merge branch 'master' of github.com:geosolutions-it/MapStore
offtherailz Dec 3, 2014
3f9d829
made forcelogin work with sessionless option. improve solution of #523
offtherailz Dec 3, 2014
f0e1bb3
Different labels for different urls. Fixes #524
Gnafu Dec 3, 2014
46401a7
LanguageSelector languages are now configurable. Fixes #515
Gnafu Dec 3, 2014
673bb37
Merge pull request #522 from mbarto/geobatch_flows_improvements
offtherailz Dec 4, 2014
fab6fec
Fixes #521: adding application custom stuff support without branching…
mbarto Dec 3, 2014
a26b2db
documented and made general panel height configurable in resource editor
offtherailz Dec 4, 2014
f552fe6
Merge pull request #527 from mbarto/mapstore_application
mbarto Dec 5, 2014
a397728
Fixed ant debug without application
mbarto Dec 5, 2014
af2c858
Some improvements to GeoBatch flows and filemanager
mbarto Dec 5, 2014
def82a4
Merge pull request #528 from mbarto/geobatch_flows_fixes
mbarto Dec 5, 2014
2467777
add an help button to the manager. close #530
offtherailz Dec 9, 2014
f7e6b98
Optimized archiving of runs in GeoStore for GeoBAtchConsumerGrid
mbarto Dec 10, 2014
213dafb
Merge pull request #532 from mbarto/geobatch_flow_logs_storage
mbarto Dec 10, 2014
00a8f65
WMSsource fix #533 .Updated translations close #531
Dec 10, 2014
cc91b9a
Merge branch 'master' of https://github.com/geosolutions-it/MapStore
Dec 10, 2014
6dd953c
Partially fixes double tool rendering during login, allowing invisble…
mbarto Dec 11, 2014
893ef64
Merge pull request #534 from mbarto/mapmanager_fix
mbarto Dec 11, 2014
339722a
Fixes #535: application cannot start in tomcat if no custom app is pr…
mbarto Dec 11, 2014
00a8031
Merge pull request #536 from mbarto/fix_application_start
mbarto Dec 11, 2014
2ec285e
fixed default geostore url
offtherailz Dec 15, 2014
06e28d8
fix configuration loader proxy usage. fix #537
offtherailz Dec 16, 2014
7b6445c
add custom links to embed map dialog plugin. close #538
offtherailz Dec 16, 2014
213e6f0
add icons for playback option window. close #540
offtherailz Dec 16, 2014
12233c2
Merge branch 'master' of github.com:geosolutions-it/MapStore
offtherailz Dec 16, 2014
6d1567a
Static Pages. Close #541
Dec 17, 2014
742877d
add closable option to the GeoBatch flows plugin
offtherailz Dec 18, 2014
addccb3
Added confirm message before deletting resource. Fixes #513
Gnafu Dec 22, 2014
9b1ea7e
fixed EntityRESTManager dump/restore options
offtherailz Jan 8, 2015
2dbd6f4
Merge branch 'master' of github.com:geosolutions-it/mapstore
offtherailz Jan 8, 2015
00f599c
Fixes #543: per flow run button in GeoBatchFlows
mbarto Jan 9, 2015
e7df8f7
Merge pull request #545 from mbarto/geobatch_flows_run_button
mbarto Jan 9, 2015
9d4ab74
Fixes #544: forceOrder flag for GeoBatchFlows
mbarto Jan 9, 2015
6f8a7f1
Merge pull request #546 from mbarto/geobatch_flows_order
mbarto Jan 9, 2015
6ecce73
Entity manager cleaned. Add facade info to root manager
offtherailz Jan 9, 2015
bc0f7bf
Merge branch 'master' of github.com:geosolutions-it/mapstore
offtherailz Jan 9, 2015
5c18ceb
Update managerConfig-admin.js
offtherailz Jan 9, 2015
b8037b9
Configure new added sources. Close #451 and #338
Jan 15, 2015
adb2e5e
BugFix Layout. Fix FullScreen mode bug on panel expand/collapse
Sep 8, 2014
aa97046
Issue about Panel Layout on FullScreen mode. Close #447
Sep 9, 2014
64b0699
Fix about Numbers in Geocoder plugin.
Sep 10, 2014
0998ef5
Fix Source Selection of Metadata Explorer does not display in IE10 an…
Sep 10, 2014
564d9aa
Fix Buffer Spatial Selector Method does not display in IE10 and IE11
Sep 10, 2014
a4bb2e0
Fix Query Panel Polygon and Circle. Disable drawing on featureadded. …
Sep 15, 2014
1104657
Remove selection method dropdown reset on finish edit for polygon and…
Sep 16, 2014
73af9a8
keep state of collapsed/expanded buttons for fullscreen button. Close…
offtherailz Jul 1, 2014
749d6b0
DWITHIN field of SpatialQueryForm does not disappear at reset. Close …
Jan 16, 2015
544fb73
Spatial reference window shadown cannot be removed. Close #517.
Jan 16, 2015
a2fd5e9
Tiled / untiled option for new layers. Close #296.
Jan 16, 2015
0f6a059
#296, Small fix about 'tiled' setting for layer state
Jan 16, 2015
d09872b
Externalize the default config to use. Close #432.
Jan 19, 2015
603e873
Template Form Clean up Fix when deleting an element. Close #421.
Jan 19, 2015
14e4f8d
#414 Fixing SortBy for CSW requests
Jan 19, 2015
4eef39f
Template management while cloning a map. Close #418.
Jan 19, 2015
5c09127
Removing a template assigned to a map configuration. Close #416.
Jan 20, 2015
a8010af
Cleaning up the config directory
Jan 23, 2015
4cfc494
Fixed SpatialSelectorMethod.js bug
offtherailz Jan 23, 2015
647dc07
fixed login page on localhost
offtherailz Jan 26, 2015
928b052
Merge branch 'master' of github.com:geosolutions-it/MapStore
offtherailz Jan 26, 2015
8fdb5e3
fix filter layer when missing vendorParams
offtherailz Jan 26, 2015
b7df4f8
made sessionStorage first choice for auth, see #379
mbarto Jan 27, 2015
88fb389
Merge pull request #550 from mbarto/user_details_session
mbarto Jan 27, 2015
3d4e8d0
Improving login funcionalities
Jan 29, 2015
b5dd1cf
Fix the loginService URL setting procedure
Jan 29, 2015
b50458d
Fixed issue #63 (Resource Copy) as discussed in the mapstore-develope…
ridethepenguin Jan 31, 2015
8b87143
Bugfix for issue #407: clarified error message when user tries to sav…
ridethepenguin Jan 31, 2015
98e86fb
Added more informative error message when a resource rename causes a …
ridethepenguin Jan 31, 2015
168ccb8
Merge pull request #553 from ridethepenguin/bugfix-issue63
mbarto Feb 2, 2015
3ae657c
Fixes to the login tools behavior
Feb 3, 2015
c42dd05
Fixed issue #549
ridethepenguin Feb 3, 2015
6cd3732
Fixed issue #422: popups are created with 'panIn: false' and are brou…
ridethepenguin Feb 6, 2015
cb787d0
Fixed issue #420: added "Groups" column in User Manager Grid
ridethepenguin Feb 6, 2015
a7a1e8c
Fixed issue #525: corrected the way the header property was set in th…
ridethepenguin Feb 6, 2015
4ae1bda
User Manager Grid: group names are sorted before being displayed
ridethepenguin Feb 6, 2015
21191c1
- Added messages to translation files
ridethepenguin Feb 9, 2015
94bd7a8
Merge pull request #554 from ridethepenguin/bugfix-issues-407-549-422…
mbarto Feb 10, 2015
46093cf
Detect application folder by looking for config.js file
Gnafu Feb 11, 2015
2468c06
add remote sorting option to featuremanager. fixes to openlayers. fix…
offtherailz Feb 12, 2015
df785a4
Merge pull request #559 from Gnafu/subdirectory_application
offtherailz Feb 12, 2015
1d24a91
Merge pull request #562 from offtherailz/master
offtherailz Feb 12, 2015
cb7ebc1
Configurable Manager Map Buttons
Gnafu Feb 24, 2015
465b4a1
Configurable QRCode Menu
Gnafu Feb 24, 2015
6f46b8d
Merge pull request #566 from Gnafu/mxp_configurable_buttons
offtherailz Feb 24, 2015
b7f7a8c
Merge pull request #567 from Gnafu/mxp_configurable_qrcode
offtherailz Feb 24, 2015
f223660
Fixed issue #564
ridethepenguin Feb 26, 2015
ac01a4f
A bit of cleanup...
ridethepenguin Feb 26, 2015
64360fa
Fixed issue #547
ridethepenguin Feb 26, 2015
7c44fbd
Fixed issue #560
ridethepenguin Feb 26, 2015
a49d809
Merge pull request #573 from ridethepenguin/bugfix-issue560
offtherailz Feb 27, 2015
73e0f2d
Merge pull request #572 from ridethepenguin/bugfix-issue564
offtherailz Feb 27, 2015
33ec1b9
fixed singletile option. close #576
offtherailz Feb 27, 2015
b356c60
Merge pull request #574 from ridethepenguin/bugfix-issue547
offtherailz Mar 2, 2015
ea046e1
Fixd bug in loading multiple describ layer request close #569
Mar 2, 2015
1444c48
Fixed FeatureGrid plugin strings
Feb 27, 2015
32f02b1
Merge pull request #582 from kappu72/FeatureGridString577
offtherailz Mar 2, 2015
99a7584
Fixed duplicating login and language selector when in manager close #565
Mar 2, 2015
32176b3
Merge pull request #584 from kappu72/mapstrore565
offtherailz Mar 2, 2015
dc069a2
Fixed issue #516: SpatialSelectorQueryForm does not work with useCapa…
ridethepenguin Mar 2, 2015
8862a0e
Merge pull request #581 from kappu72/mapstore569
offtherailz Mar 3, 2015
3f4673c
Merge remote-tracking branch 'upstream/master' into bugfix-issue516
ridethepenguin Mar 7, 2015
5b8d5e0
Improved bugfix for issue #516: automatic selection of right WMS vers…
ridethepenguin Mar 7, 2015
0174906
Close #595
Mar 9, 2015
6abcb70
Merge branch 'kappu72-master595'
Gnafu Mar 9, 2015
b8df49d
Merge pull request #586 from ridethepenguin/bugfix-issue516
mbarto Mar 10, 2015
2eaa2d2
Added pagination ti GetFeatureInfo plugin close #294
Mar 10, 2015
ed077b0
Added pagiantion for html and features data, addedd opitons to exlude…
Mar 10, 2015
5a2fc9f
Merge pull request #608 from kappu72/ms294
offtherailz Mar 12, 2015
8678306
merged getfeature info options. close #605
offtherailz Mar 12, 2015
5d2220e
Merge branch 'kappu72-ms605'
offtherailz Mar 12, 2015
4da9628
Fixed issue #563, null values in WPS response are now ignored
ridethepenguin Mar 16, 2015
70bcbfe
Improved fix: overriding extractData() instead of createAccessor() ma…
ridethepenguin Mar 17, 2015
52eaeee
Merge pull request #614 from ridethepenguin/bugfix-issue563
mbarto Mar 17, 2015
f8316fc
add onbeforeupload plugin
offtherailz Jul 1, 2014
ae31ebc
fixed conflict between onbefore error and other plugins
offtherailz Jul 23, 2014
976479d
Configuring ZoomLevels form layer configuration or using scaleHints c…
Mar 17, 2015
ac51ff6
Merge branch 'mps613' of https://github.com/kappu72/MapStore into kap…
offtherailz Mar 18, 2015
fddf25d
made useScaleHints option configurable for the whole source
offtherailz Mar 18, 2015
8ee3591
Merge pull reqyest #615. close #613
offtherailz Mar 18, 2015
1aa06c9
Example config with gxp_onpageunloadalert plugin
Gnafu Mar 18, 2015
620d928
Merge pull request #617 from Gnafu/onbeforeunload
offtherailz Mar 18, 2015
4f67f63
Fix for issue #490: added error response handling in SpatialSelectorQ…
ridethepenguin Mar 20, 2015
336d689
Added extrafilds to getFeatureinfo menu close #618 and geosolutions-i…
Mar 23, 2015
a0dd81c
Close #623
Mar 25, 2015
7134fff
Added extrafilds to getFeatureinfo menu close #618 and geosolutions-i…
Mar 23, 2015
4417382
Merge pull request #625 from kappu72/mps623
offtherailz Mar 25, 2015
ba408d5
Update WMSGetFeatureInfoMenu.js
kappu72 Mar 25, 2015
2e368a5
add optional feature type workspace
offtherailz Mar 27, 2015
0a0bbf9
Fixes #631: session basedd login plugin
mbarto Mar 27, 2015
d17ed92
merged improvements and fixes to feature info tools
offtherailz Mar 27, 2015
9506dd9
Restored by login type authParam handling in WMSSource removed by mis…
mbarto Mar 30, 2015
92c761b
Merge remote-tracking branch 'upstream/master' into bugfix-issue490
ridethepenguin Mar 31, 2015
53bb0cc
Added new SpatialSelectorQueryForm messages to translation files
ridethepenguin Mar 31, 2015
976a173
Merge pull request #635 from ridethepenguin/bugfix-issue490
mbarto Apr 1, 2015
c2f7d32
Merge pull request #632 from mbarto/geostore_token_auth
mbarto Apr 1, 2015
9fc44d9
Added Lore code to configure selcted feature style and vecLayerOption…
Apr 8, 2015
f3985e8
Merge branch 'kappu72-ftmSelectZindexStyle'
offtherailz Apr 8, 2015
f193131
typo fix
offtherailz Apr 8, 2015
db63b38
Added emptyText to FeatureGrid close #641
Apr 9, 2015
05c991d
support for plain text info format. adaptive info tool. close #643
offtherailz Apr 10, 2015
891f9d1
Merge pull request #642 from kappu72/masterNpa44
offtherailz Apr 13, 2015
3cb122d
add option for attribution in viewer
offtherailz Apr 14, 2015
5dc9f06
improved help options
offtherailz Apr 14, 2015
e6d7d09
improved login form to get custom panels for pretty welcome screen. a…
offtherailz Apr 16, 2015
bc13a75
Introducing Download Tool
Apr 17, 2015
2a2621a
add the mode option to the help button. close #650
offtherailz Apr 21, 2015
355901b
Checks if layers are inRange
Apr 28, 2015
321337c
Added to hover query too
Apr 29, 2015
d009e6c
Merge pull request #654 from kappu72/FeatureInfoLayerVisibility
offtherailz Apr 29, 2015
270ad9f
fixes to autocomplete in SpatialSelectorQueryForm
mbarto May 6, 2015
a255cfc
Merge pull request #661 from mbarto/bugfixes
mbarto May 6, 2015
5cb09f6
Close #657
May 8, 2015
76ba565
Merge pull request #664 from kappu72/master657
Gnafu May 11, 2015
7ff193c
Small fix for the layers selection in download tool
May 7, 2015
ae326b0
Small fix on DownloadPanel (source check on layer removal)
May 13, 2015
9421a90
Improvements for markers management and small fixes
May 15, 2015
dbfc949
Small fix for save plugin and linked the marker editor visualization …
May 20, 2015
ead83c2
Implemented token and session login support in Manager
mbarto Jun 24, 2015
9d6f3ba
Load a MapStore configuration via POST. Close #689.
Jun 24, 2015
8a4426a
Fixes for markers status save and zoom to marker extent
Jun 15, 2015
7e12990
Close #691
Jul 1, 2015
b6ad579
Added Itanlin and English explanation about cookies we use. Modified …
Jul 7, 2015
9da68c0
fixed paragraph title
Jul 8, 2015
baf180a
fixed paragraph title
Jul 8, 2015
345cc95
fixed paragraph title
Jul 8, 2015
959a940
Merge pull request #693 from kappu72/master
Jul 8, 2015
f6d8019
Merge pull request #688 from mbarto/geostore_token_manager
mbarto Jul 10, 2015
5162180
Close #414
Jul 13, 2015
c9a44c1
Add Cookie Notice to final WAR
Gnafu Jul 14, 2015
861a88b
Merge pull request #701 from kappu72/master#414
Gnafu Jul 14, 2015
f39ee54
Close#760
Jul 16, 2015
f673c1b
Merge pull request #707 from kappu72/master#706
Jul 17, 2015
4129f62
Close #408C
Jul 20, 2015
f9e020f
Merge pull request #708 from kappu72/master#408
Jul 27, 2015
d8642c4
Merge branch 'master' of github.com:geosolutions-it/MapStore into mas…
Gnafu Jul 31, 2015
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
66 changes: 61 additions & 5 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,20 @@
</copy>
</target>

<target name="buildjs" depends="init">
<target name="buildjs" depends="buildjsdefault,buildjsapp">
</target>

<target name="buildjsapp" depends="init" if="application">
<!-- mapcomposer -->
<mkdir dir="${composerbuild}/${ant.project.name}/WEB-INF/app/static/script"/>
<java jar="${ringojs.run}" fork="true" failonerror="true">
<sysproperty key="ringo.home" path="${ringojs.dir}"/>
<arg path="externals/buildkit/lib/buildkit/build.js"/>
<arg line="-o ${composerbuild}/${ant.project.name}/WEB-INF/app/static/script mapcomposer/app/applications/${application}/buildjs.cfg"/>
</java>
</target>

<target name="buildjsdefault" depends="init">
<delete dir="${composerbuild}"/>

<!-- mapcomposer -->
Expand All @@ -60,7 +73,7 @@
</java>
</target>

<target name="dist" depends="test, buildjs, redist"/>
<target name="dist" depends="test, buildjs, redist, redistapp"/>

<!-- SITE START -->
<target name="site" depends="dist">
Expand Down Expand Up @@ -117,6 +130,14 @@
</target>
<!-- SITE END -->

<target name="redistapp" if="application">
<copy todir="${composerbuild}/${ant.project.name}/WEB-INF/app/applications/${application}">
<fileset dir="mapcomposer/app/applications/${application}">
</fileset>

</copy>
</target>

<target name="redist">

<mkdir dir="${composerbuild}/${ant.project.name}"/>
Expand All @@ -132,6 +153,7 @@
<fileset dir="mapcomposer/app">
<exclude name="**/externals/**"/>
<exclude name="**/script/**"/>
<exclude name="**/applications/**"/>
</fileset>
</copy>

Expand Down Expand Up @@ -206,6 +228,10 @@
<copy todir="${composerbuild}/${ant.project.name}/WEB-INF/app/static/externals/mapmanager/translations">
<fileset dir="mapcomposer/app/static/externals/mapmanager/translations"/>
</copy>
<!-- copy CookieNotice resources -->
<copy todir="${composerbuild}/${ant.project.name}/WEB-INF/app/static/externals/cookiechoices">
<fileset dir="mapcomposer/app/static/externals/cookiechoices"/>
</copy>
</target>

<target name="war" depends="dist">
Expand All @@ -214,24 +240,54 @@
</war>
</target>

<target name="debug" depends="init">
<target name="debug" depends="debugdefault,debugapp">
</target>

<target name="debugdefault" depends="init" unless="application">
<java jar="${ringojs.run}" fork="true" classpath="${ringojs.dir}/lib">
<sysproperty key="app.proxy.geoserver" value="${app.proxy.geoserver}"/>
<sysproperty key="app.debug.proxy" value="${app.debug.proxy}"/>
<sysproperty key="ringo.home" path="${ringojs.dir}"/>
<!-- <jvmarg value="-XX:+HeapDumpOnOutOfMemoryError"/> -->
<arg path="mapcomposer/app/main.js"/>
<arg line="-p ${app.port}"/>
<arg line="-p ${app.port}"/>
</java>
</target>

<target name="debugall" depends="init">
<target name="debugapp" depends="init" if="application">
<java jar="${ringojs.run}" fork="true" classpath="${ringojs.dir}/lib">
<sysproperty key="app.proxy.geoserver" value="${app.proxy.geoserver}"/>
<sysproperty key="app.debug.proxy" value="${app.debug.proxy}"/>
<sysproperty key="ringo.home" path="${ringojs.dir}"/>
<!-- <jvmarg value="-XX:+HeapDumpOnOutOfMemoryError"/> -->
<arg path="mapcomposer/app/main.js"/>
<arg line="-a ${application}"/>
<arg line="-p ${app.port}"/>
</java>
</target>

<target name="debugall" depends="debugalldefault,debugallapp">
</target>

<target name="debugalldefault" depends="init" unless="application">
<java jar="${ringojs.run}" fork="true">
<sysproperty key="app.proxy.geoserver" value="${app.proxy.geoserver}"/>
<sysproperty key="app.debug.proxy" value="${app.debug.proxy}"/>
<sysproperty key="ringo.home" path="${ringojs.dir}"/>
<arg value="-d"/>
<arg path="mapcomposer/app/main.js"/>
<arg line="-p ${app.port}"/>
</java>
</target>

<target name="debugallapp" depends="init" if="application">
<java jar="${ringojs.run}" fork="true">
<sysproperty key="app.proxy.geoserver" value="${app.proxy.geoserver}"/>
<sysproperty key="app.debug.proxy" value="${app.debug.proxy}"/>
<sysproperty key="ringo.home" path="${ringojs.dir}"/>
<arg value="-d"/>
<arg path="mapcomposer/app/main.js"/>
<arg line="-a ${application}"/>
<arg line="-p ${app.port}"/>
</java>
</target>
Expand Down
5 changes: 5 additions & 0 deletions mapcomposer/app/applications/example/buildjs.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[example.js]
root = static/script
include =
plugins/hello.js

4 changes: 4 additions & 0 deletions mapcomposer/app/applications/example/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
exports.config = function(urls, middleware) {
urls[0] = [(/^\/(index(.html)?)?/), require("./index").app];
middleware.push(require("ringo/middleware/static").middleware({base: module.resolve("static")}));
};
18 changes: 18 additions & 0 deletions mapcomposer/app/applications/example/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
var Response = require("ringo/webapp/response").Response;
var Request = require("ringo/webapp/request").Request;
var auth = require("../../auth");

exports.app = function(req) {
var request = new Request(req);
var details = auth.getDetails(request);

if(request.isPost){
var content = JSON.stringify(request.postParams);
print("Post Content is : " + content);
var response = Response.skin(module.resolve("templates/example.html"), {status: details.status || 404, content: content});
}else{
var response = Response.skin(module.resolve("templates/example.html"), {status: details.status || 404, content: "{}"});
}

return response;
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"portalConfig":{
"header":false
},
"gsSources": {
"google": {
"ptype": "gxp_googlesource"
}
},
"map":{
"projection": "EPSG:900913",
"units": "m",
"maxExtent": [
-20037508.34, -20037508.34,
20037508.34, 20037508.34
],
"layers": [{
"source": "google",
"title": "Google Hybrid",
"name": "HYBRID",
"group": "background"
}],
"center": [1250000.000000, 5370000.000000],
"zoom": 5
},
"loadingPanel": {
"width": 100,
"height": 100,
"center": true
},
"customTools":[
{
"ptype": "gxp_mouseposition",
"displayProjectionCode":"EPSG:4326",
"customCss": "font-weight: bold; text-shadow: 1px 0px 0px #FAFAFA, 1px 1px 0px #FAFAFA, 0px 1px 0px #FAFAFA,-1px 1px 0px #FAFAFA, -1px 0px 0px #FAFAFA, -1px -1px 0px #FAFAFA, 0px -1px 0px #FAFAFA, 1px -1px 0px #FAFAFA, 1px 4px 5px #aeaeae;color:#050505 "
}, {
"ptype": "gxp_geolocationmenu",
"actionTarget": {"target": "paneltbar", "index": 23},
"toggleGroup": "toolGroup"
}, {
"ptype": "gxp_wmsgetfeatureinfo",
"useTabPanel": true,
"toggleGroup": "toolGroup",
"actionTarget": {"target": "paneltbar", "index": 24}
}, {
"ptype": "gxp_addlayer",
"showCapabilitiesGrid": true,
"useEvents": false,
"showReport": "never",
"directAddLayer": false,
"id": "addlayer"
}, {
"ptype": "gxp_about",
"poweredbyURL": "http://www.geo-solutions.it/about/contacts/",
"actionTarget": {"target": "panelbbar", "index": 1}
}, {
"ptype": "gxp_languageselector",
"actionTarget": {"target": "panelbbar", "index": 3}
}, {
"ptype": "gxp_hello",
"actionTarget": {"target": "paneltbar", "index": 25}
}
]
}
3 changes: 3 additions & 0 deletions mapcomposer/app/applications/example/static/css/example.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.gx-hello{
background:url(../images/hello.png) no-repeat;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
100 changes: 100 additions & 0 deletions mapcomposer/app/applications/example/static/script/plugins/hello.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
/**
* Copyright (C) 2007 - 2012 GeoSolutions S.A.S.
* http://www.geo-solutions.it
*
* GPLv3 + Classpath exception
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/** api: (define)
* module = gxp.plugins
* class = HelloWorld
*/

/** api: (extends)
* plugins/Tool.js
*/
Ext.namespace("gxp.plugins");

/** api: constructor
* .. class:: HelloWorld(config)
*
* Sample Plugin
*
*/
gxp.plugins.HelloWorld = Ext.extend(gxp.plugins.Tool, {
ptype:'gxp_hello',

/** i18n */
menuText:'hello',
text:'Hello',
title:'Hello Window',
iconCls:'gx-hello',
tooltip:'Open the Hello Window',


/** end of i18n */
/** api: config[description]
* ``String`` Html to show in the window
*/
description: '<h2> Hello window</h2><p>I just wanted to say hello</p>',
/** api: config[showOnStartup]
* ``Boolean`` Show the window on startup if true
*/
showOnStartup:false,
/** api: config[windowOptions]
* ``Object`` Options for override the window configuration
*/
windowOptions:{
height:200,
width:500
},

/** api: method[addActions]
*/
addActions: function() {
var actions = [{
menuText: this.menuText,
text:this.text,
enableToggle: false,
iconCls: this.iconCls,
tooltip: this.tooltip,
handler: function(button, state) {
this.showHello();
},
scope: this
}];
if(this.showOnStartup){
this.target.on('ready', this.showHello,this);

}
return gxp.plugins.HelloWorld.superclass.addActions.apply(this, [actions]);
},

showHello:function(){

new Ext.Window(Ext.apply({
layout:'fit',
title: this.title,
border:false,
autoScroll:false,
items:{html: this.description, autoScroll:true, bodyStyle:'padding:10px'},
modal:true,
height:200
},this.windowOptions)).show();
}
});

Ext.preg(gxp.plugins.HelloWorld.prototype.ptype, gxp.plugins.HelloWorld);
Loading