Browse Source

Initial commit of YBDB code from July 24, 2014.

master
Jonathan Rosenbaum 9 years ago
commit
6d2028ae08
  1. BIN
      150_10.jpg
  2. 10
      Connections/YBDB.php
  3. 431
      Connections/database_functions.php
  4. 109
      MMHTTPDB.php
  5. 799
      MySQL_Structure.sql
  6. 47
      Templates/.metadata/.log
  7. 14
      Templates/.metadata/.plugins/com.aptana.core.io/connections.12
  8. BIN
      Templates/.metadata/.plugins/com.aptana.editor.php/76598679
  9. BIN
      Templates/.metadata/.plugins/com.aptana.editor.php/indexMappings
  10. BIN
      Templates/.metadata/.plugins/com.aptana.index.core/114577082.index
  11. BIN
      Templates/.metadata/.plugins/com.aptana.index.core/1821239576.index
  12. BIN
      Templates/.metadata/.plugins/com.aptana.index.core/2645618673.index
  13. BIN
      Templates/.metadata/.plugins/com.aptana.index.core/3575558297.index
  14. BIN
      Templates/.metadata/.plugins/com.aptana.index.core/4010369919.index
  15. 0
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/.installed_3.0.0.1337406272
  16. 10
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/Git Bash.vbs
  17. 89
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/README.portable
  18. 323
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/ReleaseNotes.rtf
  19. 8
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/awk
  20. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/basename.exe
  21. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/bash.exe
  22. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/bison.exe
  23. 8
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/bunzip2
  24. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/bzip2.exe
  25. 160
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/c_rehash
  26. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/cat.exe
  27. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/chmod.exe
  28. 4
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/clear
  29. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/cmp.exe
  30. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/connect.exe
  31. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/cp.exe
  32. 3536
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/curl-ca-bundle.crt
  33. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/curl.exe
  34. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/cut.exe
  35. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/date.exe
  36. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/diff.exe
  37. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/dirname.exe
  38. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/dos2unix.exe
  39. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/du.exe
  40. 8
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/echo
  41. 8
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/egrep
  42. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/env.exe
  43. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/expr.exe
  44. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/false.exe
  45. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/find.exe
  46. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/flex.exe
  47. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/gawk.exe
  48. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/getcp.exe
  49. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/git-receive-pack.exe
  50. BIN
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/bin/git-upload-archive.exe
  51. 155
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/git-bash.bat
  52. 15
      Templates/.metadata/.plugins/com.aptana.portablegit.win32/git-cmd.bat
  53. 7
      Templates/.metadata/.plugins/com.aptana.syncing.core/defaultConnection.12
  54. 8
      Templates/.metadata/.plugins/com.aptana.syncing.core/sites.12
  55. 2
      Templates/.metadata/.plugins/com.aptana.webserver.core/webservers.10
  56. BIN
      Templates/.metadata/.plugins/org.eclipse.core.resources/.snap
  57. 25
      Templates/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml
  58. 4
      Templates/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml
  59. 1
      Templates/.metadata/version.ini
  60. 26
      Templates/YBDB Template.dwt.php
  61. BIN
      YBDB-July-24-2014.zip
  62. 10
      YBDB.php
  63. BIN
      __MACOSX/._150_10.jpg
  64. BIN
      __MACOSX/._MySQL_Structure.sql
  65. 175
      contact_add_edit.php
  66. 13
      contact_add_edit_confirmation.html
  67. 30
      contact_add_edit_confirmation_frameset.html
  68. 18
      contact_add_edit_confirmation_framesetphp.html
  69. 63
      contact_add_edit_confirmation_iframe.php
  70. 180
      contact_add_edit_newsletter.php
  71. 101
      contact_add_edit_select.php
  72. 81
      css_yb_standard.css
  73. 0
      favicon.gif
  74. 0
      favicon.ico
  75. 6
      include_footer.html
  76. 33
      include_header.html
  77. 26
      include_header_redirect.html
  78. 1
      include_test.html
  79. 17
      include_timeout.html
  80. 17
      index.php
  81. 247
      individual_history_log.php
  82. 269
      individual_hours_log.php
  83. 168
      location_add_edit.php
  84. 79
      location_add_edit_select.php
  85. 412
      mysql.php
  86. 0
      robots.txt
  87. 228
      shop_log.php
  88. 225
      shop_log.phpbak
  89. 227
      shop_log2.php
  90. 59
      shop_log_delete_shopvisitid.php
  91. 59
      shop_log_delete_shopvisitid.phpbak
  92. 227
      shop_log_wDeleteButton.php
  93. 41
      shop_welcome.php
  94. 38
      shop_welcome_long.php
  95. 197
      start_shop.php
  96. 25
      stats.php
  97. 110
      stats_MechanicOperationMetrics_byMonth.php
  98. 110
      stats_MechanicOperationMetrics_byWeek.php
  99. 109
      stats_VolVsMechMetrics_byMonth.php
  100. 109
      stats_VolVsMechMetrics_byWeek.php

BIN
150_10.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

10
Connections/YBDB.php

File diff suppressed because one or more lines are too long

431
Connections/database_functions.php

File diff suppressed because one or more lines are too long

109
MMHTTPDB.php

File diff suppressed because one or more lines are too long

799
MySQL_Structure.sql

@ -0,0 +1,799 @@
-- phpMyAdmin SQL Dump
-- version 3.3.10.4
-- http://www.phpmyadmin.net
--
-- Host: mysql.ybdb.austinyellowbike.org
-- Generation Time: Jul 24, 2014 at 06:43 AM
-- Server version: 5.1.56
-- PHP Version: 5.4.20
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `ybdb`
--
-- --------------------------------------------------------
--
-- Table structure for table `contacts`
--
CREATE TABLE IF NOT EXISTS `contacts` (
`contact_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`first_name` varchar(20) NOT NULL DEFAULT '',
`middle_initial` char(2) NOT NULL DEFAULT '',
`last_name` varchar(20) NOT NULL DEFAULT '',
`email` varchar(70) NOT NULL DEFAULT '',
`phone` varchar(45) NOT NULL DEFAULT '',
`address1` varchar(70) NOT NULL DEFAULT '',
`address2` varchar(70) NOT NULL DEFAULT '',
`city` varchar(25) NOT NULL DEFAULT '',
`state` char(2) NOT NULL DEFAULT '',
`country` varchar(25) NOT NULL DEFAULT '',
`receive_newsletter` tinyint(1) NOT NULL DEFAULT '1',
`date_created` datetime DEFAULT NULL,
`invited_newsletter` tinyint(1) NOT NULL DEFAULT '0',
`DOB` date NOT NULL DEFAULT '0000-00-00',
`pass` varbinary(30) NOT NULL DEFAULT '',
`zip` varchar(5) NOT NULL DEFAULT '',
`hidden` tinyint(1) NOT NULL DEFAULT '0',
`location_name` varchar(45) NOT NULL DEFAULT '',
`location_type` varchar(45) DEFAULT NULL,
PRIMARY KEY (`contact_id`),
KEY `location_type` (`location_type`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC COMMENT='InnoDB free: 5120 kB' AUTO_INCREMENT=17010 ;
-- --------------------------------------------------------
--
-- Table structure for table `projects`
--
CREATE TABLE IF NOT EXISTS `projects` (
`project_id` varchar(50) NOT NULL DEFAULT '',
`date_established` date NOT NULL DEFAULT '0000-00-00',
`active` tinyint(1) NOT NULL DEFAULT '1',
`public` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `sale_log`
--
CREATE TABLE IF NOT EXISTS `sale_log` (
`transaction_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`sale_type` varchar(45) NOT NULL DEFAULT '',
`description` varchar(200) NOT NULL DEFAULT '',
`amount` float NOT NULL DEFAULT '0',
`sold_by` varchar(45) NOT NULL DEFAULT '',
`sold_to` varchar(45) NOT NULL DEFAULT '',
PRIMARY KEY (`transaction_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `shops`
--
CREATE TABLE IF NOT EXISTS `shops` (
`shop_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`date` date DEFAULT NULL,
`shop_location` varchar(45) NOT NULL DEFAULT '',
`shop_type` varchar(45) NOT NULL DEFAULT '',
`ip_address` varchar(45) NOT NULL DEFAULT '0',
PRIMARY KEY (`shop_id`),
KEY `shop_type` (`shop_type`),
KEY `shop_location` (`shop_location`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2729 ;
-- --------------------------------------------------------
--
-- Table structure for table `shop_hours`
--
CREATE TABLE IF NOT EXISTS `shop_hours` (
`shop_visit_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`contact_id` int(10) unsigned NOT NULL DEFAULT '0',
`shop_id` int(10) unsigned NOT NULL DEFAULT '0',
`shop_user_role` varchar(45) NOT NULL DEFAULT '',
`project_id` varchar(45) DEFAULT NULL,
`time_in` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`time_out` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`comment` tinytext,
PRIMARY KEY (`shop_visit_id`),
KEY `contact_id` (`contact_id`),
KEY `shop_user_role` (`shop_user_role`),
KEY `project_id` (`project_id`),
KEY `shop_id` (`shop_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='InnoDB free: 4096 kB; (`contact_id`) REFER `nwilkes_ybdb/con' AUTO_INCREMENT=51328 ;
-- --------------------------------------------------------
--
-- Table structure for table `shop_locations`
--
CREATE TABLE IF NOT EXISTS `shop_locations` (
`shop_location_id` varchar(30) NOT NULL DEFAULT '',
`date_established` date NOT NULL DEFAULT '0000-00-00',
`active` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`shop_location_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `shop_types`
--
CREATE TABLE IF NOT EXISTS `shop_types` (
`shop_type_id` varchar(30) NOT NULL DEFAULT '',
`list_order` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`shop_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `shop_user_roles`
--
CREATE TABLE IF NOT EXISTS `shop_user_roles` (
`shop_user_role_id` varchar(45) NOT NULL DEFAULT '',
`hours_rank` int(10) unsigned NOT NULL DEFAULT '0',
`volunteer` tinyint(1) NOT NULL DEFAULT '0',
`sales` tinyint(1) unsigned NOT NULL DEFAULT '0',
`paid` tinyint(3) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`shop_user_role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `transaction_log`
--
CREATE TABLE IF NOT EXISTS `transaction_log` (
`transaction_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`date_startstorage` datetime DEFAULT NULL,
`date` datetime DEFAULT NULL,
`transaction_type` varchar(45) NOT NULL DEFAULT '',
`amount` float DEFAULT '0',
`description` varchar(200) DEFAULT NULL,
`sold_to` int(10) unsigned DEFAULT NULL,
`sold_by` int(10) unsigned DEFAULT NULL,
`quantity` int(10) unsigned NOT NULL DEFAULT '1',
`shop_id` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`transaction_id`),
KEY `transaction_type` (`transaction_type`),
KEY `sold_to` (`sold_to`),
KEY `sold_by` (`sold_by`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=13244 ;
-- --------------------------------------------------------
--
-- Table structure for table `transaction_types`
--
CREATE TABLE IF NOT EXISTS `transaction_types` (
`transaction_type_id` varchar(45) NOT NULL DEFAULT '',
`rank` varchar(45) NOT NULL DEFAULT '1',
`active` tinyint(1) NOT NULL DEFAULT '1',
`community_bike` tinyint(1) NOT NULL DEFAULT '0',
`show_transaction_id` tinyint(1) NOT NULL DEFAULT '0',
`show_type` tinyint(1) NOT NULL DEFAULT '0',
`show_startdate` tinyint(1) NOT NULL DEFAULT '0',
`show_amount` tinyint(1) NOT NULL DEFAULT '0',
`show_description` tinyint(1) NOT NULL DEFAULT '0',
`show_soldto` tinyint(1) NOT NULL DEFAULT '0',
`show_soldby` tinyint(1) NOT NULL DEFAULT '0',
`fieldname_date` varchar(25) NOT NULL DEFAULT '',
`fieldname_soldby` varchar(25) NOT NULL DEFAULT '',
`message_transaction_id` varchar(100) NOT NULL DEFAULT '',
`fieldname_soldto` varchar(45) NOT NULL DEFAULT '',
`show_soldto_location` tinyint(1) NOT NULL DEFAULT '0',
`fieldname_description` varchar(45) NOT NULL,
`accounting_group` varchar(45) NOT NULL,
PRIMARY KEY (`transaction_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_EmployeeHours`
--
CREATE TABLE IF NOT EXISTS `view_EmployeeHours` (
`Year` int(4)
,`Month` int(2)
,`YearWeek` int(5)
,`Week` int(2)
,`Date` date
,`ContactID` int(10) unsigned
,`Name` varchar(45)
,`Hours` decimal(5,2)
,`Pay` decimal(8,2)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_EmployeeHours_byMonth`
--
CREATE TABLE IF NOT EXISTS `view_EmployeeHours_byMonth` (
`Year` int(4)
,`Month` int(2)
,`ContactID` int(10) unsigned
,`Name` varchar(45)
,`Hours` decimal(27,2)
,`Pay` decimal(30,2)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_EmployeeHours_byMonth_WholeOper`
--
CREATE TABLE IF NOT EXISTS `view_EmployeeHours_byMonth_WholeOper` (
`Year` int(4)
,`Month` int(2)
,`Hours` decimal(49,2)
,`Pay` decimal(52,2)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_EmployeeHours_byWeek`
--
CREATE TABLE IF NOT EXISTS `view_EmployeeHours_byWeek` (
`Year` int(5)
,`Week` int(2)
,`ContactID` int(10) unsigned
,`Name` varchar(45)
,`Hours` decimal(27,2)
,`Pay` decimal(30,2)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_EmployeeHours_byWeek_WholeOper`
--
CREATE TABLE IF NOT EXISTS `view_EmployeeHours_byWeek_WholeOper` (
`Year` int(5)
,`Week` int(2)
,`Hours` decimal(49,2)
,`Pay` decimal(52,2)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_EmployeeMetrics_BikesbyMonth`
--
CREATE TABLE IF NOT EXISTS `view_EmployeeMetrics_BikesbyMonth` (
`Year` int(4)
,`Month` int(2)
,`contact_id` int(10) unsigned
,`TotalValue` double
,`AverageValue` double(17,0)
,`Count` bigint(21)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_EmployeeMetrics_BikesbyWeek`
--
CREATE TABLE IF NOT EXISTS `view_EmployeeMetrics_BikesbyWeek` (
`Year` int(4)
,`Week` int(2)
,`contact_id` int(10) unsigned
,`TotalValue` double
,`AverageValue` double(17,0)
,`Count` bigint(21)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_EmployeeMetrics_TotalsByMonth`
--
CREATE TABLE IF NOT EXISTS `view_EmployeeMetrics_TotalsByMonth` (
`Year` int(4)
,`Month` int(2)
,`Name` varchar(45)
,`ContactID` int(10) unsigned
,`OutputValueVsPayRatio` double(18,1)
,`HoursPerBike` decimal(27,1)
,`NumBikes` bigint(21)
,`AverageBikePrice` double(17,0)
,`TotalValueBikes` double
,`NumWheels` bigint(21)
,`AverageWheelPrice` double(17,0)
,`TotalValueWheels` double
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_EmployeeMetrics_TotalsByWeek`
--
CREATE TABLE IF NOT EXISTS `view_EmployeeMetrics_TotalsByWeek` (
`Year` int(5)
,`Week` int(2)
,`Name` varchar(45)
,`ContactID` int(10) unsigned
,`OutputValueVsPayRatio` double(18,1)
,`HoursPerBike` decimal(27,1)
,`NumBikes` bigint(21)
,`AverageBikePrice` double(17,0)
,`TotalValueBikes` double
,`NumWheels` bigint(21)
,`AverageWheelPrice` double(17,0)
,`TotalValueWheels` double
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_EmployeeMetrics_WheelsbyMonth`
--
CREATE TABLE IF NOT EXISTS `view_EmployeeMetrics_WheelsbyMonth` (
`Year` int(4)
,`Month` int(2)
,`contact_id` int(10) unsigned
,`TotalValue` double
,`AverageValue` double(17,0)
,`Count` bigint(21)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_EmployeeMetrics_WheelsbyWeek`
--
CREATE TABLE IF NOT EXISTS `view_EmployeeMetrics_WheelsbyWeek` (
`Year` int(4)
,`Week` int(2)
,`contact_id` int(10) unsigned
,`TotalValue` double
,`AverageValue` double(17,0)
,`Count` bigint(21)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_MechanicOperationMetrics_byMonth`
--
CREATE TABLE IF NOT EXISTS `view_MechanicOperationMetrics_byMonth` (
`Year` int(4)
,`Month` int(2)
,`Hours` decimal(49,2)
,`Pay` decimal(52,2)
,`NetSalesNewParts` double(19,2)
,`SalesUsedParts` double(19,2)
,`ValueBikesFixed` double(19,2)
,`ValueWheelsFixed` double(19,2)
,`ValueNewPartsOnBikes` double(19,2)
,`EstimatedNetIncome` double(19,2)
,`TotalBikesFixed` bigint(20)
,`TotalWheelsFixed` bigint(20)
,`HoursPerBike` decimal(49,1)
,`AverageBikeValue` double(18,1)
,`SalesBikes` double(19,2)
,`TotalBikesSold` bigint(20)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_MechanicOperationMetrics_byWeek`
--
CREATE TABLE IF NOT EXISTS `view_MechanicOperationMetrics_byWeek` (
`Year` int(5)
,`Week` int(2)
,`Hours` decimal(49,2)
,`Pay` decimal(52,2)
,`NetSalesNewParts` double(19,2)
,`SalesUsedParts` double(19,2)
,`ValueBikesFixed` double(19,2)
,`ValueWheelsFixed` double(19,2)
,`ValueNewPartsOnBikes` double(19,2)
,`EstimatedNetIncome` double(19,2)
,`TotalBikesFixed` bigint(20)
,`TotalWheelsFixed` bigint(20)
,`HoursPerBike` decimal(49,1)
,`AverageBikeValue` double(18,1)
,`SalesBikes` double(19,2)
,`TotalBikesSold` bigint(20)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_sales_by_week`
--
CREATE TABLE IF NOT EXISTS `view_sales_by_week` (
`Year` int(5)
,`Week` int(2)
,`TransactionType` varchar(45)
,`Total` double(19,2)
,`CountOfTrans` bigint(21)
,`AccountingGroup` varchar(45)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_Transactions`
--
CREATE TABLE IF NOT EXISTS `view_Transactions` (
`Year` int(4)
,`Month` int(2)
,`YearWeek` int(5)
,`Week` int(2)
,`TransactionType` varchar(45)
,`Total` double(19,2)
,`AccountingGroup` varchar(45)
,`ShopType` varchar(23)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_Transactions_MechOper_byMonth`
--
CREATE TABLE IF NOT EXISTS `view_Transactions_MechOper_byMonth` (
`Year` int(4)
,`Month` int(2)
,`TransactionType` varchar(45)
,`Total` double(19,2)
,`Count` bigint(21)
,`AccountingGroup` varchar(45)
,`ShopType` varchar(23)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_Transactions_MechOper_byMonth_pvTbl`
--
CREATE TABLE IF NOT EXISTS `view_Transactions_MechOper_byMonth_pvTbl` (
`Year` int(4)
,`Month` int(2)
,`NetSalesNewParts` double(19,2)
,`SalesUsedParts` double(19,2)
,`SalesBikes` double(19,2)
,`ValueBikesFixed` double(19,2)
,`ValueWheelsFixed` double(19,2)
,`TotalBikesSold` bigint(20)
,`TotalBikesFixed` bigint(20)
,`TotalWheelsFixed` bigint(20)
,`ValueNewPartsOnBikes` double(19,2)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_Transactions_MechOper_byWeek`
--
CREATE TABLE IF NOT EXISTS `view_Transactions_MechOper_byWeek` (
`Year` int(5)
,`Week` int(2)
,`TransactionType` varchar(45)
,`Total` double(19,2)
,`Count` bigint(21)
,`AccountingGroup` varchar(45)
,`ShopType` varchar(23)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_Transactions_MechOper_byWeek_pvTbl`
--
CREATE TABLE IF NOT EXISTS `view_Transactions_MechOper_byWeek_pvTbl` (
`Year` int(5)
,`Week` int(2)
,`NetSalesNewParts` double(19,2)
,`SalesUsedParts` double(19,2)
,`SalesBikes` double(19,2)
,`ValueBikesFixed` double(19,2)
,`ValueWheelsFixed` double(19,2)
,`TotalBikesSold` bigint(20)
,`TotalBikesFixed` bigint(20)
,`TotalWheelsFixed` bigint(20)
,`ValueNewPartsOnBikes` double(19,2)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_Transactions_VolRunShop_byMonth`
--
CREATE TABLE IF NOT EXISTS `view_Transactions_VolRunShop_byMonth` (
`Year` int(4)
,`Month` int(2)
,`TransactionType` varchar(45)
,`Total` double(19,2)
,`Count` bigint(21)
,`AccountingGroup` varchar(45)
,`ShopType` varchar(23)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_Transactions_VolRunShop_byMonth_pvTbl`
--
CREATE TABLE IF NOT EXISTS `view_Transactions_VolRunShop_byMonth_pvTbl` (
`Year` int(4)
,`Month` int(2)
,`NetSalesNewParts` double(19,2)
,`SalesUsedParts` double(19,2)
,`SalesBikes` double(19,2)
,`TotalBikesSold` bigint(20)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_Transactions_VolRunShop_byWeek`
--
CREATE TABLE IF NOT EXISTS `view_Transactions_VolRunShop_byWeek` (
`Year` int(5)
,`Week` int(2)
,`TransactionType` varchar(45)
,`Total` double(19,2)
,`Count` bigint(21)
,`AccountingGroup` varchar(45)
,`ShopType` varchar(23)
);
-- --------------------------------------------------------
--
-- Stand-in structure for view `view_Transactions_VolRunShop_byWeek_pvTbl`
--
CREATE TABLE IF NOT EXISTS `view_Transactions_VolRunShop_byWeek_pvTbl` (
`Year` int(5)
,`Week` int(2)
,`NetSalesNewParts` double(19,2)
,`SalesUsedParts` double(19,2)
,`SalesBikes` double(19,2)
,`TotalBikesSold` bigint(20)
);
-- --------------------------------------------------------
--
-- Structure for view `view_EmployeeHours`
--
DROP TABLE IF EXISTS `view_EmployeeHours`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_EmployeeHours` AS select year(`shop_hours`.`time_in`) AS `Year`,month(`shop_hours`.`time_in`) AS `Month`,if((week(`shop_hours`.`time_in`,0) <> 0),year(`shop_hours`.`time_in`),(year(`shop_hours`.`time_in`) - 1)) AS `YearWeek`,if((week(`shop_hours`.`time_in`,0) <> 0),week(`shop_hours`.`time_in`,0),53) AS `Week`,cast(`shop_hours`.`time_in` as date) AS `Date`,`contacts`.`contact_id` AS `ContactID`,concat(`contacts`.`last_name`,', ',`contacts`.`first_name`,' ',`contacts`.`middle_initial`) AS `Name`,round((hour(subtime(cast(`shop_hours`.`time_out` as time),cast(`shop_hours`.`time_in` as time))) + (minute(subtime(cast(`shop_hours`.`time_out` as time),cast(`shop_hours`.`time_in` as time))) / 60)),2) AS `Hours`,round((((hour(subtime(cast(`shop_hours`.`time_out` as time),cast(`shop_hours`.`time_in` as time))) + (minute(subtime(cast(`shop_hours`.`time_out` as time),cast(`shop_hours`.`time_in` as time))) / 60)) * 12) * 1.1),2) AS `Pay` from ((`shop_hours` left join `contacts` on((`shop_hours`.`contact_id` = `contacts`.`contact_id`))) left join `shop_user_roles` on((`shop_hours`.`shop_user_role` = `shop_user_roles`.`shop_user_role_id`))) where (`shop_user_roles`.`paid` = 1) order by `shop_hours`.`time_in` desc;
-- --------------------------------------------------------
--
-- Structure for view `view_EmployeeHours_byMonth`
--
DROP TABLE IF EXISTS `view_EmployeeHours_byMonth`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_EmployeeHours_byMonth` AS select `v`.`Year` AS `Year`,`v`.`Month` AS `Month`,`v`.`ContactID` AS `ContactID`,`v`.`Name` AS `Name`,sum(`v`.`Hours`) AS `Hours`,sum(`v`.`Pay`) AS `Pay` from `view_EmployeeHours` `v` group by `v`.`Year`,`v`.`Month`,`v`.`ContactID` order by `v`.`Year` desc,`v`.`Month` desc,`v`.`Name`;
-- --------------------------------------------------------
--
-- Structure for view `view_EmployeeHours_byMonth_WholeOper`
--
DROP TABLE IF EXISTS `view_EmployeeHours_byMonth_WholeOper`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_EmployeeHours_byMonth_WholeOper` AS select `v`.`Year` AS `Year`,`v`.`Month` AS `Month`,sum(`v`.`Hours`) AS `Hours`,sum(`v`.`Pay`) AS `Pay` from `view_EmployeeHours_byMonth` `v` group by `v`.`Year`,`v`.`Month` order by `v`.`Year` desc,`v`.`Month` desc;
-- --------------------------------------------------------
--
-- Structure for view `view_EmployeeHours_byWeek`
--
DROP TABLE IF EXISTS `view_EmployeeHours_byWeek`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_EmployeeHours_byWeek` AS select `v`.`YearWeek` AS `Year`,`v`.`Week` AS `Week`,`v`.`ContactID` AS `ContactID`,`v`.`Name` AS `Name`,sum(`v`.`Hours`) AS `Hours`,sum(`v`.`Pay`) AS `Pay` from `view_EmployeeHours` `v` group by `v`.`YearWeek`,`v`.`Week`,`v`.`ContactID` order by `v`.`YearWeek` desc,`v`.`Week` desc,`v`.`Name`;
-- --------------------------------------------------------
--
-- Structure for view `view_EmployeeHours_byWeek_WholeOper`
--
DROP TABLE IF EXISTS `view_EmployeeHours_byWeek_WholeOper`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_EmployeeHours_byWeek_WholeOper` AS select `v`.`Year` AS `Year`,`v`.`Week` AS `Week`,sum(`v`.`Hours`) AS `Hours`,sum(`v`.`Pay`) AS `Pay` from `view_EmployeeHours_byWeek` `v` group by `v`.`Year`,`v`.`Week` order by `v`.`Year` desc,`v`.`Week` desc;
-- --------------------------------------------------------
--
-- Structure for view `view_EmployeeMetrics_BikesbyMonth`
--
DROP TABLE IF EXISTS `view_EmployeeMetrics_BikesbyMonth`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_EmployeeMetrics_BikesbyMonth` AS select year(`t`.`date`) AS `Year`,month(`t`.`date`) AS `Month`,`t`.`sold_by` AS `contact_id`,sum(`t`.`amount`) AS `TotalValue`,round(avg(`t`.`amount`),0) AS `AverageValue`,count(`t`.`transaction_id`) AS `Count` from `transaction_log` `t` where (`t`.`transaction_type` = 'Metrics - Completed Mechanic Operation Bike') group by year(`t`.`date`),month(`t`.`date`),`t`.`sold_by` order by year(`t`.`date`) desc,month(`t`.`date`) desc,`t`.`sold_by`;
-- --------------------------------------------------------
--
-- Structure for view `view_EmployeeMetrics_BikesbyWeek`
--
DROP TABLE IF EXISTS `view_EmployeeMetrics_BikesbyWeek`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_EmployeeMetrics_BikesbyWeek` AS select year(`t`.`date`) AS `Year`,week(`t`.`date`,0) AS `Week`,`t`.`sold_by` AS `contact_id`,sum(`t`.`amount`) AS `TotalValue`,round(avg(`t`.`amount`),0) AS `AverageValue`,count(`t`.`transaction_id`) AS `Count` from `transaction_log` `t` where (`t`.`transaction_type` = 'Metrics - Completed Mechanic Operation Bike') group by year(`t`.`date`),week(`t`.`date`,0),`t`.`sold_by` order by year(`t`.`date`) desc,week(`t`.`date`,0) desc,`t`.`sold_by`;
-- --------------------------------------------------------
--
-- Structure for view `view_EmployeeMetrics_TotalsByMonth`
--
DROP TABLE IF EXISTS `view_EmployeeMetrics_TotalsByMonth`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_EmployeeMetrics_TotalsByMonth` AS select `eh`.`Year` AS `Year`,`eh`.`Month` AS `Month`,`eh`.`Name` AS `Name`,`eh`.`ContactID` AS `ContactID`,round(((`eb`.`TotalValue` + if(isnull(`ew`.`TotalValue`),0,`ew`.`TotalValue`)) / `eh`.`Pay`),1) AS `OutputValueVsPayRatio`,round((`eh`.`Hours` / `eb`.`Count`),1) AS `HoursPerBike`,`eb`.`Count` AS `NumBikes`,`eb`.`AverageValue` AS `AverageBikePrice`,`eb`.`TotalValue` AS `TotalValueBikes`,`ew`.`Count` AS `NumWheels`,`ew`.`AverageValue` AS `AverageWheelPrice`,`ew`.`TotalValue` AS `TotalValueWheels` from ((`view_EmployeeHours_byMonth` `eh` left join `view_EmployeeMetrics_BikesbyMonth` `eb` on(((`eh`.`ContactID` = `eb`.`contact_id`) and (`eh`.`Year` = `eb`.`Year`) and (`eh`.`Month` = `eb`.`Month`)))) left join `view_EmployeeMetrics_WheelsbyMonth` `ew` on(((`eh`.`ContactID` = `ew`.`contact_id`) and (`eh`.`Year` = `ew`.`Year`) and (`eh`.`Month` = `ew`.`Month`))));
-- --------------------------------------------------------
--
-- Structure for view `view_EmployeeMetrics_TotalsByWeek`
--
DROP TABLE IF EXISTS `view_EmployeeMetrics_TotalsByWeek`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_EmployeeMetrics_TotalsByWeek` AS select `eh`.`Year` AS `Year`,`eh`.`Week` AS `Week`,`eh`.`Name` AS `Name`,`eh`.`ContactID` AS `ContactID`,round(((`eb`.`TotalValue` + if(isnull(`ew`.`TotalValue`),0,`ew`.`TotalValue`)) / `eh`.`Pay`),1) AS `OutputValueVsPayRatio`,round((`eh`.`Hours` / `eb`.`Count`),1) AS `HoursPerBike`,`eb`.`Count` AS `NumBikes`,`eb`.`AverageValue` AS `AverageBikePrice`,`eb`.`TotalValue` AS `TotalValueBikes`,`ew`.`Count` AS `NumWheels`,`ew`.`AverageValue` AS `AverageWheelPrice`,`ew`.`TotalValue` AS `TotalValueWheels` from ((`view_EmployeeHours_byWeek` `eh` left join `view_EmployeeMetrics_BikesbyWeek` `eb` on(((`eh`.`ContactID` = `eb`.`contact_id`) and (`eh`.`Year` = `eb`.`Year`) and (`eh`.`Week` = `eb`.`Week`)))) left join `view_EmployeeMetrics_WheelsbyWeek` `ew` on(((`eh`.`ContactID` = `ew`.`contact_id`) and (`eh`.`Year` = `ew`.`Year`) and (`eh`.`Week` = `ew`.`Week`))));
-- --------------------------------------------------------
--
-- Structure for view `view_EmployeeMetrics_WheelsbyMonth`
--
DROP TABLE IF EXISTS `view_EmployeeMetrics_WheelsbyMonth`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_EmployeeMetrics_WheelsbyMonth` AS select year(`t`.`date`) AS `Year`,month(`t`.`date`) AS `Month`,`t`.`sold_by` AS `contact_id`,sum(`t`.`amount`) AS `TotalValue`,round(avg(`t`.`amount`),0) AS `AverageValue`,count(`t`.`transaction_id`) AS `Count` from `transaction_log` `t` where (`t`.`transaction_type` = 'Metrics - Completed Mechanic Operation Wheel') group by year(`t`.`date`),month(`t`.`date`),`t`.`sold_by` order by year(`t`.`date`) desc,month(`t`.`date`) desc,`t`.`sold_by`;
-- --------------------------------------------------------
--
-- Structure for view `view_EmployeeMetrics_WheelsbyWeek`
--
DROP TABLE IF EXISTS `view_EmployeeMetrics_WheelsbyWeek`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_EmployeeMetrics_WheelsbyWeek` AS select year(`t`.`date`) AS `Year`,week(`t`.`date`,0) AS `Week`,`t`.`sold_by` AS `contact_id`,sum(`t`.`amount`) AS `TotalValue`,round(avg(`t`.`amount`),0) AS `AverageValue`,count(`t`.`transaction_id`) AS `Count` from `transaction_log` `t` where (`t`.`transaction_type` = 'Metrics - Completed Mechanic Operation Wheel') group by year(`t`.`date`),week(`t`.`date`,0),`t`.`sold_by` order by year(`t`.`date`) desc,week(`t`.`date`,0) desc,`t`.`sold_by`;
-- --------------------------------------------------------
--
-- Structure for view `view_MechanicOperationMetrics_byMonth`
--
DROP TABLE IF EXISTS `view_MechanicOperationMetrics_byMonth`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_MechanicOperationMetrics_byMonth` AS select `Hours`.`Year` AS `Year`,`Hours`.`Month` AS `Month`,`Hours`.`Hours` AS `Hours`,`Hours`.`Pay` AS `Pay`,`Trans`.`NetSalesNewParts` AS `NetSalesNewParts`,`Trans`.`SalesUsedParts` AS `SalesUsedParts`,`Trans`.`ValueBikesFixed` AS `ValueBikesFixed`,`Trans`.`ValueWheelsFixed` AS `ValueWheelsFixed`,`Trans`.`ValueNewPartsOnBikes` AS `ValueNewPartsOnBikes`,((((`Trans`.`NetSalesNewParts` + `Trans`.`SalesUsedParts`) + `Trans`.`ValueBikesFixed`) + `Trans`.`ValueWheelsFixed`) - (`Hours`.`Pay` + `Trans`.`ValueNewPartsOnBikes`)) AS `EstimatedNetIncome`,`Trans`.`TotalBikesFixed` AS `TotalBikesFixed`,`Trans`.`TotalWheelsFixed` AS `TotalWheelsFixed`,round((`Hours`.`Hours` / `Trans`.`TotalBikesFixed`),1) AS `HoursPerBike`,round((`Trans`.`ValueBikesFixed` / `Trans`.`TotalBikesFixed`),1) AS `AverageBikeValue`,`Trans`.`SalesBikes` AS `SalesBikes`,`Trans`.`TotalBikesSold` AS `TotalBikesSold` from (`view_EmployeeHours_byMonth_WholeOper` `Hours` left join `view_Transactions_MechOper_byMonth_pvTbl` `Trans` on(((`Hours`.`Year` = `Trans`.`Year`) and (`Hours`.`Month` = `Trans`.`Month`)))) order by `Hours`.`Year` desc,`Hours`.`Month` desc;
-- --------------------------------------------------------
--
-- Structure for view `view_MechanicOperationMetrics_byWeek`
--
DROP TABLE IF EXISTS `view_MechanicOperationMetrics_byWeek`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_MechanicOperationMetrics_byWeek` AS select `Hours`.`Year` AS `Year`,`Hours`.`Week` AS `Week`,`Hours`.`Hours` AS `Hours`,`Hours`.`Pay` AS `Pay`,`Trans`.`NetSalesNewParts` AS `NetSalesNewParts`,`Trans`.`SalesUsedParts` AS `SalesUsedParts`,`Trans`.`ValueBikesFixed` AS `ValueBikesFixed`,`Trans`.`ValueWheelsFixed` AS `ValueWheelsFixed`,`Trans`.`ValueNewPartsOnBikes` AS `ValueNewPartsOnBikes`,((((`Trans`.`NetSalesNewParts` + `Trans`.`SalesUsedParts`) + `Trans`.`ValueBikesFixed`) + `Trans`.`ValueWheelsFixed`) - (`Hours`.`Pay` + `Trans`.`ValueNewPartsOnBikes`)) AS `EstimatedNetIncome`,`Trans`.`TotalBikesFixed` AS `TotalBikesFixed`,`Trans`.`TotalWheelsFixed` AS `TotalWheelsFixed`,round((`Hours`.`Hours` / `Trans`.`TotalBikesFixed`),1) AS `HoursPerBike`,round((`Trans`.`ValueBikesFixed` / `Trans`.`TotalBikesFixed`),1) AS `AverageBikeValue`,`Trans`.`SalesBikes` AS `SalesBikes`,`Trans`.`TotalBikesSold` AS `TotalBikesSold` from (`view_EmployeeHours_byWeek_WholeOper` `Hours` left join `view_Transactions_MechOper_byWeek_pvTbl` `Trans` on(((`Hours`.`Year` = `Trans`.`Year`) and (`Hours`.`Week` = `Trans`.`Week`)))) order by `Hours`.`Year` desc,`Hours`.`Week` desc;
-- --------------------------------------------------------
--
-- Structure for view `view_sales_by_week`
--
DROP TABLE IF EXISTS `view_sales_by_week`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_sales_by_week` AS select if((week(`t`.`date`,0) <> 0),year(`t`.`date`),(year(`t`.`date`) - 1)) AS `Year`,if((week(`t`.`date`,0) <> 0),week(`t`.`date`,0),53) AS `Week`,`t`.`transaction_type` AS `TransactionType`,round(sum(`t`.`amount`),2) AS `Total`,count(`t`.`transaction_id`) AS `CountOfTrans`,`transaction_types`.`accounting_group` AS `AccountingGroup` from ((`transaction_log` `t` left join `transaction_types` on((`t`.`transaction_type` = `transaction_types`.`transaction_type_id`))) left join `shops` on((`t`.`shop_id` = `shops`.`shop_id`))) where (`shops`.`shop_type` = 'Mechanic Operation Shop') group by `transaction_types`.`accounting_group`,`t`.`transaction_type`,year(`t`.`date`),quarter(`t`.`date`),month(`t`.`date`) order by if((week(`t`.`date`,0) <> 0),year(`t`.`date`),(year(`t`.`date`) - 1)) desc,if((week(`t`.`date`,0) <> 0),week(`t`.`date`,0),53) desc,`transaction_types`.`accounting_group`,`t`.`transaction_id`;
-- --------------------------------------------------------
--
-- Structure for view `view_Transactions`
--
DROP TABLE IF EXISTS `view_Transactions`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_Transactions` AS select year(`t`.`date`) AS `Year`,month(`t`.`date`) AS `Month`,if((week(`t`.`date`,0) <> 0),year(`t`.`date`),(year(`t`.`date`) - 1)) AS `YearWeek`,if((week(`t`.`date`,0) <> 0),week(`t`.`date`,0),53) AS `Week`,`t`.`transaction_type` AS `TransactionType`,round(`t`.`amount`,2) AS `Total`,`transaction_types`.`accounting_group` AS `AccountingGroup`,if((`shops`.`shop_type` = 'Mechanic Operation Shop'),'Mechanic Operation Shop','Volunteer Run Shop') AS `ShopType` from ((`transaction_log` `t` left join `transaction_types` on((`t`.`transaction_type` = `transaction_types`.`transaction_type_id`))) left join `shops` on((`t`.`shop_id` = `shops`.`shop_id`)));
-- --------------------------------------------------------
--
-- Structure for view `view_Transactions_MechOper_byMonth`
--
DROP TABLE IF EXISTS `view_Transactions_MechOper_byMonth`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_Transactions_MechOper_byMonth` AS select `v`.`Year` AS `Year`,`v`.`Month` AS `Month`,`v`.`TransactionType` AS `TransactionType`,sum(`v`.`Total`) AS `Total`,count(`v`.`Total`) AS `Count`,`v`.`AccountingGroup` AS `AccountingGroup`,`v`.`ShopType` AS `ShopType` from `view_Transactions` `v` where (`v`.`ShopType` = 'Mechanic Operation Shop') group by `v`.`Year`,`v`.`Month`,`v`.`TransactionType` order by `v`.`Year` desc,`v`.`Month` desc,`v`.`TransactionType`;
-- --------------------------------------------------------
--
-- Structure for view `view_Transactions_MechOper_byMonth_pvTbl`
--
DROP TABLE IF EXISTS `view_Transactions_MechOper_byMonth_pvTbl`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_Transactions_MechOper_byMonth_pvTbl` AS select `v`.`Year` AS `Year`,`v`.`Month` AS `Month`,round(max(if((`v2`.`TransactionType` = 'Sale - New Parts'),(`v2`.`Total` / 2),0)),2) AS `NetSalesNewParts`,max(if((`v2`.`TransactionType` = 'Sale - Used Parts'),`v2`.`Total`,0)) AS `SalesUsedParts`,max(if((`v2`.`TransactionType` = 'Sale - Complete Bike'),`v2`.`Total`,0)) AS `SalesBikes`,max(if((`v2`.`TransactionType` = 'Metrics - Completed Mechanic Operation Bike'),`v2`.`Total`,0)) AS `ValueBikesFixed`,max(if((`v2`.`TransactionType` = 'Metrics - Completed Mechanic Operation Wheel'),`v2`.`Total`,0)) AS `ValueWheelsFixed`,max(if((`v2`.`TransactionType` = 'Sale - Complete Bike'),`v2`.`Count`,0)) AS `TotalBikesSold`,max(if((`v2`.`TransactionType` = 'Metrics - Completed Mechanic Operation Bike'),`v2`.`Count`,0)) AS `TotalBikesFixed`,max(if((`v2`.`TransactionType` = 'Metrics - Completed Mechanic Operation Wheel'),`v2`.`Count`,0)) AS `TotalWheelsFixed`,max(if((`v2`.`TransactionType` = 'Metrics - New Parts on a Completed Bike'),`v2`.`Total`,0)) AS `ValueNewPartsOnBikes` from (`view_Transactions_MechOper_byMonth` `v` left join `view_Transactions_MechOper_byMonth` `v2` on(((`v`.`Year` = `v2`.`Year`) and (`v`.`Month` = `v2`.`Month`)))) group by `v`.`Year`,`v`.`Month`;
-- --------------------------------------------------------
--
-- Structure for view `view_Transactions_MechOper_byWeek`
--
DROP TABLE IF EXISTS `view_Transactions_MechOper_byWeek`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_Transactions_MechOper_byWeek` AS select `v`.`YearWeek` AS `Year`,`v`.`Week` AS `Week`,`v`.`TransactionType` AS `TransactionType`,sum(`v`.`Total`) AS `Total`,count(`v`.`Total`) AS `Count`,`v`.`AccountingGroup` AS `AccountingGroup`,`v`.`ShopType` AS `ShopType` from `view_Transactions` `v` where (`v`.`ShopType` = 'Mechanic Operation Shop') group by `v`.`YearWeek`,`v`.`Week`,`v`.`TransactionType` order by `v`.`YearWeek`,`v`.`Week`,`v`.`TransactionType`;
-- --------------------------------------------------------
--
-- Structure for view `view_Transactions_MechOper_byWeek_pvTbl`
--
DROP TABLE IF EXISTS `view_Transactions_MechOper_byWeek_pvTbl`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_Transactions_MechOper_byWeek_pvTbl` AS select `v`.`Year` AS `Year`,`v`.`Week` AS `Week`,round(max(if((`v2`.`TransactionType` = 'Sale - New Parts'),(`v2`.`Total` / 2),0)),2) AS `NetSalesNewParts`,max(if((`v2`.`TransactionType` = 'Sale - Used Parts'),`v2`.`Total`,0)) AS `SalesUsedParts`,max(if((`v2`.`TransactionType` = 'Sale - Complete Bike'),`v2`.`Total`,0)) AS `SalesBikes`,max(if((`v2`.`TransactionType` = 'Metrics - Completed Mechanic Operation Bike'),`v2`.`Total`,0)) AS `ValueBikesFixed`,max(if((`v2`.`TransactionType` = 'Metrics - Completed Mechanic Operation Wheel'),`v2`.`Total`,0)) AS `ValueWheelsFixed`,max(if((`v2`.`TransactionType` = 'Sale - Complete Bike'),`v2`.`Count`,0)) AS `TotalBikesSold`,max(if((`v2`.`TransactionType` = 'Metrics - Completed Mechanic Operation Bike'),`v2`.`Count`,0)) AS `TotalBikesFixed`,max(if((`v2`.`TransactionType` = 'Metrics - Completed Mechanic Operation Wheel'),`v2`.`Count`,0)) AS `TotalWheelsFixed`,max(if((`v2`.`TransactionType` = 'Metrics - New Parts on a Completed Bike'),`v2`.`Total`,0)) AS `ValueNewPartsOnBikes` from (`view_Transactions_MechOper_byWeek` `v` left join `view_Transactions_MechOper_byWeek` `v2` on(((`v`.`Year` = `v2`.`Year`) and (`v`.`Week` = `v2`.`Week`)))) group by `v`.`Year`,`v`.`Week`;
-- --------------------------------------------------------
--
-- Structure for view `view_Transactions_VolRunShop_byMonth`
--
DROP TABLE IF EXISTS `view_Transactions_VolRunShop_byMonth`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_Transactions_VolRunShop_byMonth` AS select `v`.`Year` AS `Year`,`v`.`Month` AS `Month`,`v`.`TransactionType` AS `TransactionType`,sum(`v`.`Total`) AS `Total`,count(`v`.`Total`) AS `Count`,`v`.`AccountingGroup` AS `AccountingGroup`,`v`.`ShopType` AS `ShopType` from `view_Transactions` `v` where (`v`.`ShopType` = 'Volunteer Run Shop') group by `v`.`Year`,`v`.`Month`,`v`.`TransactionType` order by `v`.`Year`,`v`.`Month`,`v`.`TransactionType`;
-- --------------------------------------------------------
--
-- Structure for view `view_Transactions_VolRunShop_byMonth_pvTbl`
--
DROP TABLE IF EXISTS `view_Transactions_VolRunShop_byMonth_pvTbl`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_Transactions_VolRunShop_byMonth_pvTbl` AS select `v`.`Year` AS `Year`,`v`.`Month` AS `Month`,round(max(if((`v2`.`TransactionType` = 'Sale - New Parts'),(`v2`.`Total` / 2),0)),2) AS `NetSalesNewParts`,max(if((`v2`.`TransactionType` = 'Sale - Used Parts'),`v2`.`Total`,0)) AS `SalesUsedParts`,max(if((`v2`.`TransactionType` = 'Sale - Complete Bike'),`v2`.`Total`,0)) AS `SalesBikes`,max(if((`v2`.`TransactionType` = 'Sale - Complete Bike'),`v2`.`Count`,0)) AS `TotalBikesSold` from (`view_Transactions_VolRunShop_byMonth` `v` left join `view_Transactions_VolRunShop_byMonth` `v2` on(((`v`.`Year` = `v2`.`Year`) and (`v`.`Month` = `v2`.`Month`)))) group by `v`.`Year`,`v`.`Month`;
-- --------------------------------------------------------
--
-- Structure for view `view_Transactions_VolRunShop_byWeek`
--
DROP TABLE IF EXISTS `view_Transactions_VolRunShop_byWeek`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_Transactions_VolRunShop_byWeek` AS select `v`.`YearWeek` AS `Year`,`v`.`Week` AS `Week`,`v`.`TransactionType` AS `TransactionType`,sum(`v`.`Total`) AS `Total`,count(`v`.`Total`) AS `Count`,`v`.`AccountingGroup` AS `AccountingGroup`,`v`.`ShopType` AS `ShopType` from `view_Transactions` `v` where (`v`.`ShopType` = 'Volunteer Run Shop') group by `v`.`YearWeek`,`v`.`Week`,`v`.`TransactionType` order by `v`.`YearWeek`,`v`.`Week`,`v`.`TransactionType`;
-- --------------------------------------------------------
--
-- Structure for view `view_Transactions_VolRunShop_byWeek_pvTbl`
--
DROP TABLE IF EXISTS `view_Transactions_VolRunShop_byWeek_pvTbl`;
CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%.dyn.grandenetworks.net` SQL SECURITY DEFINER VIEW `view_Transactions_VolRunShop_byWeek_pvTbl` AS select `v`.`Year` AS `Year`,`v`.`Week` AS `Week`,round(max(if((`v2`.`TransactionType` = 'Sale - New Parts'),(`v2`.`Total` / 2),0)),2) AS `NetSalesNewParts`,max(if((`v2`.`TransactionType` = 'Sale - Used Parts'),`v2`.`Total`,0)) AS `SalesUsedParts`,max(if((`v2`.`TransactionType` = 'Sale - Complete Bike'),`v2`.`Total`,0)) AS `SalesBikes`,max(if((`v2`.`TransactionType` = 'Sale - Complete Bike'),`v2`.`Count`,0)) AS `TotalBikesSold` from (`view_Transactions_VolRunShop_byWeek` `v` left join `view_Transactions_VolRunShop_byWeek` `v2` on(((`v`.`Year` = `v2`.`Year`) and (`v`.`Week` = `v2`.`Week`)))) group by `v`.`Year`,`v`.`Week`;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `contacts`
--
ALTER TABLE `contacts`
ADD CONSTRAINT `location_type` FOREIGN KEY (`location_type`) REFERENCES `transaction_types` (`transaction_type_id`) ON UPDATE CASCADE;
--
-- Constraints for table `shops`
--
ALTER TABLE `shops`
ADD CONSTRAINT `shop_location` FOREIGN KEY (`shop_location`) REFERENCES `shop_locations` (`shop_location_id`) ON UPDATE CASCADE,
ADD CONSTRAINT `shop_type` FOREIGN KEY (`shop_type`) REFERENCES `shop_types` (`shop_type_id`) ON UPDATE CASCADE;
--
-- Constraints for table `shop_hours`
--
ALTER TABLE `shop_hours`
ADD CONSTRAINT `contact_id` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`contact_id`) ON UPDATE CASCADE,
ADD CONSTRAINT `project_id` FOREIGN KEY (`project_id`) REFERENCES `projects` (`project_id`) ON UPDATE CASCADE,
ADD CONSTRAINT `shop_id` FOREIGN KEY (`shop_id`) REFERENCES `shops` (`shop_id`) ON UPDATE CASCADE,
ADD CONSTRAINT `shop_user_role` FOREIGN KEY (`shop_user_role`) REFERENCES `shop_user_roles` (`shop_user_role_id`) ON UPDATE CASCADE;
--
-- Constraints for table `transaction_log`
--
ALTER TABLE `transaction_log`
ADD CONSTRAINT `sold_by` FOREIGN KEY (`sold_by`) REFERENCES `contacts` (`contact_id`) ON UPDATE CASCADE,
ADD CONSTRAINT `sold_to` FOREIGN KEY (`sold_to`) REFERENCES `contacts` (`contact_id`) ON UPDATE CASCADE,
ADD CONSTRAINT `transaction_type` FOREIGN KEY (`transaction_type`) REFERENCES `transaction_types` (`transaction_type_id`) ON UPDATE CASCADE;

47
Templates/.metadata/.log

File diff suppressed because one or more lines are too long

14
Templates/.metadata/.plugins/com.aptana.core.io/connections.12

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<connections>
<connection id="83422b28-2181-4f36-b3b7-c239d76e66a2" type="sftp">
<name>YBDB_Remote</name>
<host>www.austinyellowbike.org</host>
<path>/home/austinyellowbike/ybdb.austinyellowbike.org/test1</path>
<login>austinyellowbike</login>
<compression>AUTO</compression>
</connection>
<connection id="c7c85d43-0d53-4a53-9445-3353c25f5474" type="workspace">
<name>YBDB</name>
<path>/YBDB</path>
</connection>
</connections>

BIN
Templates/.metadata/.plugins/com.aptana.editor.php/76598679

Binary file not shown.

BIN
Templates/.metadata/.plugins/com.aptana.editor.php/indexMappings

Binary file not shown.

BIN
Templates/.metadata/.plugins/com.aptana.index.core/114577082.index

Binary file not shown.

BIN
Templates/.metadata/.plugins/com.aptana.index.core/1821239576.index

Binary file not shown.

BIN
Templates/.metadata/.plugins/com.aptana.index.core/2645618673.index

Binary file not shown.

BIN
Templates/.metadata/.plugins/com.aptana.index.core/3575558297.index

Binary file not shown.

BIN
Templates/.metadata/.plugins/com.aptana.index.core/4010369919.index

Binary file not shown.

0
Templates/.metadata/.plugins/com.aptana.portablegit.win32/.installed_3.0.0.1337406272

10
Templates/.metadata/.plugins/com.aptana.portablegit.win32/Git Bash.vbs

@ -0,0 +1,10 @@
' If there is an argument, use it as the directory to change to.
If WScript.Arguments.Length=1 Then
Set WshObj = CreateObject("WScript.Shell")
WshObj.CurrentDirectory = WScript.Arguments(0)
End If
' Launch the shortcut in the current directory which has the same
' base name as this script.
Set AppObj = CreateObject("Shell.Application")
AppObj.ShellExecute(Replace(WScript.ScriptFullName, ".vbs", ".lnk"))

89
Templates/.metadata/.plugins/com.aptana.portablegit.win32/README.portable

@ -0,0 +1,89 @@
README.portable (Draft)
=======================
This "portable" version of Git for Windows (MSysGit) does not need to
be installed. It will run from any directory you place it in, even
onto a USB thumbdrive. It will not write permanent entries into the
Windows registry. It does not need administrator privileges to "install".
Installation
------------
This package is contained in a 7-zip archive with a file name like
'PortableGit-<versionstring>.7z'. It is a self-extracting archive:
add the file extension '.exe', and you can (double-)click it; you'll be
asked for the desired target directory (which defaults to C:\Program
Files\Git). You may change that as needed or desired. Your user account
needs write access to the selected directory. (You can move that
directory with all its contents to a different place or computer at any
time should you later desire so).
Functional differences to "normal" MSysGit installation package
---------------------------------------------------------------
This version does not offer you the convenient right-click context menu
entries "Git GUI Here" and "Git Bash Here", because these would require
to add entries into the Windows registry.
Warning
-------
Since this portable package does not modify any Windows %path%
variables, it is not possible to run the git.exe and gitk.exe files
directly. Start the Git Bash or Git Cmd instead, or add the cmd/ folder
to your %path%.
How to start using PortableGit
------------------------------
If you are comfortable with a Unix-like shell, just launch 'git-bash.bat'.
If not, just launch 'git-cmd.bat'.
Alternatively, you can execute these commands to modify the %path%
variable temporarily:
set gitdir=c:\portablegit
set path=%gitdir%\cmd;%path%
Adjust the 'gitdir' according to your setup. As long as you do not
close the command window, you can now simply type "git" or "gitk" to
really call "c:\portablegit\cmd\git.cmd" or "c:\portablegit\cmd\gitk.cmd".
Quick start
-----------
Start configuring git with your personal settings:
git config --global user.name "Joe Sixpack"
git config --global user.email joe.sixpack@g_mail.com
Start using git:
git --help
How to change %path% permanently
--------------------------------
You may also want to make the modification to the %path% variable a
permanent one. The %path% variable may be changed:
* either on a System level (for all users in the lower pane), if you are
an Administrator
* or for your own user account only (in the upper pane).
To change the %path% variable permanently:
* right-click "My Computer",
* select "Properties",
* open "Advanced",
* click "Environment Variables",
* highlight the "Path" variable,
* click "Edit" (either in upper or in lower pane),
* add your specific path to front of "Variable value" field, separated
by a semicolon from the existing entry.

323
Templates/.metadata/.plugins/com.aptana.portablegit.win32/ReleaseNotes.rtf

@ -0,0 +1,323 @@
{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}{\f1\fnil\fcharset0 Arial;}{\f2\fnil\fcharset2 Symbol;}}
{\colortbl ;\red0\green0\blue0;\red0\green0\blue255;}
{\*\generator Msftedit 5.41.21.2509;}\viewkind4\uc1\pard\cf1\lang1033\b\f0\fs32 Git Release Notes (Git-1.7.3.1-preview20101002)\b0\fs20\par
Last update: 2 October 2010\par
\par
\b\fs24 Introduction\b0\fs20\par
\par
These release notes describe issues specific to the Git for Windows release.\par
\par
General release notes covering the history of the core git commands are included in the subdirectory doc/git/html of the installation directory. Look for files starting with RelNotes.\par
\par
\b\fs24 Known issues\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432\b0\fs20 Some commands are not yet supported on Windows and excluded from the installation; namely: git archimport, git cvsexportcommit, git cvsimport, git cvsserver, git instaweb, git shell.\par
{\pntext\f2\'B7\tab}The Logitec QuickCam software can cause spurious crashes. See "Why does make often crash creating a sh.exe.stackdump file when I try to compile my source code?" on the MinGW Wiki (\cf0{\field{\*\fldinst{HYPERLINK "http://www.mingw.org/wiki/Environment_issues"}}{\fldrslt{\ul\cf2 http://www.mingw.org/wiki/Environment_issues}}}\cf1\f0\fs20 )\par
{\pntext\f2\'B7\tab}The Quick Launch icon will only be installed for the user running setup (typically the Administrator). This is a technical restriction and will not change.\par
{\pntext\f2\'B7\tab}curl uses $HOME/_netrc instead of $HOME/.netrc.\par
{\pntext\f2\'B7\tab}If you want to specify a different location for --upload-pack, you have to start the absolute path with two slashes. Otherwise MSys will mangle the path.\par
{\pntext\f2\'B7\tab}git and bash have serious problems with non-ASCII file names (Issue 80, 159).\par
{\pntext\f2\'B7\tab}If configured to use plink, you will have to connect with putty first and accept the host key.\par
{\pntext\f2\'B7\tab}As merge tools are executed using the MSys bash, options starting with "/" need to be handled specially: MSys would interpret that as a POSIX path, so you need to double the slash (Issue 226). Example: instead of "/base", say "//base". Also, extra care has to be paid to pass Windows programs Windows paths, as they have no clue about MSys style POSIX paths -- You can use something like $(cmd //c echo "$POSIXPATH").\par
\pard\b\fs24\par
Changes since Git-1.7.2.3-preview20100911\par
\par
\i\fs20 New Features\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432\b0\i0 Comes with Git 1.7.3.1 plus patches.\par
{\pntext\f2\'B7\tab}Updated to Vim 7.3, file-5.04 and InnoSetup 5.3.11\par
\pard\li144\par
\pard\b\i Bugfixes\b0\i0\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432 Issue 528 (remove uninstaller from Start Menu) was fixed\par
{\pntext\f2\'B7\tab}Issue 527 (failing to find the certificate authority bundle) was fixed\par
{\pntext\f2\'B7\tab}Issue 524 (remove broken and unused sdl-config file) was fixed\par
{\pntext\f2\'B7\tab}Issue 523 (crash pushing to WebDAV remote) was fixed\par
\pard\b\fs24\par
Changes since Git-1.7.1-preview20100612\par
\par
\i\fs20 New Features\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432\b0\i0 Comes with Git 1.7.2.3 plus patches.\par
\pard\li144\par
\pard\b\i Bugfixes\b0\i0\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432 Issue 519 (build problem with compat/regex/regexec.c) was fixed\par
{\pntext\f2\'B7\tab}Issue 430 (size of panes not preserved in git-gui) was fixed\par
{\pntext\f2\'B7\tab}Issue 411 (git init failing to work with CIFS paths) was fixed\par
{\pntext\f2\'B7\tab}Issue 501 (failing to clone repo from root dir using relative path) was fixed\par
\pard\b\fs24\par
Changes since Git-1.7.0.2-preview20100309\par
\par
\i\fs20 New Features\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432\b0\i0 Comes with Git 1.7.1 plus patches.\par
\pard\li144\par
\pard\b\i Bugfixes\b0\i0\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432 Issue 27 (git-send-mail not working properly) was fixed again\par
{\pntext\f2\'B7\tab}Issue 433 (error while running git svn fetch) was fixed\par
{\pntext\f2\'B7\tab}Issue 427 (Gitk reports error: "couldn't compile regular expression pattern: invalid repetition count(s)") was fixed\par
{\pntext\f2\'B7\tab}Issue 192 (output truncated) was fixed again\par
{\pntext\f2\'B7\tab}Issue 365 (Out of memory? mmap failed) was fixed\par
{\pntext\f2\'B7\tab}Issue 387 (gitk reports "error: couldn't execute "git:" file name too long") was fixed\par
{\pntext\f2\'B7\tab}Issue 409 (checkout of large files to network drive fails on XP) was fixed\par
{\pntext\f2\'B7\tab}Issue 428 (The return value of git.cmd is not the same as git.exe) was fixed\par
{\pntext\f2\'B7\tab}Issue 444 (Git Bash Here returns a "File not found error" in Windows 7 Professional - 64 bits) was fixed\par
{\pntext\f2\'B7\tab}Issue 445 (git help does nothing) was fixed\par
{\pntext\f2\'B7\tab}Issue 450 ("git --bare init" shouldn't set the directory to hidden.) was fixed\par
{\pntext\f2\'B7\tab}Issue 456 (git script fails with error code 1) was fixed\par
{\pntext\f2\'B7\tab}Issue 469 (error launch wordpad in last netinstall) was fixed\par
{\pntext\f2\'B7\tab}Issue 474 (git update-index --index-info silently does nothing) was fixed\par
{\pntext\f2\'B7\tab}Issue 482 (Add documentation to avoid "fatal: $HOME not set" error) was fixed\par
{\pntext\f2\'B7\tab}Issue 489 (git.cmd issues warning if %COMSPEC% has spaces in it) was fixed\par
{\pntext\f2\'B7\tab}Issue 436 ("mkdir : No such file or directory" error while using git-svn to fetch or rebase) was fixed\par
{\pntext\f2\'B7\tab}Issue 440 (Uninstall does not remove cheetah.) was fixed\par
{\pntext\f2\'B7\tab}Issue 441 (Git-1.7.0.2-preview20100309.exe installer fails with unwritable msys-1.0.dll when ssh-agent is running) was fixed\par
\pard\b\fs24\par
Changes since Git-1.6.5.1-preview20091022\par
\par
\i\fs20 New Features\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432\b0\i0 Comes with official Git 1.7.0.2.\par
{\pntext\f2\'B7\tab}Comes with Git-Cheetah (on 32-bit Windows only, for now).\par
{\pntext\f2\'B7\tab}Comes with connect.exe, a SOCKS proxy.\par
{\pntext\f2\'B7\tab}Tons of improvements in the installer, thanks to Sebastian Schuberth.\par
{\pntext\f2\'B7\tab}On Vista, if possible, symlinks are used for the built-ins.\par
{\pntext\f2\'B7\tab}Features Hany's dos2unix tool, thanks to Sebastian Schuberth.\par
{\pntext\f2\'B7\tab}Updated Tcl/Tk to version 8.5.8 (thanks Pat Thoyts!).\par
{\pntext\f2\'B7\tab}By default, only .git/ is hidden, to work around a bug in Eclipse (thanks to Erik Faye-Lund).\par
\pard\li144\par
\pard\b\i Bugfixes\b0\i0\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432 Fixed threaded grep (thanks to Heiko Voigt).\par
{\pntext\f2\'B7\tab}git gui was fixed for all kinds of worktree-related failures (thanks Pat Thoyts).\par
{\pntext\f2\'B7\tab}git gui now fully supports themed widgets (thanks Pat Thoyts and Heiko Voigt).\par
{\pntext\f2\'B7\tab}Git no longer complains about an unset RUNTIME_PREFIX (thanks Johannes Sixt).\par
{\pntext\f2\'B7\tab}git gui can Explore Working Copy on Windows again (thanks Markus Heidelberg).\par
{\pntext\f2\'B7\tab}git gui can create shortcuts again (fixes issue 425, thanks Heiko Voigt).\par
{\pntext\f2\'B7\tab}When "git checkout" cannot overwrite files because they are in use, it will offer to try again, giving the user a chance to release the file (thanks Heiko Voigt).\par
{\pntext\f2\'B7\tab}Ctrl+W will close gitk (thanks Jens Lehmann).\par
{\pntext\f2\'B7\tab}git gui no longer binds Ctrl+C, which caused problems when trying to use said shortcut for the clipboard operation "Copy" (fixes issue 423, thanks Pat Thoyts).\par
{\pntext\f2\'B7\tab}gitk does not give up when the command line length limit is reached (issue 387).\par
{\pntext\f2\'B7\tab}The exit code is fixed when Git.cmd is called from cmd.exe (thanks Alexey Borzenkov).\par
{\pntext\f2\'B7\tab}When launched via the (non-Cheetah) shell extension, the window icon is now correct (thanks Sebastian Schuberth).\par
{\pntext\f2\'B7\tab}Uses a TrueType font for the console, to be able to render UTF-8 correctly.\par
{\pntext\f2\'B7\tab}Clarified the installer's line ending options (issue 370).\par
{\pntext\f2\'B7\tab}Substantially speeded up startup time from cmd unless NO_FSTAB_THREAD is set (thanks Johannes Sixt).\par
{\pntext\f2\'B7\tab}Update msys-1.0.dll yet again, to handle quoted parameters better (thanks Heiko Voigt).\par
{\pntext\f2\'B7\tab}Updated cURL to a version that supports SSPI.\par
{\pntext\f2\'B7\tab}Updated tar to handle the pax headers generated by \i git archive\i0 .\par
{\pntext\f2\'B7\tab}Updated sed to a version that can handle the filter-branch examples.\par
{\pntext\f2\'B7\tab}.git* files can be associated with the default text editor (issue 397).\par
\pard\b\fs24\par
Changes since Git-1.6.4-preview20090729\par
\par
\i\fs20 New Features\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432\b0\i0 Comes with official git 1.6.5.1.\par
{\pntext\f2\'B7\tab}Thanks to Johan 't Hart, files and directories starting with a single dot (such as '.git') will now be marked hidden (you can disable this setting with core.hideDotFiles=false in your config) (Issue 288).\par
{\pntext\f2\'B7\tab}Thanks to Thorvald Natvig, Git on Windows can simulate symbolic links by using reparse points when available. For technical reasons, this only works for symbolic links pointing to files, not directories.\par
{\pntext\f2\'B7\tab}A lot of work has been put into making it possible to compile Git's source code (the part written in C, of course, not the scripts) with Microsoft Visual Studio. This work is ongoing.\par
{\pntext\f2\'B7\tab}Thanks to Sebastian Schuberth, we only offer the (Tortoise)Plink option in the installer if the presence of Plink was detected \ul and\ulnone at least one Putty session was found..\par
{\pntext\f2\'B7\tab}Thanks to Sebastian Schuberth, the installer has a nicer icon now.\par
{\pntext\f2\'B7\tab}Some more work by Sebastian Schuberth was done on better integration of Plink (Issues 305 & 319).\par
\pard\li144\par
\pard\b\i Bugfixes\b0\i0\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432 Thanks to Sebastian Schuberth, \i git svn\i0 picks up the SSH setting specified with the installer (Issue 305).\par
\pard\b\fs24\par
Changes since Git-1.6.3.2-preview20090608\par
\par
\i\fs20 New Features\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432\b0\i0 Comes with official git 1.6.4.\par
{\pntext\f2\'B7\tab}Supports \cf0{\field{\*\fldinst{HYPERLINK "https://"}}{\fldrslt{\ul\cf2 https://}}}\cf1\f0\fs20 URLs, thanks to Erik Faye-Lund.\par
{\pntext\f2\'B7\tab}Supports send-email, thanks to Erik Faye-Lund (Issue 27).\par
{\pntext\f2\'B7\tab}Updated Tcl/Tk to version 8.5.7, thanks to Pat Thoyts.\par
\pard\li144\par
\pard\b\i Bugfixes\b0\i0\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432 The home directory is now discovered properly (Issues 108 & 259).\par
{\pntext\f2\'B7\tab}IPv6 is supported now, thanks to Martin Martin Storsj\cf0\f1\'f6 (Issue 182).\cf1\f0\par
\pard\b\fs24\par
Changes since Git-1.6.3-preview20090507\par
\par
\i\fs20 New Features\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432\b0\i0 Comes with official git 1.6.3.2.\par
{\pntext\f2\'B7\tab}Uses TortoisePlink instead of Plink if available.\par
\pard\li144\par
\pard\b\i Bugfixes\b0\i0\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432 Plink errors out rather than hanging when the user needs to accept a host key first (Issue 96).\par
{\pntext\f2\'B7\tab}The user home directory is inferred from $HOMEDRIVE\\$HOMEPATH instead of $HOME (Issue 108).\par
{\pntext\f2\'B7\tab}The environment setting $CYGWIN=tty is ignored (Issues 138, 248 and 251).\par
{\pntext\f2\'B7\tab}The "ls" command shows non-ASCII filenames correctly now (Issue 188).\par
{\pntext\f2\'B7\tab}Adds more syntax files for vi (Issue 250).\par
{\pntext\f2\'B7\tab}$HOME/.bashrc is included last from /etc/profile, allowing .bashrc to override all settings in /etc/profile (Issue 255).\par
{\pntext\f2\'B7\tab}Completion is case-insensitive again (Issue 256).\par
{\pntext\f2\'B7\tab}The "start" command can handle arguments with spaces now (Issue 258).\par
{\pntext\f2\'B7\tab}For some Git commands (such as "git commit"), vi no longer "restores" the cursor position.\par
\pard\b\fs24\par
Changes since Git-1.6.2.2-preview20090408\par
\par
\i\fs20 New Features\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432\b0\i0 Comes with official git 1.6.3.\par
{\pntext\f2\'B7\tab}Thanks to Marius Storm-Olsen, Git has a substantially faster readdir() implementation now.\par
{\pntext\f2\'B7\tab}Marius Storm-Olsen also contributed a patch to include nedmalloc, again speeding up Git noticably.\par
{\pntext\f2\'B7\tab}Compiled with GCC 4.4.0\par
\pard\li144\par
\pard\b\i Bugfixes\b0\i0\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432 Portable Git contains a README.portable.\par
{\pntext\f2\'B7\tab}Portable Git now actually includes the builtins.\par
{\pntext\f2\'B7\tab}Portable Git includes git-cmd.bat and git-bash.bat.\par
{\pntext\f2\'B7\tab}Portable Git is now shipped as a .7z; it still is a self-extracting archive if you rename it to .exe.\par
{\pntext\f2\'B7\tab}Git includes the Perl Encode module now.\par
{\pntext\f2\'B7\tab}Git now includes the filter-branch tool.\par
{\pntext\f2\'B7\tab}There is a workaround for a Windows 7 regression triggering a crash in the progress reporting (e.g. during a clone). This fixes issues 236 and 247.\par
{\pntext\f2\'B7\tab}gitk tries not to crash when it is closed while reading references (Issue 125, thanks Pat Thoyts).\par
{\pntext\f2\'B7\tab}In some setups, hard-linking is not as reliable as it should be, so we have a workaround which avoids hard links in some situations (Issues 222 and 229).\par
{\pntext\f2\'B7\tab}git-svn sets core.autocrlf to false now, hopefully shutting up most of the git-svn reports.\par
\pard\b\fs24\par
Changes since Git-1.6.2.1-preview20090322\par
\par
\i\fs20 New Features\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432\b0\i0 Comes with official git 1.6.2.2.\par
{\pntext\f2\'B7\tab}Upgraded Tcl/Tk to 8.5.5.\par
{\pntext\f2\'B7\tab}TortoiseMerge is supported by mergetool now.\par
{\pntext\f2\'B7\tab}Uses pthreads (faster garbage collection on multi-core machines).\par
{\pntext\f2\'B7\tab}The test suite passes!\par
\pard\li144\par
\pard\b\i Bugfixes\b0\i0\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432 Renaming was made more robust (due to Explorer or some virus scanners, files could not be renamed at the first try, so we have to try multiple times).\par
{\pntext\f2\'B7\tab}Johannes Sixt made \ul lots\ulnone of changes to the test-suite to identify properly which tests should pass, and which ones cannot pass due to limitations of the platform.\par
{\pntext\f2\'B7\tab}Support PAGERs with spaces in their filename.\par
{\pntext\f2\'B7\tab}Quite a few changes were undone which we needed in the olden days of msysGit.\par
{\pntext\f2\'B7\tab}Fall back to / when HOME cannot be set to the real home directory due to locale issues (works around Issue 108 for the moment).\par
\pard\b\fs24\par
Changes since Git-1.6.2-preview20090308\par
\par
\i\fs20 New Features\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432\b0\i0 Comes with official git 1.6.2.1.\par
{\pntext\f2\'B7\tab}A portable application is shipped in addition to the installer (Issue 195).\par
{\pntext\f2\'B7\tab}Comes with a Windows-specific mmap() implementation (Issue 198).\par
\pard\li144\par
\pard\b\i Bugfixes\b0\i0\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432 ANSI control characters are no longer shown verbatim (Issue 124).\par
{\pntext\f2\'B7\tab}Temporary files are created respecting core.autocrlf (Issue 177).\par
{\pntext\f2\'B7\tab}The Git Bash prompt is colorful again (Issue 199).\par
{\pntext\f2\'B7\tab}Fixed crash when hardlinking during a clone failed (Issue 204).\par
{\pntext\f2\'B7\tab}An infinite loop was fixed in git-gui (Issue 205).\par
{\pntext\f2\'B7\tab}The ssh protocol is always used with plink.exe (Issue 209).\par
{\pntext\f2\'B7\tab}More vim files are shipped now, so that syntax highlighting works.\par
\pard\b\fs24\par
Changes since Git-1.6.1-preview20081225\par
\par
\i\fs20 New Features\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432\b0\i0 Comes with official git 1.6.2.\par
{\pntext\f2\'B7\tab}Comes with upgraded vim 7.2.\par
{\pntext\f2\'B7\tab}Compiled with GCC 4.3.3.\par
{\pntext\f2\'B7\tab}The user can choose the preferred CR/LF behavior in the installer now.\par
{\pntext\f2\'B7\tab}Peter Kodl contributed support for hardlinks on Windows.\par
{\pntext\f2\'B7\tab}The bash prompt shows information about the current repository.\par
\pard\li144\par
\pard\b\i Bugfixes\b0\i0\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432 If supported by the file system, pack files can grow larger than 2gb.\par
{\pntext\f2\'B7\tab}Comes with updated msys-1.0.dll (should fix some Vista issues).\par
{\pntext\f2\'B7\tab}Assorted fixes to support the new libexec/git-core/ layout better.\par
{\pntext\f2\'B7\tab}Read-only files can be properly replaced now.\par
{\pntext\f2\'B7\tab}git-svn is included again (original caveats still apply).\par
{\pntext\f2\'B7\tab}Obsolete programs from previous installations are cleaned up.\par
\pard\li144\par
\pard\b\fs24 Changes since Git-1.6.0.2-preview20080923\par
\i\fs20\par
New Features\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432\b0\i0 Comes with official git 1.6.1.\par
{\pntext\f2\'B7\tab}Avoid useless console windows.\par
{\pntext\f2\'B7\tab}Installer remembers how to handle PATH. \par
\pard\b\fs24\par
Changes since Git-1.6.0.2-preview20080921\par
\i\fs20\par
Bugfixes\b0\i0\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432 ssh works again.\par
{\pntext\f2\'B7\tab}'git add -p' works again.\par
{\pntext\f2\'B7\tab}Various programs that aborted with 'Assertion failed: argv0_path' are fixed.\par
\pard\b\fs24\par
Changes since Git-1.5.6.1-preview20080701\par
\i\fs20\par
Removed Features\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432\b0\i0 git svn is excluded from the end-user installer (see Known Issues).\par
\pard\b\fs24\par
\i\fs20 New Features\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432\b0\i0 Comes with official git 1.6.0.2.\par
\pard\li144\par
\pard\b\i Bugfixes\b0\i0\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432 No Windows-specific bugfixes.\par
\pard\b\fs24\par
Changes since Git-1.5.6-preview20080622\par
\par
\i\fs20 New Features\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432\b0\i0 Comes with official git 1.5.6.1.\par
\pard\li144\par
\pard\b\i Bugfixes\b0\i0\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432 Includes fixed msys-1.0.dll that supports Vista and Windows Server 2008 (Issue 122).\par
{\pntext\f2\'B7\tab}cmd wrappers do no longer switch off echo.\par
\pard\b\fs24\par
Changes since Git-1.5.5-preview20080413\par
\par
\i\fs20 New Features\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432\b0\i0 Comes with official git 1.5.6.\par
{\pntext\f2\'B7\tab}Installer supports configuring a user provided plink (PuTTY).\par
\pard\li144\par
\pard\b\i Bugfixes\b0\i0\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432 Comes with tweaked msys-1.0.dll to solve some command line mangling issues.\par
{\pntext\f2\'B7\tab}cmd wrapper does no longer close the command window.\par
{\pntext\f2\'B7\tab}Programs in the system PATH, for example editors, can be launched from Git without specifying their full path.\par
{\pntext\f2\'B7\tab}"git stash apply stash@\{1\}" works.\par
{\pntext\f2\'B7\tab}Comes with basic ANSI control code emulation for the Windows console to avoid wrapping of pull/merge's diffstats.\par
{\pntext\f2\'B7\tab}Git correctly passes port numbers to PuTTY's plink \par
\pard\b\fs24\par
Changes since Git-1.5.4-preview20080202\par
\par
\i\fs20 New Features\par
\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-288\li432\b0\i0 Comes with official git 1.5.5.\par
{\pntext\f2\'B7\tab}core.autocrlf is enabled (true) by default. This means git converts to Windows line endings (CRLF) during checkout and converts to Unix line endings (LF) during commit. This is the right choice for cross-platform projects. If the conversion is not reversible, git warns the user. The installer warns about the new default before the installation starts.\par