-
-
09 Nov 2013 05:08:58 UTC
- Distribution: Padre
- Module version: 1.00
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Clone repository
- Issues
- Testers (31 / 43 / 71)
- Kwalitee
Bus factor: 3- % Coverage
- License: perl_5
- Perl: v5.11.0
- Activity
24 month- Tools
- Download (1.88MB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 46 contributors- Gabor Szabo
- Aaron Trevena (TEEJAY)
-
Adam Kennedy (ADAMK)
- Ahmad Zawawi أحمد محمد زواوي (AZAWAWI)
- Andrew Shitov
- Alexandr Ciornii (CHORNY)
- Amir E. Aharoni - אמיר א. אהרוני
- Blake Willmarth (BLAKEW)
-
BlueT - Matthew Lien - 練喆明 (BLUET)
- Breno G. de Oliveira (GARU)
- Brian Cassidy (BRICAS)
-
Burak Gürsoy (BURAK)
-
Cezary Morga (THEREK)
- Chris Dolan (CHRISDOLAN)
-
Claudio Ramirez (NXADM)
- Dirk De Nijs (ddn123456)
- Enrique Nell (ENELL)
-
Fayland Lam (FAYLAND)
- Gabriel Vieira (GABRIELMAD)
-
Gábor Szabó - גאבור סבו (SZABGAB)
- György Pásztor (GYU)
-
Heiko Jansen (HJANSEN)
-
Jérôme Quelin (JQUELIN)
-
Kaare Rasmussen (KAARE)
- Keedi Kim - 김도형 (KEEDI)
-
Kenichi Ishigaki - 石垣憲一 (ISHIGAKI)
-
Kevin Dawson (BOWTIE)
- Kjetil Skotheim (KJETIL)
- Marcela Mašláňová (mmaslano)
-
Marek Roszkowski (EviL)
-
Mark Grimes
- Max Maischein (CORION)
- Olivier MenguE<eacute> (DOLMEN)
- Omer Zak - עומר זק
- Paco Alguacil (PacoLinux)
-
Patrick Donelan (PDONELAN)
- Paweł Murias (PMURIAS)
- Petar Shangov (PSHANGOV)
- Peter Lavender (PLAVEN)
-
Ryan Niebur (RSN)
- Sebastian Willing (SEWI)
- Shlomi Fish - שלומי פיש (SHLOMIF)
- Simone Blandino (SBLANDIN)
-
Steffen Müller (TSEE)
- Zeno Gantner (ZENOG)
- Chuanren Wu
- Dependencies
- Algorithm::Diff
- App::cpanminus
- B::Deparse
- CGI
- Capture::Tiny
- Class::Adapter
- Class::Inspector
- Class::XSAccessor
- Cwd
- DBD::SQLite
- DBI
- Data::Dumper
- Debug::Client
- Devel::Dumpvar
- Devel::Refactor
- Encode
- ExtUtils::MakeMaker
- ExtUtils::Manifest
- File::Basename
- File::Copy::Recursive
- File::Find::Rule
- File::Glob
- File::HomeDir
- File::Path
- File::Remove
- File::ShareDir
- File::Spec
- File::Spec::Functions
- File::Temp
- File::Which
- File::pushd
- FindBin
- Getopt::Long
- HTML::Entities
- HTML::Parser
- IO::Scalar
- IO::Socket
- IO::String
- IPC::Open2
- IPC::Open3
- IPC::Run
- JSON::XS
- LWP
- LWP::UserAgent
- List::MoreUtils
- List::Util
- Module::Build
- Module::CoreList
- Module::Manifest
- Module::Starter
- ORLite
- ORLite::Migrate
- POD2::Base
- POSIX
- PPI
- PPIx::EditorTools
- PPIx::Regexp
- Params::Util
- Parse::ErrorString::Perl
- Parse::ExuberantCTags
- Pod::Abstract
- Pod::Functions
- Pod::POM
- Pod::Perldoc
- Pod::Simple
- Pod::Simple::XHTML
- Probe::Perl
- Sort::Versions
- Storable
- Template::Tiny
- Term::ReadLine
- Text::Balanced
- Text::Diff
- Text::FindIndent
- Text::Patch
- Time::HiRes
- URI
- Wx
- Wx::Perl::ProcessStream
- Wx::Scintilla
- YAML::Tiny
- threads
- threads::shared
- version
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Padre::Sync - Utility functions for handling remote Configuration Syncing
DESCRIPTION
The
Padre::Sync
class contains logic for communicating with a remote Madre::Sync server. This class interacts with the Padre::Wx::Dialog::Sync class for user interface display.METHODS
new
The constructor returns a new
Padre::Sync
object, but you should normally access it via the main Padre object:my $manager = Padre->ide->config_sync;
First argument should be a Padre object.
main
A convenience method to get to the main window.
config
A convenience method to get to the config object
ua
A convenience method to get to the useragent object
register
Attempts to register a user account with the information provided on the Sync server.
Parameters: a list of key value pairs to be interpreted as POST parameters
Returns error string if user state is already logged in or serverside error occurs.
login
Will log in to remote Sync server using given credentials. State will be updated if login successful.
logout
If currently logged in, will log the Sync session out from the server. State will be updated.
server_delete
Given a logged in session, will attempt to delete the config currently stored on the Sync server (if one currently exists). Will fail if not logged in.
local_to_server
Given a logged in session, will attempt to place the current local config to the Sync server.
server_to_local
Given a logged in session, will replace the local config with what is stored on the server. TODO: is validation of config before replacement required?
english_status
Will return a string explaining current state of Sync dependent on $self->{state}
SEE ALSO
COPYRIGHT & LICENSE
Copyright 2008-2013 The Padre development team as listed in Padre.pm.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.
Module Install Instructions
To install Padre, copy and paste the appropriate command in to your terminal.
cpanm Padre
perl -MCPAN -e shell install Padre
For more information on module installation, please visit the detailed CPAN module installation guide.