Commit Graph

52 Commits

Author SHA1 Message Date
phamt
0fcc21ad06 Fix submit_request() to make async calls. The problem was that the default timeout for running php scripts is 30 seconds, which is too short for some calls. Also, the stream had to be set as non-blocking.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-09 21:12:47 +00:00
phamt
ccae4d72a6 socket.php is causing the UI to crash because SUSE does not have /user/share/pear/ and does not have a RPM for it. Removing socket.php and switch submit_request() to using the old way.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 19:49:59 +00:00
phamt
ea8483cbe0 Removed getStatus() call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6990 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-05 19:17:07 +00:00
phamt
3927eb8bf1 Setting xCAT resquest stream to be blocking because if a short request is made along with a long running request, the output of the long running request never returns.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6989 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-05 18:49:04 +00:00
phamt
ae9af2fb76 Added socket.php class to create socket connections. This might be a way to make async xCAT requests. Still testing to see if this is true.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-05 15:39:19 +00:00
phamt
0447f6af98 Indent if else statement.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6953 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-03 12:45:51 +00:00
xq2005
99aac6db31 replace the \n in data by :|:
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6950 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-03 09:06:09 +00:00
phamt
afde8f4435 Replaced newline "\n" with ":|:" in submit_request() in functions.php. Changed code to have newline.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6914 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-29 20:22:09 +00:00
phamt
15ea47df00 Updated cmd.php to handle xCAT response for different platforms.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6833 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-22 21:26:17 +00:00
phamt
cc74599359 Created blade, fsp, hmc, ipmi, ivm, and zvm classes.
Changed cmd.php to handle xCAT response that is embedded in multiple layers.
Worked on hmc inventory.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6832 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-22 19:56:09 +00:00
xq2005
e791bc7842 modified by xu qing
put it under the configure page as an additional tab

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6809 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-21 03:35:31 +00:00
xq2005
314e9573d2 add by xu qing
for moving the update function to new web gui

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6801 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-20 07:58:07 +00:00
xq2005
1232566040 add by xu qing
for moving the update function to new web gui

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6800 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-20 05:28:07 +00:00
phamt
5f7bca49f8 Cleaned up code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6797 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-19 18:28:31 +00:00
phamt
87cdcc6df6 Refactored code so that Javascripts are loaded on demand
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6766 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 20:11:07 +00:00
phamt
cebb002cde Changed code structure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6763 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 18:06:01 +00:00
phamt
1ae4225dbe Checked in new UI code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6485 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-16 18:21:58 +00:00
phamt
9553ccc6b6 Put old UI code into xCAT-UI/ui.old
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6484 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-16 18:20:19 +00:00
bryanmr
0cb7925062 Checking in a change so that we are no longer sending passwords with get in case of a failure (Chrome has my password saved in the history, for instance.)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5760 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-13 19:16:15 +00:00
mxi1
73197852b9 the page for xCAT-UI rpm update is added.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4951 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-14 06:59:05 +00:00
mxi1
ae82f4c4f3 -The cluster summary page is created.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4944 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-13 05:14:00 +00:00
mxi1
46fa1b8bc8 -Add one link to LoadLeveler Configuration Editor to the top menu of xCAT's main page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-17 08:43:23 +00:00
mxi1
6dc453bb71 -bug fixing forthe page of RMC "lsevent" on Linux/AIX.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4758 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-11 02:58:43 +00:00
mxi1
183b8b614c the js code for display dataTable is uncommented.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4752 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-10 05:50:31 +00:00
mxi1
e46a62708d the web page for "RMC event ", and the web page for /home/control" are modified.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4735 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-07 09:42:14 +00:00
mxi1
5f56cd6d3c using the dataTables plugin to represent the tables in xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4672 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-26 07:31:17 +00:00
mxi1
d489563c4f all the plugins can edit the monsetting table now.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4662 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-24 02:01:03 +00:00
mxi1
0e722a0e28 new monitor style is introduced
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4605 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 09:34:27 +00:00
mxi1
269aa19f8d the jquery-ui css framework 1.7.2 (stable), and jquery 1.3.2(stable) are checked in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4497 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-06 09:52:19 +00:00
mxi1
34d9da228b jQuery v1.2.6 and loading bar are still here; the web interface can work well on Google chrome and Apple Safari finally
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4488 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-05 15:17:21 +00:00
mxi1
823bb33b20 updates fot the main page of "monitor interface"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4482 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-05 06:50:40 +00:00
mxi1
fe228e40d1 small update for monitoring interface.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4367 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 11:43:39 +00:00
mxi1
33c7e5b498 revert one small change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4226 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 08:53:41 +00:00
mxi1
b845dde698 now, the graph view for RMC monitoring interface can be dynamic updated.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4225 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 08:50:49 +00:00
mxi1
f4057ce24d some code change for "monitoring interface";
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-17 14:54:43 +00:00
mxi1
e8cbd28916 the code for "view by graph" is added
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-10 06:57:06 +00:00
jbjohnso
fd722acd62 -Change xCAT WebUI to not recommend world writable log file as a way to let the WebUI read it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4102 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-04 13:43:40 +00:00
mxi1
0dc231935e animation effects are added for <div class=tips>
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4089 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-03 07:23:32 +00:00
mxi1
a6d273efcc the code for "lsevent" and "monshow" are committed;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4088 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-03 04:44:56 +00:00
bp-sawyers
cd8d231ef3 Cleaned up some of the navigation and the mapper (bread crumbs)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4075 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-01 20:25:18 +00:00
mxi1
75117330a2 fixed some little defects
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4011 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-19 09:12:58 +00:00
mxi1
b628c94b8a following comments, some updates are checked in for these files.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4007 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-18 03:11:36 +00:00
mxi1
ace55166f4 The code for "define events/performance" and "monitor setup" is here.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3990 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-13 06:45:39 +00:00
jbjohnso
fef7413f3c -Improve performance of web ui when dealing with large xcat responses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3975 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-09 16:38:57 +00:00
mxi1
e7992be5c2 the webpages for "define rmc events" and "monstart" are added; and update the css and js code to main.css and xcat.js
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3947 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-05 16:23:52 +00:00
mxi1
81e6176b6f if the name of node is too longer, <div id="nrtree"> will invade the division on the right. So I
changed the css for "nrtree" on the "control" page;

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3935 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-04 09:42:55 +00:00
mxi1
ce25dc0f7e update the web page for "node/application status monitoring".
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3894 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-29 11:30:44 +00:00
mxi1
149a9e7a2c Follow Vallard's advice, I moved all the <html> codes to the new file" lib/monitor_display.php"; now, the file "monitor.php" only contains <?php ?> and jQuery code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-29 06:07:58 +00:00
vallard
4eaedea175 placed tiered header and added vm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-24 20:35:08 +00:00
mxi1
92ab4a0b8b "Edit Tables" is included into the "<ul><li></li></ul>" element.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3820 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-17 04:38:05 +00:00