Dear Khan,
Look at this
http://api.jquery.com/jquery.ajax/
Read about crossDomain, by default it set to false so you may need to set
it to true.
Ideally, in your ajax request, add crossDomain:true
Alex
On Thu, Aug 27, 2015 at 9:53 AM, Mark Polak wrote:
> Hello Hanna,
>
> Did you add http://
revno: 19866
committer: Morten Olav Hansen
branch nick: dhis2
timestamp: Thu 2015-08-27 15:15:43 +0700
message:
minor fix
modified:
dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/table/PartitionUti
Dear Alex
Thank you for sharing the resources. but the problem still persists. i
write as following:
Ext.onReady( function() {
Ext.Ajax.request({
crossDomain: true,
url: base + "dhis-web-commons-security/login.action?authOnly=true",
method: 'POST',
Please check.
Regards
Hannan
O
Hi Hannan
I haven't used the portal plugins (maybe Jan can help there), but what I
did when I implemented CORS for DHIS 2, was to simply test using this:
$.ajax({
url: 'some-web-api-url.json',
headers: { "Authorization": btoa('admin:district' }
}).done(...);
Also remember that there must be
On Thu, Aug 27, 2015 at 3:47 PM, Morten Olav Hansen
wrote:
> headers: { "Authorization": btoa('admin:district' }
>
That should be headers: { "Authorization": 'Basic ' + btoa('admin:district'
}
--
Morten
___
Mailing list: https://launchpad.net/~dhis2
Hi Hannan,
I have done some testing and it seems the bundled Ext version is getting
old. CORS is not working well with it.
We need to look at this, but for now just include
https://code.jquery.com/jquery-2.1.4.min.js (minified, only 84k) and do the
authentication with jquery.
The good thing abou
Paralytics??
On 27 August 2015 at 09:35, Hannan Khan wrote:
> In Bangladesh we are not using Data Mart; instead we are using paralytics.
> So no problem from our end.
>
> Regards
>
> Hannan Khan
> HISP Bangladesh
>
>
> On Wed, Aug 26, 2015 at 5:27 PM, Lars Helge Øverland
> wrote:
>
>> Hi,
>>
>>
revno: 19867
committer: Abyot Asalefew Gizaw
branch nick: dhis2
timestamp: Thu 2015-08-27 12:06:06 +0200
message:
program rule support for TEI attributes
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/programrule/ProgramRuleAc
revno: 19868
committer: Abyot Asalefew Gizaw
branch nick: dhis2
timestamp: Thu 2015-08-27 12:10:19 +0200
message:
minor
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance
Thanks Jan.
I added http://code.jquery.com/jquery-2.1.4.min.js>"> in the but
still I get the error. What did I do wrong?
Regards
Hannan
On Thu, Aug 27, 2015 at 2:49 PM, Jan Henrik Øverland <
janhenrik.overl...@gmail.com> wrote:
> Hi Hannan,
>
> I have done some testing and it seems the bu
Hi Hannan,
Did you leave out "https:" ?
On Thu, Aug 27, 2015 at 12:19 PM, Hannan Khan wrote:
> Thanks Jan.
>
> I added http://code.jquery.com/jquery-2.1.4.min.js>"> in the but
> still I get the error. What did I do wrong?
>
> Regards
>
> Hannan
>
> On Thu, Aug 27, 2015 at 2:49 PM, Jan Henr
You need to do this part
Ext.onReady( function() {
Ext.Ajax.request({
crossDomain: true,
url: base + "dhis-web-commons-security/login.action?authOnly=true",
method: 'POST'
with jquery instead of Ext.
See the code that Morten posted.
On Thu, Aug 27, 2015 at 12:19 PM, Hannan K
That seems a little extreme, but whatever works. Desperate times call for
desperate measures.
- Edward -
On Thursday, August 27, 2015 9:53 AM, Calle Hedberg
wrote:
Paralytics??
On 27 August 2015 at 09:35, Hannan Khan wrote:
In Bangladesh we are not using Data Mart; instead we
revno: 19869
committer: Abyot Asalefew Gizaw
branch nick: dhis2
timestamp: Thu 2015-08-27 13:49:26 +0200
message:
programRuleAction.attribute -> programRuleAction.trackedEntityAttribute
modified:
dhis-2/dhis-api/src/main/java/org/his
Dear Hannan,
Use $.ajax()
or replace crossDomain:y=true with cors:true
and try!
I have not used it but give it a try.
Alex
On Thu, Aug 27, 2015 at 1:24 PM, Jan Henrik Øverland <
janhenrik.overl...@gmail.com> wrote:
> You need to do this part
>
> Ext.onReady( function() {
> Ext.Ajax.re
revno: 19870
committer: Markus Bekken
branch nick: dhis2
timestamp: Thu 2015-08-27 14:56:53 +0200
message:
Fix for optionset datatype and trackedEntityAttributes in rules engine
modified:
dhis-2/dhis-web/dhis-web-commons-resources/s
We are aiming for 2.21 for this one.
Lars
On Wed, Aug 26, 2015 at 11:15 PM, Calle Hedberg
wrote:
> Hi,
>
> excellent - only in 2.21, or will you add this to 2.20 and earlier
> versions too?
>
> Regards
> Calle
>
> On 26 August 2015 at 14:08, Lars Helge Øverland
> wrote:
>
>>
>> Hi Calle,
>>
>
revno: 19871
committer: Abyot Asalefew Gizaw
branch nick: dhis2
timestamp: Thu 2015-08-27 16:45:23 +0200
message:
minor fix in program rule for attributes
modified:
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web
revno: 19872
committer: Abyot Asalefew Gizaw
branch nick: dhis2
timestamp: Thu 2015-08-27 17:15:20 +0200
message:
tracker-captuer: program rules engine for attribute support - WIP
modified:
dhis-2/dhis-web/dhis-web-apps/src/main/web
revno: 19873
committer: Lars Helge Overland
branch nick: dhis2
timestamp: Thu 2015-08-27 17:28:24 +0200
message:
Event analytics, added support for native date/timestamp column types
modified:
dhis-2/dhis-api/src/main/java/org/hisp/d
revno: 19874
committer: Lars Helge Overland
branch nick: dhis2
timestamp: Thu 2015-08-27 19:18:00 +0200
message:
Program indicator / event analytics. Impl support for d2:daysBetween / days
between two dates.
added:
dhis-2/dhis-supp
revno: 19875
committer: Abyot Asalefew Gizaw
branch nick: dhis2
timestamp: Thu 2015-08-27 21:05:08 +0200
message:
bug fix in programRuleVariable to expose attribute type variables
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhi
revno: 19876
committer: Abyot Asalefew Gizaw
branch nick: dhis2
timestamp: Thu 2015-08-27 21:05:47 +0200
message:
tracker-capture: program rules are now supported during registration
modified:
dhis-2/dhis-web/dhis-web-apps/src/main/
revno: 19877
committer: Lars Helge Overland
branch nick: dhis2
timestamp: Thu 2015-08-27 22:45:58 +0200
message:
Minor
modified:
dhis-2/dhis-support/dhis-support-commons/src/main/java/org/hisp/dhis/commons/util/ExpressionFunctions.j
revno: 19878
committer: Lars Helge Overland
branch nick: dhis2
timestamp: Fri 2015-08-28 00:22:39 +0200
message:
Event analytics / program indicators. Impl support for conditionals /
function d2:condition( boolean-expr, true-val, fals
25 matches
Mail list logo