Giter VIP home page Giter VIP logo

mobipick's Introduction

CMS

liegt auf https://github.com/sustainablepace/sustainablepace Lizenzschlüssel liegt in Keepass Lizenzschlüssel liegt in /site/config/keys.php, keys.php ist in .gitignore

Content liegt auf https://github.com/sustainablepace/sustainablepace-content

Lokal

CMS (live) ist Master von https://github.com/sustainablepace/sustainablepace liegt in Dropbox unter sustainablepace

CMS (dev) ist Branch dev von https://github.com/sustainablepace/sustainablepace liegt in Dropbox unter sustainablepace

Content (live) ist Master von https://github.com/sustainablepace/sustainablepace-content liegt in Dropbox unter sustainablepace-content

Content (dev) ist Branch dev von https://github.com/sustainablepace/sustainablepace-content liegt in Dropbox unter sustainablepace-content-dev

Apache-Konfiguration Copy /etc/apache/sites-available/000-default.conf to 001-sustainablepace.conf

ServerName sustainablepace.local DocumentRoot /var/www/sustainablepace <Directory /var/www/sustainablepace/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all

AllowOverride All, damit htaccess Datei verwendet wird Edit /etc/hosts, add 127.0.0.1 sustainablepace.local

sudo a2ensite 001-sustainablepace.conf sudo ln -s /home/bambang/Dropbox/git/sustainablepace/ /var/www/sustainablepace sudo a2enmod rewrite sudo service apache2 restart

Livesystem

CMS (live) ist Master von https://github.com/sustainablepace/sustainablepace liegt unter /var/www/virtual/nosweat/html

CMS (dev) ist Branch dev von https://github.com/sustainablepace/sustainablepace liegt unter /var/www/virtual/nosweat/dev.sustainablepace.net Passwortschutz: htpasswd -m -c /var/www/virtual/nosweat/.htpasswd test

htaccess anpassen

SetEnvIf HOST "^sustainablepace.net" live_url
SetEnvIf HOST "^sustainablepace.local" local_url
Order Deny,Allow

AuthType Basic
AuthName "dev access"
AuthUserFile /home/nosweat/dev.sustainablepace.net/.htpasswd
Require valid-user

Deny from all
Allow from env=live_url
Allow from env=local_url
Satisfy any

Content (live) ist Master von https://github.com/sustainablepace/sustainablepace-content liegt unter /var/www/virtual/nosweat/sustainablepace-content ist mit Dropbox verlinkt (ln -s /var/www/virtual/nosweat/suntrol-content/ ~/Dropbox/git/sustainablepace-content) (Lokal Dropbox pausieren, auf Uberspace sustainablepace-content löschen, symlink anlegen, lokal Dropbox-Sync reaktivieren)

Content (dev) ist Branch dev von https://github.com/sustainablepace/sustainablepace-content liegt unter /var/www/virtual/nosweat/sustainablepace-content-dev ist mit Dropbox verlinkt (ln -s /var/www/virtual/nosweat/suntrol-content-dev/ ~/Dropbox/git/sustainablepace-content-dev) (Lokal Dropbox pausieren, auf Uberspace sustainablepace-content-dev löschen, symlink anlegen, lokal Dropbox-Sync reaktivieren)

Szenario: Software Update

Dev In sustainablepace lokal auf Branch dev wechseln Testen lokal unter sustainablepace.local Committen und pushen, bis fertig

Test Im Livesystem unter /var/www/virtual/nosweat/dev.sustainablepace.net git pull Testen unter dev.sustainablepace.net

Live Mergen in Master In sustainablepace lokal auf Master wechseln Testen lokal unter sustainablepace.local Committen und pushen Auf Uberspace pullen

Szenario: Content Update Lokal

Dev In sustainablepace-content-dev auf Branch dev wechseln, lokal arbeiten Testen lokal unter sustainablepace.local Committen und pushen, bis fertig

Test Testen unter dev.sustainablepace.net

Live In sustainablepace-content: git merge dev Committen und pushen

Szenario: Content Update Github

Pull-Request akzeptieren In sustainablepace-content auf Master wechseln, pullen

Szenario: Content Update Dropbox

In sustainablepace-content auf Master wechseln, committen und pushen

Benutzte Resourcen

mobipick's People

Contributors

elanper avatar ferronrsmith avatar is4wdev avatar lpfister avatar sustainablepace avatar thinkpadbaudson avatar vandry avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mobipick's Issues

Mobipick with Angularjs

Is there any way to use this with angularjs? If I am using this with jquery mobile means didn't work perfectly. If it work with angularjs means that would be very nice for me.

Issue on reset from date.

Hi, I installed the plugin on JQM 1.3.2 and I set a range date picker "From Date" and "To Date". I used the code you listed on the demo. And I make a function to reset these date pickers to default after user clicking search button. However, the "From Date" is reset the value to the date which was in "To Date", the value of "To date" is reset correctly. I tried to walk around but I can't. Could you please look into that? Thanks.

Code is attached.

Date Picker event handler
mpFrom = $("#fromDate").mobipick();
mpTo = $("#toDate").mobipick();

mpFrom.on("change", function() {
mpTo.mobipick("option", "minDate", mpFrom.mobipick( "option", "date" ) );
});

mpTo.on("change", function() {
mpFrom.mobipick("option", "maxDate", mpTo.mobipick( "option", "date" ) );
});

Reset Date Picker Function
function clearFilter() {
mpFrom.mobipick("option", "date", null).mobipick("updateDateInput");
mpTo.mobipick("option", "date", null).mobipick("updateDateInput");
}

Auto increment day/month/year

when you tap an input field to open mobipick. If the position of your tap is the same than a "+" or "-" button. Mobipick keep the tap event an automaticly increment ("+") or decrease ("-") the day, the month or the year depending on the tap position.
in the same way, when you open mobipick, if the position of the tap is the same position as button "Cancel", mobipick it closes immediatly.

Tests with Ipad & android

iPhone 3G support

It seems the native browser of the subject device does not support input type date and the mobipick() control does not appear. Have you tested it on 3G ? thx and best regards,

Day will not go above 27th September on Mobile Safari, when on NZ time zone.

On mobile safari (iOS 7, tested on iPhone/iPod and iPad) the day will not go above September 27th when the year is 2014, it won't go above 26th on 2015 and so on. I haven't seen the error in Safari on pc or any other browser, including on Android devices.

I assume it is related to New Zealand daylight savings time, as my Time Zone is set to 'Auckland, New Zealand' on the device, but if I change to a different Time Zone I can no longer reproduce the error.

Daylight Saving Time in NZ for 2014 is 28 Sep 2014, so it seems related.

This is reproducible on the demo page, on mobile safari, with Time Zone set to Auckland, New Zealand.

month and year not changed on changing day

I have a problem with mobipick plugin. it's not working properly as calender works.

month and year are not changing when i decrease day from 1, it replaces day by last day of selected month and month remain same, but i want that it replace month to previous month and and day to last day of previous month and vise a versa and also same mechanism with year coloum.

Example:

Initially
screenshot_2014-09-04-13-17-44

Result
screenshot_2014-09-04-13-44-34

Expected
screenshot_2014-09-04-13-18-37

Thanks in advance

Can MobiPick display year in Buddhist Era?

Dear Sir,
I am Thai, I have used your MobiPick to display my mobile web, and I want to know about it "Can MobiPick display year in Buddhist Era?". Please explain it for me.
Thank you.
Prach Konphet

Is there a way to lock min date to 3 months before?

I am using mobipick for cheque date... so i want to lock the min date to before 3 months date..cn u help me out of these?
One more thing that input box on which i am applying date picker, is dynamically created

add public setOption method

Hi
I love it ! I will use it also on Ipad / Iphone. Thanks for sharing

I add a setOption public method in order to change dynamically minDate / maxDate and date parameters.

setOption: function( key, value ) {
    switch( key ) {
    case "date":
    case "minDate":
    case "maxDate":
        this._setOption(key, new XDate( value));
        break;

    default:
    }
},

Date value not visible on iOs5

Environment : Safari + iOs 5 + JQM 1.0 + Mobipick.

The date value is not visible in the input field .
When selecting a date, the change event fired , but the field has no value.

Works well on Android, Chrome , Safari / MacOsx, and ... iOS 4.3.2 and previous.
issue occured also on iOS 5 simulator.

I add a log on updateDateInput

_updateDateInput: function() {
    this.element.val( this.dateString() );
    console.log('update value to ' + this.dateString() + ' => ' + this.element.val());
}

output :
updateValue to 30-12-2011 =>

Click event bubbles to below screen in android

Testing with android galaxy s.

The Date dialog pops up and when I click any button in the dialog [date, year , accept, cancel..] which is positioned above other controls in parent page (say input box), the event bubbles to the parent page as well.

Any workaround to prevent the event bubble

"clear" button

could it be useful to add a button that empties the input field?

Mobipick display in jqm 1.4+

Any way to integrate mobipick to visually work better with jqm 1.4+ themes? The standard popup with theme 'a' does not display well with white background, IMHO, I prefer the standard theme options that were used with mobipick in jqm 1.3+.
1.4:
mobipick jqm1 4

1.3:
mobipick jqm1 3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.