Commit Graph

45 Commits

Author SHA1 Message Date
Payman Delshad
b0a0e3d58e Use morgan(format, options) function signature. 2015-02-26 23:20:55 +01:00
Jonathan Lipps
d4d601039e use appium-support package for system detection 2015-01-13 10:55:00 -08:00
Jonathan Lipps
698768a00c use external simctl library 2014-12-11 09:54:04 -08:00
Jonathan Lipps
38d2a005d6 fix lint 2014-09-17 14:46:05 -07:00
Sergey Belov
703f1b5dd9 Allow to run Appium using sudo if it is still run be user who owns Appium files 2014-09-17 22:56:14 +04:00
Eric Millin
6fdd6ae9b3 Removed request size limit. 2014-08-18 10:12:39 -04:00
Erlend Halvorsen
d4d49acda1 Implemented pushFile for iOS controller 2014-07-30 13:55:08 +02:00
Jonathan Lipps
c49559455d add validation for port values to server (fix #3227) 2014-07-28 11:47:38 -07:00
sebv
6884abe9bb Generic method to avoid server crash. 2014-06-26 22:53:59 +08:00
sebv
27e88940f5 Logging improvements 2014-06-25 23:23:11 +08:00
Jonathan Lipps
762afa3649 allow users to bypass appium's sudo checks
so people who know what they're doing can do crazy things
partially works around #1902
2014-06-23 10:40:14 -07:00
sebv
f62c5b8b98 fixed bodyParser.urlencoded deprecation warning 2014-06-23 22:36:10 +08:00
Jonathan Lipps
fa503817fa allow setting of tmp dir appium uses via --tmp flag 2014-05-29 13:33:20 -07:00
sebv
f535d41abd migrated to express 4 2014-05-27 23:57:47 +08:00
Jonathan Lipps
d54852ddb9 ensure that the logger is initialized with correct args before using it (fix #2308) 2014-04-10 18:46:43 -07:00
Jonathan Lipps
9cb4e207d5 loosen up sudo check so it allows various forms of authorize 2014-04-10 16:23:25 -07:00
Payman Delshad
ae54ebe297 Fix the broken -g/--log and --log-no-colors. 2014-04-08 19:04:57 +02:00
sebv
34816eaa70 Avoiding passing LogNoColors/LogColors everywhere. 2014-03-25 11:34:34 +08:00
Jonathan Lipps
9450e18c5a fix sudo behavior for windows (fix #2137) 2014-03-24 10:37:15 -07:00
sebv
1fb38b556a fixing sudo grunt authorize 2014-03-23 16:42:12 +08:00
Jonathan Lipps
6d2183cd9f also disallow use of appium if it was even installed with sudo 2014-03-21 16:08:42 -07:00
Jonathan Lipps
f10e919597 make sure appium won't run under sudo. Too many people run into problems with that 2014-03-21 14:55:48 -07:00
Dylan Lacey
21c8feb8e5 Add new device and automation capabilities, deprecate old caps
Added deprecation warning for older style caps.  Warnings are output
once only for a given function or capability.  A final trailing log
message is released saying there were deprecations.

Busted unit tests into smaller tests

Capabilities are now an object, created by passing the capabilities
to Capabilities.  Properties on that object are copied into the Capabilities object so the API is identical.

Store the value of platformVersion as version.
2014-03-19 09:35:36 -07:00
sebv
6bfb2729a5 Making sure cwd is appium install dir 2014-03-12 10:56:31 +08:00
Jonathan Lipps
77c20b05d5 show extra server params in logs for easier debugging 2014-03-07 10:41:06 -08:00
jonahss
cd411874a4 changed .appiumconfig to .apapiumconfig.json so we can load it with require() and have it cached 2014-02-25 15:53:55 -08:00
Jonathan Lipps
ccfbd07603 bring back git rev into appium output 2014-02-06 12:11:12 -08:00
sebv
d971f72c46 stricter jshint rules enforcable from editor 2014-01-29 14:03:34 +08:00
Jonathan Lipps
24e899bdca make sure show-config works with npm (fix #1630) 2013-12-17 11:10:48 -08:00
Jonathan Lipps
abe22334b1 refactor server/main
and add --merciful flag to avoid the force quit instruments watcher
2013-12-10 13:25:58 -08:00
Jonathan Lipps
4e3caf7043 Merge pull request #1602 from bootstraponline/master
Pipe force quit logs to console
2013-12-10 12:30:18 -08:00
bootstraponline
5181bb90dd Pipe force quit logs to console
info: [ForceQuitUnresponsiveApps] 2013-12-10 15:11:16.424 ForceQuitUnresponsiveApps[56799:507] Force quit unresponsive instruments v0.0.1
info: [ForceQuitUnresponsiveApps] 2013-12-10 15:11:42.708 ForceQuitUnresponsiveApps[56799:507] Force quitting: 'freeze2' at 'file:///Users/user/ForceQuitUnresponsiveApps/freeze2/./bin/freeze2.app/Contents/MacOS/instruments'
2013-12-10 15:12:11 -05:00
Jonathan Lipps
6319f734b8 allow user to let instruments launch device with --default-device 2013-12-09 14:44:23 -08:00
Jonathan Lipps
0edd3a629d make sure --show-config doesn't crash main server :-) 2013-12-09 14:39:51 -08:00
Jonathan Lipps
52bb752773 add --show-config flag to show appium config, and include server build time 2013-12-09 14:13:42 -08:00
bootstraponline
eaa6cb3d18 Recover from unresponsive instruments process
Register for kCGSNotificationAppUnresponsive and if the process is Instruments then terminate it.
This enables Appium to continue even when instruments is unresponsive. The current behavior is to wait forever.

To test this feature works properly, run ./instruments.sh from https://github.com/appium/ForceQuitUnresponsiveApps

instruments.sh will launch a process that's unresponsive and appium will force quit the process. The unresponsive process can be visually confirmed by using OS X Activity Monitor.
2013-12-03 14:07:38 -05:00
Curtis Siemens
3d58646824 Adding the ability to get node path out of .appiumconfig (for users who modify .appiumconfig) 2013-11-14 17:37:00 -08:00
Payman Delshad
0c85864f43 Make sure there's no color in the console output when --log-no-colors is used. 2013-11-13 20:26:18 +01:00
Jonathan Lipps
f73a030ad9 add logging initialization in bin/appium so npm will work (fix #1381) 2013-10-29 14:40:15 -07:00
Jonathan Lipps
3ba0e3f0c6 add --log-timestamp and --log-no-colors options
also clean up and consolidate logging code
2013-10-28 16:36:32 -07:00
Jonathan Lipps
4ae0cd9c28 upgrade express so we don't get warning messages 2013-10-24 10:49:33 -07:00
Jonathan Lipps
64f5619331 move uiauto stuff into ios/ and extract status and xpath libs 2013-10-17 12:33:48 -07:00
Jonathan Lipps
8a4641bb83 grid register belongs with server 2013-10-17 10:30:11 -07:00
Jonathan Lipps
2878e62aa5 move more functionality into server/ 2013-10-17 10:30:11 -07:00
Jonathan Lipps
31c49f590d move server-related stuff into lib/server 2013-10-17 10:30:11 -07:00